summaryrefslogtreecommitdiff
path: root/distrib/miniroot
AgeCommit message (Collapse)Author
2018-09-22Harmonize spacing after ellipses in displayed messages.Frederic Cambus
We were using spacing after ellipses in an inconsistent way in the installer. Standardize on using "... " everywhere and take into account the cursor position while we are waiting for the task to complete: the cursor is now always positioned after the last dot, and the space is added when displaying completion confirmation. While there, also take cursor position into account in vfs_shutdown(), and remove the extra leading space before ticks in dhclient. OK deraadt@
2018-09-18The dmesg buffer is sufficiently large now that using the accumulatedChristian Weisgerber
output from several boots in the dmesg listener can overflow the ramdisk, so use only one boot's worth of dmesg in the listener. sed(1) expression from kn@. ok deraadt@
2018-08-29Historically /etc/netstart (and the equivalent code in the installKenneth R Westerback
script) did 'ifconfig <if> down' before starting dhclient(8). This was a way of ensuring old running copies of dhclient were killed before a new one started. Current dhclient does not need this assist, so change "ifconfig <if> down" to "ifconfig <if> up" pending further script optimizations. Similar to a 2014 attempt by halex@. Prompted by a misc@ report from Kristjan Komlosi reporting hanging diskless setups. ok halex@ kn@
2018-08-22Let /etc/installurl default to cdn.openbsd.org if it doesn't exist and noTheo Buehler
official mirror was used. This way, people doing installs without network access also get working pkg_add and syspatch experience out of the box. Idea from tj ok halex, job (who made it all possible), deraadt
2018-08-19There was some misunderstanding about which mirror to use.Theo Buehler
Back this out for now.
2018-08-19If /etc/installurl doesn't exist, install a default one pointing toTheo Buehler
cdn.openbsd.org. This way, people doing installs without network access also get working pkg_add and syspatch experience out of the box. Idea from tj, supported by deraadt and job ok halex
2018-07-10Tweak comments and explain some not so obvious things.Robert Peichaer
2018-07-10simplify and properly quote the loading of soii key generation material,Alexander Hall
and move it into enable_network() ok florian tb, long ago
2018-07-09Rename the THESETS variable to ALLSETS because it holds the listRobert Peichaer
of all legitimate OpenBSD set files. That helps to better understand the code in context. OK halex krw tb
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@