summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2021-07-31syncTheo de Raadt
2021-07-31remove mention of BeagleV StarlightJonathan Gray
"The BeagleV-Starlight prototype will not be going into mass production" https://forum.beagleboard.org/t/the-future-of-beaglev-community/30463
2021-07-28cleanup some md vs mi differences that accumulatedTheo de Raadt
2021-07-27syncTheo de Raadt
2021-07-26Pass make flags to kernel and lib buildskn
Running `make -j4' in /usr/src/distrib/amd64/ramdisk_cd/ et al. executes make(1) to both build the RAMDISK kernel and build libraries. Doing so does not propagate the flags specified to the ramdisk_cd invocation, which in turn means `-j4' for example is ignored and both kernel and libraries will not be built in parallel. Pass make(1)'s MFLAGS along to retain relevant flags; make is clever enough to separate flags, variable assignments and targets from each other and only pass along things to `MFLAGS' that'd make sense, i.e. `make -C. -j4 foo=bar' does *not* pass `-C.' to change directories. (can be easily tested with `make -p ... | grep MFLAGS'.) This makes hacking on ramdisks/the installer much faster, espescially since the `bsd' target does `make clean' and therefore builds a new kernel every time. OK deraadt
2021-07-24syncTheo de Raadt
2021-07-23syncTheo de Raadt
2021-07-21syncStuart Henderson
2021-07-21Use exclusive lock under /dev/, silence expected errors in installerkn
resolvd(8), slaacd(8) and dhcpleased(8) are different from other daemons in that there must only be a single instance. resolvd already does this, adjust slaacd and dhcpleased accordingly while moving the lockfile paths under /dev/ such that they work early on boot and don't run into races should /var be (un)mounted between daemon starts. Locking is especially required in the installer where all three daemons are started every time the "(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? " prompt is entered, i.e. restarting installation or dropping into a shell and back into the prompt again would start multiple instances. To avoid expected lockfile error messages in between installer prompts, discard standard error when starting the autoconf daemons; none of them has other potential failure cases in installer mode before daemon(3)izing. Input sthen deraadt OK deraadt
2021-07-20Use installboot -p such that the right partition will be newfs'ed.Mark Kettenis
ok krw@, deraadt@
2021-07-20syncTheo de Raadt
2021-07-20Simplify DHCP lease file parer after switch to dhcpleasedkn
dhcpleased(8)'s lease files are much simpler than dhclient.leases(5): - exactly one lease per file (not many) - only option lines (not statement, declaration, etc.) - every option/value is separated by a single ": " (no optional leading "option ") - values are not quoted or escaped (like dhclient does) lease_value() is hard to read, mostly because it strips optional double quotes around option values as was required with dhclient. dhclient VIS_ALL's values if they contain backticks, backslashes and other characters, otherwise it VIS_SAFE's (and optionally quotes them). dhcpleased VIS_SAFE's all value strings equally. All install.sub users of lease_value() quote its output so they should be safe without any special unescaping as previously done. OK florian
2021-07-18Remove hackery around /tmp/i/resolv.conf*. In particular "lookup file bind"Theo de Raadt
is required because of TLS servername for contacting ftp.openbsd.org, and there is no point doing that in resolv.conf.tail because it is no longer used. ok florian kn
2021-07-16this media can also use dhcpleased nowTheo de Raadt
2021-07-16Switch from dhclient to dhcpleased in the installer.Florian Obser
More cleanup is needed from a real ksh hacker, but looks already pretty good to kn. OK deraadt
2021-07-16Create working directories earlier so that resolvd can writeFlorian Obser
resolv.conf.shadow and start dhcpleased/resolvd. OK deraadt
2021-07-16Replace dhclient with dhcpleased/resolvd on the ramdisk.Florian Obser
OK deraadt who also helped making some space.
2021-07-16create lease directory for dhcpleased in the ramdiskFlorian Obser
OK deraadt
2021-07-15more space savingsTheo de Raadt
2021-07-15space savings on install kernels. (restore and ralink drivers+firmware goTheo de Raadt
away)
2021-07-13syncTheo de Raadt
2021-07-11syncTheo de Raadt
2021-07-10syncTheo de Raadt
2021-07-08syncTheo de Raadt
2021-07-07dedupStuart Henderson
2021-07-07syncTheo de Raadt
2021-07-07syncStuart Henderson
2021-07-06fix an m4 macro which showed up unexpanded. kill some trailing whitespace ↵Jasper Lievisse Adriaanse
while here
2021-07-05Don't use a non-standard empty statement in while loopsJeremie Courreges-Anglas
Empty statements accepted by ksh(1) pointed out by millert@, use of this non-standard grammar in the installer pointed out by halex@. ok halex@ millert@
2021-07-04syncTheo de Raadt
2021-07-04syncTheo de Raadt
2021-07-01delete sbin/restoreTheo de Raadt
2021-06-29syncTheo de Raadt
2021-06-29include bsd.mp (but don't change isntall.md to choose it yet)Theo de Raadt
2021-06-29syncTheo de Raadt
2021-06-25Allow (w)hole disk allocation for GPT disks. Use fdisk -A when Apple APFS ISCKenneth R Westerback
partition is detected. Otherwise the normal big hammer fdisk -ig. Only create EFI SYS boot partition on GPT disks that are the ROOTDISK. ok kettenis@ deraadt@
2021-06-25sync set sizes with latest snapshotJonathan Gray
initial sizes were from arm64
2021-06-25sync set sizes with latest snapshotJonathan Gray
initial sizes were from arm64
2021-06-24trim usage to match the man page;Jason McIntyre
remove -DSEEALSO, as suggested by millert ok millert
2021-06-23syncTheo de Raadt
2021-06-21syncTheo de Raadt
2021-06-19sync with riscv64.htmlJonathan Gray
2021-06-19syncTheo de Raadt
2021-06-19arm64 -> riscv64Jonathan Gray
2021-06-19bootaa64.efi -> bootriscv64.efiJonathan Gray
2021-06-19add riscv64 to allarchsJonathan Gray
2021-06-18syncTheo de Raadt
2021-06-18Provide directions on how to install UnmatchedDale Rahn
ok jsg@(with suggested improvements) mlarkin@
2021-06-18do not guess at MP support yet.Theo de Raadt
2021-06-18special is SMALLFlorian Obser