Revision tags: 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, 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 ...
|
Revision tags: release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0 |
|
#
05f23474 |
| 24-May-2020 |
Ed Maste <emaste@FreeBSD.org> |
Make i386 memstick images bootable.
This reverts the i386 part of r342283, "Rework UEFI ESP generation", and the followup commit in r342690.
r342283 added an ESP to the i386 memstick image, and as
Make i386 memstick images bootable.
This reverts the i386 part of r342283, "Rework UEFI ESP generation", and the followup commit in r342690.
r342283 added an ESP to the i386 memstick image, and as a side effect made the ESP the active partition, not the bootcode-containing UFS partition. As a result the i386 memstick images would not boot in either UEFI or legacy mode - UEFI failed because we do not support i386 UEFI booting, and legacy mode failed because the partition with legacy bootcode was not active.
The bootcode-containing UFS partition is again the only, and active, partition.
PR: 246494 Reported by: Jorge Maidana Differential Revision: The FreeBSD Foundation
show more ...
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
252373ac |
| 02-Jan-2019 |
Glen Barber <gjb@FreeBSD.org> |
Escape a new line following r342283.
Sponsored by: The FreeBSD Foundation
|
#
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 ...
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
bf249c5a |
| 12-Apr-2018 |
Ed Maste <emaste@FreeBSD.org> |
switch i386 memstick installer images to MBR
Some BIOSes have trouble booting from GPT in non-UEFI mode. This is commonly reported with Lenovo laptops, including my x220. As we do not currently su
switch i386 memstick installer images to MBR
Some BIOSes have trouble booting from GPT in non-UEFI mode. This is commonly reported with Lenovo laptops, including my x220. As we do not currently support booting FreeBSD/i386 via UEFI there's no reason to prefer GPT.
The "vestigial swap partition" was added in r265017 to work around an issue with loader's GPT support, so we should not need it when using MBR.
We may want to make the same change to amd64, although the issue there is mitigated by such systems booting via UEFI in the common case.
PR: 227422 Reviewed by: gjb MFC after: 3 weeks Relnotes: Yes Sponsored by: The FreeBSD Foundation
show more ...
|
#
8ea90e07 |
| 10-Apr-2018 |
Ed Maste <emaste@FreeBSD.org> |
make-memstick.sh: put partition args on separate lines
This makes it easier to identify the individual partition types and facilitates comparisons across architectures.
Reviewed by: gjb MFC after:
make-memstick.sh: put partition args on separate lines
This makes it easier to identify the individual partition types and facilitates comparisons across architectures.
Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/10.4.0 |
|
#
8fcbcc2d |
| 16-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323635
|
#
b754c279 |
| 13-Sep-2017 |
Navdeep Parhar <np@FreeBSD.org> |
MFH @ r323558.
|
#
35553468 |
| 11-Sep-2017 |
Ed Maste <emaste@FreeBSD.org> |
make-memstick.sh: use UFSv2
There's not much practical difference as far as install media is concerned but newfs creates UFSv2 by default and it is sensible to use the contemporary UFS version.
I a
make-memstick.sh: use UFSv2
There's not much practical difference as far as install media is concerned but newfs creates UFSv2 by default and it is sensible to use the contemporary UFS version.
I also intend to change makefs to create UFSv2 by default (to match newfs) so we'll want make-memstick.sh to be explicit, rather than relying on the host tool's default.
Reviewed by: andrew, gjb, jhibbits MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12231
show more ...
|
#
f20be204 |
| 11-Sep-2017 |
Ed Maste <emaste@FreeBSD.org> |
revert unintentional changes from r323436
|
#
e9346a94 |
| 11-Sep-2017 |
Ed Maste <emaste@FreeBSD.org> |
boot1: remove BOOT1_MAXSIZE default value
This Makefile relies on Makefile.fat providing the correct value for BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value here the build
boot1: remove BOOT1_MAXSIZE default value
This Makefile relies on Makefile.fat providing the correct value for BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value here the build would already fail if Makefile.fat did not provide correct values.
Sponsored by: The FreeBSD Foundation
show more ...
|
#
5be4ad9e |
| 09-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323343
|
#
708c2585 |
| 05-Sep-2017 |
Ed Maste <emaste@FreeBSD.org> |
make-memstick.sh: use 'set -e' to abort if any step fails
Also remove the now-redundant error handling that was only for makefs.
This change applies arm64's r308171 to the other make-memstick.sh ve
make-memstick.sh: use 'set -e' to abort if any step fails
Also remove the now-redundant error handling that was only for makefs.
This change applies arm64's r308171 to the other make-memstick.sh versions.
Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12195
show more ...
|
Revision tags: release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
009e81b1 |
| 22-Jan-2016 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
MFH @r294567
|
#
5dc6cc42 |
| 06-Jan-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r293175 through r293279.
|
#
582727cc |
| 05-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
10c40dfa |
| 05-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
Prevent memstick installation medium from attempting to mount the root filesystem read-write. This causes problems booting the memstick installation medium from write-protected USB flash drives.
Su
Prevent memstick installation medium from attempting to mount the root filesystem read-write. This causes problems booting the memstick installation medium from write-protected USB flash drives.
Submitted by: A.J. Kehoe IV [1], Oliver Jones [2] PR: 187161 [1], 205886 [2] MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/10.2.0 |
|
#
416ba5c7 |
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|
#
37a48d40 |
| 28-May-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r282615-r283655
Sponsored by: The FreeBSD Foundation
|
#
98e0ffae |
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|
#
b0dd7176 |
| 23-May-2015 |
Glen Barber <gjb@FreeBSD.org> |
Use mkimg(1) to create the i386 memstick images, similar to how is done for amd64. The exception here is there is no EFI partition for i386.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
|
Revision tags: release/10.1.0, release/9.3.0 |
|
#
6cec9cad |
| 03-Jun-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r266724
An SVM update will follow this.
|
#
414fdaf0 |
| 21-May-2014 |
Alan Somers <asomers@FreeBSD.org> |
IFC @266473
|