summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-04-111-2/+4
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * bsdinstall/zfsboot should create /tmp and /var/tmp if they do not existallanjude2016-04-081-0/+2
| | | | | | | | | | | | | | PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks
| * Do not add swap to fstab when swapsize is 0allanjude2016-04-081-2/+2
| | | | | | | | | | | | | | | | | | If a user requested encrypted swap, but 0 sized, it would still be added to fstab PR: 208630 Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks Sponsored by: ScaleEngine Inc.
* | MFHgjb2016-04-041-5/+5
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Remove 50% ZFS conditional from bsdinstall/zfsbootallanjude2016-03-171-5/+5
| | | | | | | | | | | | | | | | Remove the requirement that the resulting partition table be atleast 50% ZFS PR: 208094 Requested by: brooks Sponsored by: ScaleEngine Inc.
* | MFHgjb2016-02-021-68/+47
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * The zfsboot automated part of bsdinstall now supports UEFIallanjude2016-01-301-68/+47
| | | | | | | | | | | | MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4960
* | MFHgjb2016-01-201-1/+3
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Never 4k align the MBR bootpool because zfsldr can not deal with a gapallanjude2016-01-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the bootpool does not start at the first sector of the BSD partition then zfsldr seeks to the wrong offset inside the ZFS vdev label, and is unable to find zfsboot, so the system does not boot If 4k alignment is requested, align the BSD partition in the MBR table, and align the swap and data pool, but the bootpool must start at sector 1 While here, if 4k alignment is requested, disable MBR CHS alignment, as this results in not-4k aligned partitions. Reported by: Alex Wilkinson MFC after: 5 days Sponsored by: ScaleEngine Inc.
* | MFHgjb2016-01-141-1/+1
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * bsdinstall: Suggest the GPT+Active workaround on Dell T5810vangyzen2016-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Dell Precision Tower 5810 fails to boot from GPT in Legacy/BIOS mode without the Active flag in the Protective MBR. Suggest the workaround during installation. Since an increasing number of Dell systems exhibit this behavior, I imagine all Dells past a certain date will do so. I would like to suggest the workaround for all Dells with a BIOS date of, say, 2014 or later, but I would need to test a variety of systems before committing such a change. Reviewed by: allanjude, dteske MFC after: 5 days Relnotes: We should probably suggest using GPT+Active on "recent" Dells. Sponsored by: Dell Inc. Differential Revision: https://reviews.freebsd.org/D4075
| * Merge ^/projects/release-install-debug:gjb2016-01-051-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | - Rework MANIFEST generation and parsing via bsdinstall(8). - Allow selecting debugging distribution sets during install. - Rework bsdinstall(8) to fetch remote debug distribution sets when they are not available on the local install medium. - Allow selecting additional non-GENERIC kernels during install. At present, GENERIC is still required, and installed by default. Tested with: head@r293203 Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-01-051-4/+60
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFH r289384-r293170gjb2016-01-047-14/+24
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Explicitly set permissions on entropy filesdteske2015-12-281-1/+6
| | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3933 Submitted by: jmg Reviewed by: delphij, markm Approved by: secteam (delphij) MFC after: 3 days X-MFC-to: stable/10 stable/9
| * Adapt to new wireless scheme where base wlan interfaces do not show up innwhitehorn2015-12-061-8/+13
| | | | | | | | ifconfig anymore.
| * Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-264-4/+4
| | | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
| * Fix typo in error messagedteske2015-11-031-1/+1
| | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3997 Submitted by: git_johnko.ca (John Ko) MFC after: 3 days X-MFC-to: stable/10 stable/9
* | Merge from headbapt2015-10-013-5/+28
|\ \ | |/
| * Add more SUBDIR_PARALLEL.bdrewery2015-09-261-0/+1
| | | | | | | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
| * META_MODE: Remove DEP_MACHINE from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | | | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
| * META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-251-2/+0
| | | | | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
| * Add a number of models to the bsdinstall GPT hack blacklistallanjude2015-09-161-1/+27
| | | | | | | | | | | | | | | | PR: 194359 Approved by: bapt (mentor) MFC after: 2 weeks Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3525
* | Finish merging from head, messed up in previous attemptbapt2015-09-1212-19/+35
|\ \ | |/
| |
| \
*-. \ Merge from headbapt2015-09-126-46/+302
|\ \ \ | | |/
| | * Replace `return' outside of function with exitdteske2015-09-111-1/+1
| | | | | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10 Pointy hat to: me
| | * Use a variable for readabilitydteske2015-09-111-2/+2
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Update copyrightdteske2015-09-111-1/+1
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Better to reset trap and explicitly exit successdteske2015-09-111-1/+2
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Remove trailing newline at EOFdteske2015-09-111-1/+0
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Produce meaningful exit codedteske2015-09-112-6/+14
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Explicitly exit with successdteske2015-09-111-1/+2
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Explicitly exit with successdteske2015-09-111-1/+2
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Update copyrightsdteske2015-09-113-2/+3
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Produce meaningful exit codedteske2015-09-111-1/+4
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Remove use of return outside of functiondteske2015-09-111-1/+1
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Ignore error results from newaliases(1)dteske2015-09-111-0/+2
| | | | | | | | | | | | | | | MFC after: 3 days X-MFC-to: stable/10
| | * Ensure the local MANIFEST is always used when verifying remotesvnmir2015-08-041-1/+1
| |/ | | | | | | | | | | | | distribution sets. MFC after: immediately Sponsored by: The FreeBSD Foundation
| * Add the Dell E7240 laptop and Intel DP965LT motherboard to the list for the ↵allanjude2015-07-211-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | GPT active workaround PR: 194359 Requested by: sbruno, hiren Approved by: marcel MFC after: 3 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3139
| * Add support for two workarounds for known issues booting GPT in legacy mode ↵allanjude2015-07-186-22/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on some hardware For Lenovo laptops with buggy bios (x220, t420, t520): Write the 0xee entry into the second slot in the pmbr instead of the first For some Dell and HP models: The BIOS gives a warning message when booting in legacy mode from a GPT partitioned disk where the 0xee partition in the pmbr is not flagged active For models known to have this problem, mark the pmbr active during installation Use smbios data to identify machines known to be affected by any of the above, and offer the user the option to apply the workaround In bsdinstall's ufs auto mode (autopart partition wizard): Allow users to select which type of partition table to use Keep current defaults: MBR for BIOS, GPT for UEFI This allows users to choose GPT for legacy boot if they wish PR: 184910 PR: 194359 Reviewed by: Michael Dexter Approved by: marcel MFC after: 3 days X-MFC-With: r285594 Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3091
| * Make bsdinstall's zfsboot script align partitions to 4k/1m when the user ↵allanjude2015-07-141-22/+39
| | | | | | | | | | | | | | | | | | | | | | | | requests it PR: 195174 Reviewed by: darius Approved by: brueffer MFC after: 3 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3062
| * Set a mountpoint on the root of the pool so user-created datasets have a ↵allanjude2015-07-141-1/+10
| | | | | | | | | | | | | | | | | | | | | | mountpoint to inherit Reviewed by: darius Approved by: brueffer MFC after: 3 days Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3063
| * Have bsdinstall's zfsboot script make /var/audit its own dataset, so it is ↵allanjude2015-07-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | not part of the OS boot environment PR: 199864 Submitted by: Jason Unovitch Approved by: brueffer MFC after: 3 days Relnotes: yes Differential Revision: https://reviews.freebsd.org/D2861
| * Fix a typo in bsdinstallallanjude2015-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | A variable was misspelled resulting in chmod executing on the installer instead of on the target chroot PR: 191402 Submitted by: Martin Simmons <martin@lispworks.com> Approved by: brueffer MFC after: 3 days Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3061
* | Merge from headbapt2015-06-155-0/+106
|\ \ | |/
| * Add META_MODE support.sjg2015-06-135-0/+106
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| | * dirdeps.mk now sets DEP_RELDIRsjg2015-06-084-8/+0
| | |
| | * Merge sync of headsjg2015-05-279-197/+205
| | |\ | | |/ | |/|
| | * Merge from head@274682sjg2014-11-1919-272/+626
| | |\
| | * \ Merge head from 7/28sjg2014-08-199-81/+157
| | |\ \
OpenPOWER on IntegriCloud