summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
Commit message (Collapse)AuthorAgeFilesLines
* Increment swap label after echo. Fixes #9182jim-p2018-12-111-1/+1
| | | | (cherry picked from commit 75849099bd5ee98214349d040bd7939df071f5d2)
* Require 4Gb of usable space to install pfSenseRenato Botelho2018-02-201-1/+1
|
* add_geom_children() cannot rely on busy disksRenato Botelho2017-09-291-11/+0
|
* Ignore CD drivesRenato Botelho2017-09-291-0/+3
|
* Try to guess target disk when there is only oneRenato Botelho2017-09-281-2/+31
|
* Detect pfSenseMirror device and use it without user interactionRenato Botelho2017-09-281-1/+5
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-281-0/+14
|
* Save a debug of factory.shRenato Botelho2017-09-151-1/+2
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-141-1/+14
|
* Prepare installer files for "Recover config.xml" option. Issue #7708jim-p2017-07-182-7/+27
| | | | The actual script will be in the pfSense repo under tools/installer
* Add script to copy config.xml off an available USB drive after the ↵jim-p2017-07-123-1/+62
| | | | | | | | installation is complete, similar to the old PFI behavior. Implements #7689 (cherry picked from commit ec316ce32d9b91fd07abc6392323f43d5365c6bd) (cherry picked from commit e471bc56255d0ba97d8ec1a9add892d069ebff42) (cherry picked from commit 528d34f4b75036e833a4be1ce2c23226a3a46011)
* Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5Renato Botelho2017-07-037-22/+49
|\
| * bsdinstall: use consistent EFI configuration across platformsemaste2017-06-193-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r320007: - increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition to 200M MFC r320008: bsdinstall: correct comment after r320007 PR: 201898 Approved by: re (kib) Relnotes: Yes Sponsored by: The FreeBSD Foundation
| * MFC: r319863allanjude2017-06-152-1/+7
| | | | | | | | | | | | | | | | | | bsdinstall: Make ZFS min_auto_ashift adjustment persistent MFC: r319864 bsdinstall: support Auto ZFS mode for ARM64 Approved by: re (gjb)
| * MFC r318632, r318633:royger2017-05-291-5/+22
| | | | | | | | | | bsdinstall: mount is not needed for the ZFS install case bsdinstall: do not use distextract in scripted mode
| * MFC r314833rgrimes2017-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert absolute links to relative links. Style.Makefile(9) has been ignored to produce minimal diffs. MFC r314837 The relative symlink fix causes downstream issues for EMC DELL Isilon so revert the relative symlink fix pending a better solution. Reported by: ngie MFC r315091 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found as it appears to break arm release builds. PR: 217705 Reported by: cyclaero@gmail.com Approved by: grehan (mentor)
| * MFC r317743:araujo2017-05-171-9/+9
| | | | | | | | | | | | | | Use nitems() from sys/param.h. Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D9942
* | Copy loader.conf.local to installed system when it's availableRenato Botelho2017-04-141-0/+4
| |
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2017-02-231-2/+4
|\ \ | |/
| * MFC r313448:garga2017-02-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bsdinstall: Make sure chroot filesystems are umounted after use * DISTDIR_IS_UNIONFS is set every time BSDINSTALL_DISTDIR is mounted inside BSDINSTALL_CHROOT. Use this flag to decide if it needs to be umounted * BSDINSTALL_CHROOT/dev is mounted when 'bsdinstall mount' is called, there is no need to mount it again when user goes to shell after installation Reviewed by: allanjude Obtained from: pfSense MFC after: 1 week Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D8573
* | Remove canmount=noauto from /var and /tmp. Ticket #7086Renato Botelho2017-01-201-2/+2
| |
* | Remove unnecessary partitions when using ZFS, ticket #7086Renato Botelho2017-01-191-19/+2
| |
* | Fix #7003: Use default loader.conf from chrootRenato Botelho2017-01-171-2/+2
| |
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2017-01-091-233/+273
|\ \ | |/
| * MFC improvements to bsdinstall's wlanconfig moduledteske2017-01-081-246/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC [85] revisions 309719-309720, 309901-309902, 309904-309911, 309913-309920, 309922-309924, 309926, 309928, 309930, 309932, 309934, 309937-309942, 309944-309952, 309958-309998, and 310038 (described below) r309719: Remove unnecessary trailing backslashes r309720: Functions in their own section r309901: Comments r309902: Use $( ... ) instead of `...` r309904: Change "[ ! -z ... ]" => "[ ... ]" and "[ -z ... ]" => "[ ! ... ]" r309905: Remove unnecessary local initializers r309906: Consolidate locals r309907: Replace funny block with something easy to digest r309908: Collapse tiny if statements r309909: Change "[ ! ... ] && ..." to "[ ... ] || ..." r309910: Remove unnecessary quotes around number in test r309911: Group fallbacks together r309913: Allow $BSDINSTALL_TMPETC to contain whitespace or special chars r309914: Add missing `-e' parameter to sed invocations r309915: "echo | sed | sed | awk" is silly (changed to "echo | awk") r309916: Be internally consistent (": > ..." is used elsewhere in this file) r309917: awk(1) match() takes a regex, use /.../ to remind ourselves of this r309918: Remove unnecessary `-n' parameter to head/tail r309919: Whitespace r309920: Use provided API instead of hard-coded status integers r309922: Centralize backtitle string r309923: There is zero harm in always passing --default-item to dialog r309924: Always pass --default-item parameter to dialog r309926: Change the name of a variable from $def_item_... to $default_... r309928: Use ~ instead of match() r309930: Use ternary operator r309932: Remove an unnecessary "return $?" at end of function r309934: Consolidate redirects into here documents r309937: Whitespace (dialog options separated to minimize diffs) r309938: Use provided API (change "dialog" to "$DIALOG") r309939: Fix incorrect use of provided API r309940: Reorder dialog parameters based on commonality for readability r309941: Use provided API to centralize dialog title strings r309942: Allow the script path to contain whitespace and special characters r309944: Fix invalid parameter expansion (change $@ to "$@") r309945: 1 is the default descriptor for redirects without an fd prefix r309946: Use more succinct awk syntax r309947: Remove unnecessary semi-colons r309948: Remove incomplete and unnecessary creation of fd3 r309949: Utilize provided i18n strings r309950: Whitespace r309951: Remove an unnecessary call to f_dialog_title_restore() r309952: Move the secondary condition into the action clause r309958: Quote WLAN_IFACE (pedantic) r309959: Use oft-neglected syntax "startcondition, stopcondition { ... }" r309960: Add missing backslash r309961: Stop repeating strings (centralize prompt string) r309962: More efficiently make use of the exit status r309963: Avoid non-standard options r309964: Sort the domains r309965: Whitespace alignment r309966: Sanitize dialog output for portability/compatibility requirements r309967: Use more generic f_yesno() from provided API r309968: Properly quote variable r309969: Send stderr to the same place as stdout r309970: Remove completely unnecesary parentheses r309971: Start deconstructing a conveluted hunk of code r309972: If the first ping succeeded, why on Earth should we ping it again? r309973: Why use $? when you can use the command itself r309974: These two error messages have always been backwards since inception r309975: Continued resolution of conveluted statement r309976: You don't need parentheses for awk's printf r309977: Whitespace and alignment r309978: Neither printf nor print need parens in awk r309979: This statement has too many backslashes r309980: Just use print r309981: Add missing quotes r309982: Remove unnecessary quotes r309983: Use the provided API for calculating the appropriate size of menus r309984: Whitespace alignment r309985: Comment r309986: There's an API function for displaying errors r309987: There's an API function for displaying yes/no dialogs r309988: There's an API function for displaying pauses r309989: There's an API function for catching errors r309990: Calculate proper size of menu list dialog r309991: Simplify bringup of interface after changes and catch errors r309992: Restore previous comment r309993: Why test $? when you can test the command r309994: Wordsmithing r309995: Simplify loop by moving predicate to clause r309996: Simplify single-line if statements r309997: The flags of a WLAN need to be quoted r309998: It's completely pointless to replace newlines with space r310038: Revert r309918 -- modern POSIX has deprecated -<#>/+<#> syntax PR: bin/214933
| * MFC r309716: Add support for "hidden" Wi-Fi networksdteske2017-01-081-2/+19
| | | | | | | | | | | | PR: bin/214933 Submitted by: Maxim Filimonov <che@bein.link> Reviewed by: dteske, allanjude, adrian
* | Add licenseRenato Botelho2016-11-181-0/+26
| |
* | Use labels on fstab on Manual partitionRenato Botelho2016-11-181-0/+1
| |
* | Remove extraneous }Renato Botelho2016-11-181-1/+1
| |
* | mount was called before, do not mount it twiceRenato Botelho2016-11-181-1/+0
| |
* | Umount distdir after useRenato Botelho2016-11-181-0/+8
| |
* | Add a script to use labels on fstabRenato Botelho2016-11-183-1/+94
| |
* | Revert "Use MBR by default on BIOS systems. An increasing number of ↵Renato Botelho2016-11-181-4/+1
| | | | | | | | | | | | motherboards" This reverts commit 30a42c280eec3a4e23e3eab91b7e04cff697d312.
* | Really fix #6929 for CE and factoryRenato Botelho2016-11-151-2/+9
| |
* | Add zfs load to pfSense loader.conf. It should fix #6929Renato Botelho2016-11-151-1/+1
| |
* | Execute /root/factory.sh if it's presentRenato Botelho2016-11-081-0/+3
| |
* | Copy boot.config to target system if it's presentRenato Botelho2016-11-081-0/+4
| |
* | Copy loader.conf.pfSense to target system when it's availableRenato Botelho2016-11-081-0/+3
| |
* | Do not replace sysctl.conf or /boot/* on target systemRenato Botelho2016-11-041-2/+2
| |
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-08-301-2/+3
|\ \ | |/
| * MFC r303877:skreuzer2016-08-271-2/+3
| | | | | | | | | | | | Write kern.randompid to /etc/sysctl.conf Approved by: allanjude
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-08-251-6/+20
|\ \ | |/
| * MFH (r304142): ensure stripe size is non-zero multiple of 4096des2016-08-191-6/+20
| | | | | | | | PR: 211361
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-08-081-1/+1
|\ \ | |/
| * MFC r303631:dim2016-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix non-functional bsdinstall services dialog. The most recent version of bsdinstall does not seem to respect any of the checkboxes in the "Choose the services you would like to be started at boot" dialog. None of the chosen services end up in the rc.conf file that is installed onto the target system. This is caused by the bsdinstall/scripts/hardening script, which implements the new hardening options dialog. The script starts by overwriting the previously written rc.conf.services file: echo -n > $BSDINSTALL_TMPETC/rc.conf.services which is obviously incorrect. It should clear out rc.conf.hardening instead. Approved by: re (kib) Reviewed by: allanjude PR: 211506 Differential Revision: https://reviews.freebsd.org/D7387
* | Copy etc files over, without it installed system will have no fstabRenato Botelho2016-08-031-1/+1
| |
* | Replace FreeBSD by pfSense on installer related filesRenato Botelho2016-08-019-25/+25
| |
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-08-014-1/+89
|\ \ | |/
| * MFC r302897:robak2016-07-284-1/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new System Hardening menu and options to bsdinstall. This patch add new 'hardening' file responsible for new bsdinstall 'System Hardening' menu allowing users to set some sane and carefully picked system security options (like random process id's, hiding other users/groups processes and others). All options are OFF by default in this patch due to POLA principle with intention to turn change some of them to ON by default in future. Reviewed by: adrian, allanjude, bdrewery, nwhitehorn Approved by: re@, adrian, allanjude
* | Merge remote-tracking branch 'origin/stable/11' into devel-11Renato Botelho2016-07-262-1/+49
|\ \ | |/
OpenPOWER on IntegriCloud