Revision tags: release/13.4.0 |
|
#
599273f9 |
| 03-Jun-2024 |
Ahmad Khalifa <ahmadkhalifa570@gmail.com> |
Copy the new ia32 loader
This handles copying in install-boot.sh and bsdinstall's bootconfig.
install-boot.sh: make_esp_file now optionally takes extra arguments so it can copy multiple files. This
Copy the new ia32 loader
This handles copying in install-boot.sh and bsdinstall's bootconfig.
install-boot.sh: make_esp_file now optionally takes extra arguments so it can copy multiple files. This is used by the amd64 release scripts. make_esp_device also takes an extra optional argument for efibootname. This is currently unused, but it can be used in the future to do something like: make_esp_device loader.efi bootx64 make_esp_device loader_ia32.efi bootia32
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1098
show more ...
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
cefe5879 |
| 16-Jul-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
release: Support GNU stat in mkisoimages.sh
BSD stat and GNU stat differ significantly when it comes to using a custom format string, both in the option name and in the format string itself. Handle
release: Support GNU stat in mkisoimages.sh
BSD stat and GNU stat differ significantly when it comes to using a custom format string, both in the option name and in the format string itself. Handle both here (assuming Linux means GNU stat rather than BSD stat).
Reviewed by: brooks, gjb Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D35814
show more ...
|
Revision tags: release/13.1.0 |
|
#
1a9b1c36 |
| 28-Feb-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
release: Add support for building on non-FreeBSD
This requires two sets of changes. Firstly, for non-FreeBSD, we do not know where tools are in PATH (and it is likely that some are not in system dir
release: Add support for building on non-FreeBSD
This requires two sets of changes. Firstly, for non-FreeBSD, we do not know where tools are in PATH (and it is likely that some are not in system directories and have been built as bootstrap tools during the build), so we should leave PATH alone and trust the user. Secondly, makefs needs a master.passwd for building images from a METALOG file, so pass the directory in the image tree to makefs's -N option in order to pick up a valid FreeBSD master.passwd; this is unnecessary on FreeBSD (except in the edge case of building an image that refers to users or groups not present in the host's database, which is unlikely but technically possible) but harmless so can be done unconditionally.
Reviewed by: brooks, emaste, gjb Differential Revision: https://reviews.freebsd.org/D34001
show more ...
|
#
13cb0041 |
| 28-Feb-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
release: Support -DNO_ROOT image building
This requires a bunch of METALOG mangling to include the files we inject into the tree. The mkisoimages.sh and make-memstick.sh scripts are now called with
release: Support -DNO_ROOT image building
This requires a bunch of METALOG mangling to include the files we inject into the tree. The mkisoimages.sh and make-memstick.sh scripts are now called with the current directory inside the tree so that the relative paths in the METALOG match up with the current directory. The scripts do not require this when not using a METALOG, but for simplicity we always do so. The Makefile mangles the real METALOG created from the install, as those files are shared across all uses of the tree, but the shell scripts create a temporary copy of the METALOG that they mangle as their tree modifications are specific to that image. We also need to pass -D to makefs to turn any duplicate METALOG entry errors into warnings, as we have many (harmless) instances of those.
Whilst dvd1.iso should work, the !NOPKG code will need more work to support this.
All media will also lack mergemaster and etcupdate trees, since more work is needed to add -DNO_ROOT modes to them. Users of install media built this way will have to manually bootstrap them.
Reviewed by: brooks, gjb Differential Revision: https://reviews.freebsd.org/D33999
show more ...
|
#
045c8f52 |
| 28-Feb-2022 |
Jessica Clarke <jrtc27@FreeBSD.org> |
mkisoimages.sh: Avoid creating temporary files in the current directory
Currently the current directory is the parent of the rootfs directory, but this will change in order to support NO_ROOT builds
mkisoimages.sh: Avoid creating temporary files in the current directory
Currently the current directory is the parent of the rootfs directory, but this will change in order to support NO_ROOT builds that use a metalog manifest, since those need to have the current directory be the rootfs itself in order for the relative paths to be correct, and we do not want the non-METALOG case (which passes the directory to makefs) to pick up leftover temporary .img files from a previous failed build.
Reviewed by: brooks, emaste, gjb Differential Revision: https://reviews.freebsd.org/D33998
show more ...
|
Revision tags: release/12.3.0, release/13.0.0 |
|
#
90d2f7c4 |
| 27-Mar-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
release: amd64: Fix ISO/USB hybrid image
Recent mkimg changes forces to have partitions given in explicit order. This is so we can have the first partition starting at a specific offset and the next
release: amd64: Fix ISO/USB hybrid image
Recent mkimg changes forces to have partitions given in explicit order. This is so we can have the first partition starting at a specific offset and the next ones starting after without having to specify an offset. Switch the partition in the mkisoimage.sh script so the first one created is the isoboot one.
PR: 254490 Reported by: Michael Dexter <editor@callfortesting.org Tested by: Vincent Milum Jr <freebsd@darkain.com> MFC after: Right now
show more ...
|
Revision tags: release/12.2.0 |
|
#
bdccfea1 |
| 16-Oct-2020 |
Glen Barber <gjb@FreeBSD.org> |
Bump the ISO EFI partition size from 1024 to 2048, following r366732.
Suggested by: imp Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
a0da9a62 |
| 15-Oct-2020 |
Glen Barber <gjb@FreeBSD.org> |
Increase the amd64 ISO ESP file size from 800KB to 1024KB.
At some poing over the last week, the bootx64.efi file has grown past the 800KB threshold, resulting in being unable to copy it to the EFI/
Increase the amd64 ISO ESP file size from 800KB to 1024KB.
At some poing over the last week, the bootx64.efi file has grown past the 800KB threshold, resulting in being unable to copy it to the EFI/BOOT directory.
# stat -f %z efiboot.znWo7m 819200 # stat -f %z stand-test.PIEugN/EFI/BOOT/bootx64.efi 842752
The comment in the script that creates the ISOs suggests that 800KB is the maximum allowed for the boot code, however I was able to boot an ISO with a 1024KB boot partition. Additionally, I verified against an ISO from OtherOS, where the boot EFI partition is 2.4MB.
Sponsored by: Rubicon Communications, LLC (netgate.com)
show more ...
|
Revision tags: release/11.4.0, release/12.1.0 |
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
14113f12 |
| 03-Sep-2019 |
Matt Macy <mmacy@FreeBSD.org> |
Use makefs -t msdos in make_esp_file
With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible before because msdosfs cannot be moun
Use makefs -t msdos in make_esp_file
With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible before because msdosfs cannot be mounted inside a jail.
Submitted by: ryan@ixsystems.com Reviewed by: emaste@, imp@, gjb@ MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D21385
show more ...
|
Revision tags: release/11.3.0 |
|
#
db8b5613 |
| 20-Dec-2018 |
Rebecca Cran <bcran@FreeBSD.org> |
Rework UEFI ESP generation
Currently, the installer uses pre-created 800KB FAT12 filesystems that it dd's onto the ESP partition. This changeset improves that by having the installer generate a FAT3
Rework UEFI ESP generation
Currently, the installer uses pre-created 800KB FAT12 filesystems that it dd's onto the ESP partition. This changeset improves that by having the installer generate a FAT32 filesystem directly onto the ESP using newfs_msdos and then copying loader.efi into /EFI/freebsd. For live installs it then runs efibootmgr to add a FreeBSD boot entry in the BIOS.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D17947
show more ...
|
#
67350cb5 |
| 09-Dec-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r340918 through r341763.
|
Revision tags: release/12.0.0 |
|
#
709bc7e0 |
| 03-Dec-2018 |
Yuri Pankov <yuripv@FreeBSD.org> |
mkisoimages.sh: don't use -p flag when copying loader.efi to msdosfs.
This fixes 'cdrom' target in the case when world was built by user, and not root.
Reviewed by: imp Differential revision: https
mkisoimages.sh: don't use -p flag when copying loader.efi to msdosfs.
This fixes 'cdrom' target in the case when world was built by user, and not root.
Reviewed by: imp Differential revision: https://reviews.freebsd.org/D18414
show more ...
|
#
c6879c6c |
| 23-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339015 through r339669.
|
#
a7d9306a |
| 22-Oct-2018 |
Ed Maste <emaste@FreeBSD.org> |
release: set -e to exit on error in iso image scripts
Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D17651
|
Revision tags: release/11.2.0 |
|
#
470f228f |
| 07-Jun-2018 |
Marius Strobl <marius@FreeBSD.org> |
- Once we have shifted arguments up to thrice, base-bits-dir is $1 rather than $4. Introduce $BASEBITSDIR for clarity and to avoid repeating this mistake in the future. Fixing this ensures that w
- Once we have shifted arguments up to thrice, base-bits-dir is $1 rather than $4. Introduce $BASEBITSDIR for clarity and to avoid repeating this mistake in the future. Fixing this ensures that we pick up newly built boot bits native to the target rather for/from the host. - Apply some of the argument quoting fixes done in r287635 but missing in later revisions.
show more ...
|
#
6ea29847 |
| 25-Apr-2018 |
Benno Rice <benno@FreeBSD.org> |
Allow etdump, makefs and mkimg to be overridden.
Recent changes to makefs and mkimg have led to situations where the disconnect between this script and the versions installed on the host cause failu
Allow etdump, makefs and mkimg to be overridden.
Recent changes to makefs and mkimg have led to situations where the disconnect between this script and the versions installed on the host cause failures. Provide a way to work around this that doesn't require the installation of new versions to the host system if that's not desired.
With this change mkisoimages.sh will honour the $ETDUMP, $MAKEFS and $MKIMG environment variables but fall back to the previous behaviour of finding them within $PATH.
Reviewed by: gjb Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D15181
show more ...
|
#
0279ac04 |
| 18-Apr-2018 |
Benno Rice <benno@FreeBSD.org> |
Generate hybrid ISO images for amd64.
This keeps the existing El Torito entries for BIOS and UEFI boot code and adds a GPT in the ISO image's System Area containing boot code for BIOS that will load
Generate hybrid ISO images for amd64.
This keeps the existing El Torito entries for BIOS and UEFI boot code and adds a GPT in the ISO image's System Area containing boot code for BIOS that will load /boot/loader from the ISO filesystem and execute it. We then use etdump to find the EFI System Partition image in the El Torito catalog and add an entry to the GPT that allows EFI to find it.
Reviewed by: gjb, imp Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D15051
show more ...
|
#
eb5c1940 |
| 10-Apr-2018 |
Benno Rice <benno@FreeBSD.org> |
Fix the position of $bootable so that -o platformid=efi applies correctly.
Sponsored by: iXsystems, Inc. Pointy hat to: benno (again)
|
#
d4bb7978 |
| 10-Apr-2018 |
Benno Rice <benno@FreeBSD.org> |
Fix makefs invocation after r331843.
Reported by: gjb Reviewed by: gjb Sponsored by: iXsystems, Inc. Pointy hat to: benno
|
#
8dbc3905 |
| 23-Mar-2018 |
Benno Rice <benno@FreeBSD.org> |
Allow makefs to properly tag UEFI El Torito boot images. Use them in amd64 ISOs.
UEFI booting requires an EFI System Partition (ESP). On most storage devices this will be in a specific partition typ
Allow makefs to properly tag UEFI El Torito boot images. Use them in amd64 ISOs.
UEFI booting requires an EFI System Partition (ESP). On most storage devices this will be in a specific partition type. To allow booting from CD/ISO filesystems, UEFI will look for an ESP in the form of a FAT filesystem image embedded in the image. Historically FreeBSD has added one of these to its amd64 ISO images but marked it as simply another i386 boot image. Luckily for us most UEFI implementations are rather forgiving and work this out for us.
This change adds the ability to mark a boot image as being a UEFI image. It also modifies our ISO generation to use this marking for the UEFI image we embed.
Reported by: Thomas Schmitt <scdbackup@gmx.net> Reviewed by: emaste, imp MFC after: 1 week Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D14809
show more ...
|
#
c2c014f2 |
| 07-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r323559 through r325504.
|
#
3c5ab8c1 |
| 30-Oct-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r325119
|
#
a2aef24a |
| 29-Oct-2017 |
Eitan Adler <eadler@FreeBSD.org> |
Update several more URLs
- Primarily http -> https - Primarily FreeBSD project URLs
|