summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
* | pfSense doesn't distribute a kernel.txzRenato Botelho2016-06-271-1/+1
| |
* | Comment out some installer steps we don't needRenato Botelho2016-06-242-10/+10
|/
* Fix bsdinstall for root-on-zfs with MBR partitioningallanjude2016-06-101-9/+5
| | | | | | | | | | | | Fix an error where vfs.root.mountfrom was not always set as required when creating a bootpool. After the recent geliboot changes, it was only set if the main pool was encrypted. Also resolve an error where the bootpool was unmounted twice causing bsdinstall to stop with an error message about the failed command. Approved by: re (gjb) Sponsored by: BSDCan Hacker Lounge
* bsdinstall: add country/regulatory domain configuration dialog.avos2016-06-081-32/+183
| | | | | | | | | Allow to setup country and/or regulatory domain before scanning (since channel list is affected by regulatory restrictions this may impact scan results). PR: 182600 (originally) Differential Revision: https://reviews.freebsd.org/D6325
* bsdinstall: unbreak static address assignment for wired networks.avos2016-05-261-1/+5
| | | | | | | This fixes regression introduced in r298946 (fixes static address assignment for wireless networks). Reported & submitted by: allanjude
* Only set kern.geom.part.mbr.enforce_chs=0 once, instead of once per diskallanjude2016-05-241-1/+1
| | | | Sponsored by: ScaleEngine Inc.
* Add support for RAID 1+0 (striped mirrors) to bsdinstall/zfsbootallanjude2016-05-241-5/+40
| | | | Sponsored by: ScaleEngine Inc.
* Only export and re-import the root pool if installing on MBRallanjude2016-05-231-22/+26
| | | | | | This step is required in order to dd the boot2 bits into the ZFS partition Sponsored by: ScaleEngine Inc.
* Fix missing pool name in zfs set commandallanjude2016-05-231-1/+1
|
* Fix error in bsdinstall where additional filesystems cannot be mountedallanjude2016-05-231-1/+5
| | | | | | | | | | | Do not set canmount=noauto on the boot environment at create time, because this causes / to not be mounted, and since the chroot is read only, new mountpoints cannot be created. The property is set later, when other properties are adjusted Reported by: HardenedBSD Sponsored by: ScaleEngine Inc.
* bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOTallanjude2016-05-221-60/+84
| | | | | | | | | | | | In this configuration, a separate bootpool is not required. This allows ZFS Boot Environments to be used with GELI encrypted ZFS pools. Support for GPT+EFI+GELI is planned for the future. Tested by: Joseph Mingrone, HardenedBSD Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D5869
* Fix default ZFS layout to work better by default with sysutils/beadmallanjude2016-05-221-1/+1
| | | | | | | | | The root file system is mounted early via vfs.root.mountfrom. The canmount=noauto property only affects the zfs rc.d script. This ensures that the 'default' BE is not mounted overtop of another BE when one is selected from the beastie menu Sponsored by: ScaleEngine Inc.
* Fix typo in comments for the zfsboot scriptbapt2016-05-221-1/+1
| | | | Submitted by: Colby Swandale <colby@taplaboratories.com.au> (via github)
* bsdinstall/zfsboot: Do not mirror swap when swapsize is 0allanjude2016-05-101-1/+1
| | | | | | PR: 209415 Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com> MFC after: 2 weeks
* bsdinstall: fix static address assignment for protected wireless networks.avos2016-05-021-1/+1
| | | | | | | Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword) from ifconfig parameters. PR: 169199
* usr.sbin/bsdconfig: minor spelling fixes on comments.pfg2016-05-011-1/+1
| | | | No functional change.
* Add a new installation type to bsdinstall/zfsboot: BIOS+UEFIallanjude2016-04-191-16/+52
| | | | | | | | | | | Installs both pmbr+gptzfsboot as well as boot1.efifat in separate partitions The resulting system can be booted with either UEFI or BIOS/CSM. Preference is controlled by the user's firmware boot settings. This is now the default for zfsboot installs PR: 208629 Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> (original version)
* 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.
* 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.
* 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
* 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.
* 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
* 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-261-1/+1
| | | | | MFC after: 1 week 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
* 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-182-3/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add META_MODE support.sjg2015-06-131-0/+11
|\ | | | | | | | | | | | | | | | | | | | | 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-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-96/+109
| |\ | |/ |/|
OpenPOWER on IntegriCloud