summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
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-02-05syncTheo de Raadt
2018-01-28syncJonathan Gray
2018-01-21fix error handling while fetching setsAlexander Hall
reported by naddy@ long ago ok rpe@
2018-01-20syncTheo de Raadt
2018-01-19syncMark Kettenis
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-18Make the installer use the multiprocessor kernel if there is moreVisa Hankala
than one core available. When bsd.mp is used, bsd.sp is not copied to the boot partition. Old installations might not have enough space for all bsd.mp, bsd.sp and bsd.rd. OK deraadt@, krw@, pirofti@
2018-01-17syncTheo de Raadt
2018-01-15syncJonathan Gray
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-12syncTheo de Raadt
2018-01-09syncTheo de Raadt
2018-01-06syncTheo de Raadt
2018-01-03syncTheo de Raadt
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-27sync (if_bwfm_pci.h)Stuart Henderson
2017-12-26syncJeremie Courreges-Anglas
2017-12-26syncMark Kettenis
2017-12-25syncPatrick Wildt
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-17syncTheo de Raadt
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@
2017-12-17allow '-' in usernamesRobert Peichaer
requested and OK aja OK halex@
2017-12-16syncTheo de Raadt
2017-12-15syncJeremie Courreges-Anglas
2017-12-14syncTheo de Raadt
2017-12-14syncTheo de Raadt
2017-12-05syncTheo de Raadt
2017-12-03pledge(2) elfrdsetroot:Theo Buehler
- pledge(2) "stdio" after managing arguments (opening files) - add $OpenBSD$ markers on elfrd_size.c and elfrdsetroot.h - add a check for NULL on malloc(3) call in elfrd_size.c from semarie, ok deraadt
2017-12-03Include dtbs for Wandboard rev D1 including the i.MX 6QuadPlus variant.Jonathan Gray
Requires U-Boot >= 2017.11 and dtb >= 4.15-rc1.
2017-12-03syncJonathan Gray
2017-12-02syncTheo de Raadt
2017-12-01arm64 is now also a _syspatch_archTheo Buehler
2017-12-01In the macppc installer, switch the default answer for the partitionStefan Sperling
table question from "HFS" to "MBR". Most people will want to run OpenBSD exclusively on such machines these days. ok kettenis@
2017-11-30Replace `coremask' with `numcores'.Visa Hankala
2017-11-30Prefer `numcores' to `coremask'. The former is probably easierVisa Hankala
to use than the latter.
2017-11-30Fix variable expansion.Visa Hankala
From Rafael Neves
2017-11-29syncTheo de Raadt
2017-11-19add growfs(8) to ramdiskjob
Some resizing scenarios can be done from within single user mode, but resizing the root partition required you to bring your own growfs(8) binary into the ramdisk environment. This commit adds growfs(8) to the ramdisks (the ones that don't have space constraints) to simplify such operations. OK deraadt@
2017-11-16syncTheo de Raadt
2017-11-05Fix http server selection from the list of mirrors. This broke inRobert Peichaer
r1.989 in a way that when selecting a mirror from the list by entering a number, the selection was not actually set as answer. Noted by and OK tb@
2017-11-05Consolidate lib.so.*.a, ld.so.a and the kernel relink kit intoRobert Peichaer
one location under /usr/share/relink. Be more specific in src/etc/rc reorder_libs() what filesystems need r/w remount and ensure that their mount state is restored. Idea and positive feedback from deraadt@ OK aja@ tb@
2017-11-05syncJeremie Courreges-Anglas
2017-11-04syncVisa Hankala
2017-11-02Fix this test by adding _http_proto to INSTALL_MIRROR.Robert Peichaer