summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2018-07-09Explain in more detail, how select_sets() is involved when the current bsd.rdRobert Peichaer
is used to download/verify/install a bsd.rd of a new release.
2018-07-09Explain in more detail, what sane_install() actually does.Robert Peichaer
2018-07-09Extend the v4_defroute() function description and make the fallback toRobert Peichaer
the previous default route more obvious by using an if-then-else block.
2018-07-09Comments and function descriptions.Robert Peichaer
2018-07-09Improve comments and function descriptions.Robert Peichaer
2018-07-09CommentsRobert Peichaer
2018-07-08The AUTO variable is a boolean indicating whether or not autoinstall is activeRobert Peichaer
Rename AUTO to AI so "AI" is used consistently throuhout the installer script for autoinstall releated variables. OK krw tb
2018-07-08Compact the function description.Robert Peichaer
Turn the ask_until from type Korn shell to Bourne/POSIX mode. Use : instead of true in the while-loop to be consistent. OK krw halex tb
2018-07-08WhitespaceRobert Peichaer
2018-07-07Always quote both parameters of ask() which picks the question andRobert Peichaer
default answer parameters via $1 and $2. OK tb
2018-07-07Make sure the question parameter is set to be able to search for an answerRobert Peichaer
in the response file. OK krw tb
2018-07-07Compact function description.Robert Peichaer
2018-07-07Trim function description by leaving out parts that are alreadyRobert Peichaer
explained for _ask(). Give a hint why _ask() is called from within a while-loop.
2018-07-07Be more precise explaining that _ask() captures user responsesRobert Peichaer
interactively and also from the response file.
2018-07-07Tweak commentsRobert Peichaer
2018-07-06Improve the description of another rather esoteric piece of shell script code.Robert Peichaer
2018-07-06Tweak comments and explain, why HTTP_SETDIR is made known to the webserverRobert Peichaer
where the response file is downloaded from.
2018-07-06Tweak comments and spacing.Robert Peichaer
2018-07-06Tweak commentRobert Peichaer
2018-07-02Be more precise in the function description and rename _iflist toRobert Peichaer
_if_list to be consistent with other similar cases.
2018-07-02more descriptive commentRobert Peichaer
2018-07-02Be more precise about the expected input.Robert Peichaer
2018-07-02Quote first parameter of isin().Robert Peichaer
2018-07-01CommentsRobert Peichaer
2018-07-01Explain and demystify some darker corners of the installer script.Robert Peichaer
2018-06-16Allow to enter a DUID as answer to the "Which disk is the root disk?"Robert Peichaer
question during upgrade. suggested by abieber positive feedback deraadt krw ok tb abieber
2018-06-16Zap whitespacesRobert Peichaer
found by deraadt
2018-05-29When adjusting the speed of a 'console' tty entry, also change entriesMark Kettenis
with a default speed of 115200 since that is what we have on armv7 and arm64. ok benno@, tb@
2018-05-07Fix http install with proxy, which was broken since URL redirection wasTheo Buehler
made sticky. Found and fix suggested by joshua megerman () iwco com, thanks! Tested & ok rpe
2018-03-21Add a script to trim pretty-printed decodes of X509 certs, for use inStuart Henderson
shrinking ramdisk cert.pem files. ok deraadt
2018-03-15Always ensure to output a newline after checking for available syspatches.anton
Otherwise, if syspatch exits 1 any subsequent output will end up on the same line during boot. Discovered while upgrading from current today since we're in release mode. Discussed with and ok tb@
2018-02-21Delete the kernel link kit tgz after extraction to align with theRobert Peichaer
libexec/reorder_kernel script. OK tb
2018-02-21If there is one interface, and it is configured via dhcp, and the leaseRobert Peichaer
contains both domain-name and domain-search options make sure to use the first domain-name entry (there might be multiple). This issue was noticed by Raf Czlonka, thanks for reporting Discussed with, tested and OK krw
2018-02-18Simplify interface listing.kn
Discussed with tb, rpe, feedback from and OK halex.
2018-02-18Create interfaces before processing the hostname.if file in ifstart().Robert Peichaer
This ensures, that IPv6 is configured for dynamically created network interfaces like 'vlan' which would otherwise not yet exist at the time parse_hn_line() checks for IPv6 capability of an interface before applying the inet6 configuration from the hostname.if. Found out, tested and OK naddy
2018-02-17Since rev 1.543 of dhclient it sends the 'host-name' by default.Robert Peichaer
- remove the leftover _hn variable from dhcp_request() - remove the "$_name" parameter when using dhcp_request() in v4_config() - change comments of v{4,6}_config() to reflect the purpose of _name OK krw tb
2018-02-14Localize _f in do_upgrade().Theo Buehler
ok rpe
2018-02-10installer bits for RFC 7217 supportFlorian Obser
OK rpe, tb, naddy, sthen
2018-02-06quote http_proxy going to rc.firsttime, avoiding problems if it contains aStuart Henderson
special character or space (possible with e.g. proxy username/password). noticed by, install.sub shell magic from, and ok halex@
2018-02-05If an http proxy was used when fetching sets in the ramdisk, write it toStuart Henderson
rc.firsttime for fw_update and syspatch. From trondd at kagu-tsuchi com, ok halex@
2018-01-21fix error handling while fetching setsAlexander Hall
reported by naddy@ long ago ok rpe@
2018-01-18Make URL redirection sticky in the installerjob
Ensures that when URL redirection takes place, the rest of the install/upgrade session will stick to that redirected location. This should help ensure that the fetched set of files is coherent when a load balancer emits 301/302. With feedback from rpe@ OK sthen@ rpe@
2018-01-14Prefetched sets are stored by root, but are read by an unprivilegedRobert Peichaer
user during the actual install phase. Add a check to the selection of the prefetch area to ensure the unprivleged user can read files from there. Move the selection logic to its own function prefetcharea_fs_list() which returns a unique list of candidate filesystems, or with rc=1. While at it, remove /var/tmp from the potential list of candidates because it's a symbolic link to /tmp since 2014. Change install_files() to loop over the candidates and check if it can read a test file, otherwise clean up and skip this filesystem. Problem found by benno@ whose upgrade failed due to /usr/obj being owned by build:wobj and permissions that prevented the unprivileged user to read the prefetched set files from there. discussed with and OK benno@ halex@ tb@
2018-01-03Always present the same question at the end of installs or upgrades.Robert Peichaer
Offer to exit to shell, halt or reboot the system, where 'reboot' is the default answer. Change default answer to 'halt' for installs if MDHALT is set to 'y'. suggested by landry@ OK halex@
2017-12-22Cope with the fact, that the DHCLIENT route label is gone whichRobert Peichaer
helped to find out if the default route was configured by dhclient. Check if the interface connected to the default route is in the dhcp interface group which accomplishes the same functionality. With feedback from and OK krw@
2017-12-21Adopt comments to previous changeRobert Peichaer
2017-12-21Stop creating a dhclient.conf in the install script, nowKenneth R Westerback
that 'send host-name' is the default behaviour for dhclient. ok rpe@
2017-12-18Change the question at the end of installs and upgrades to present a choiceRobert Peichaer
between exiting to the shell or to reboot the latter being the default. (On sparc64 the second choice is to halt the system which leaves it at the OpenBoot PROM prompt) While there add a newline after the CONGRATULATIONS message. OK tb@ positive feedback naddy@ deraadt@ giovanni@
2017-12-18Display $MODE (install/upgrade) in the prompt before we know the hostname.Theo Buehler
suggested by deraadt ok rpe
2017-12-17Add a new question "Escape to shell before reboot? [no]" at the end ofRobert Peichaer
the install and upgrade process. "no" or [enter] reboots the system "yes" leaves the install or upgrade at the shell prompt On selected architectures, sparc64 being the only so far, the system is halted instead of rebooted. autoinstall(8) is NOT affected by this new question as it reboots the system automatically already. Suggested by and OK deraadt@, tb@ phessler@ Feedback on sparc64 by stsp@ Positive feedback pea@ landry@