summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2021-12-09syncTheo de Raadt
2021-12-09syncTheo de Raadt
2021-12-07Two of the umount -f are not neccessary, and only risk leavingTheo de Raadt
filesystems in bad shape. The other -f are special, and I haven't though through them yet. discussed with florian and tb a while back
2021-12-03Revert previousKlemens Nanni
Those scripts are not hooked up to the build yet; I assumed they were without checking, my bad. Reminded by deraadt
2021-12-03Ship mpi's helpers, see share/btrace/Makefile r1.1:Klemens Nanni
--- Provide common btrace(8) scripts . kprofile.bt - to save kernel stackframces and produce flamegraphs . runqlat.bt - to measure the latency of the scheduler runqueues
2021-12-02unmount real root partition from /mnt before the cgi/random actionsTheo de Raadt
which run asyncronously and can grab vnodes race to make the umount fail spuriously problem seen and diagnosed by Yuichiro NAITO ok florian
2021-11-27syncTheo de Raadt
2021-11-25sync with arm64.htmlJonathan Gray
2021-11-24syncTheo de Raadt
2021-11-23syncTheo de Raadt
2021-11-21syncTheo de Raadt
2021-11-19syncTheo de Raadt
2021-11-18syncTheo de Raadt
2021-11-15syncTheo de Raadt
2021-11-13Use long filenames by default on FAT filesystemsKlemens Nanni
These days, 8.3 filenames are often a problem, filesystems containing firmware with long names must not truncate them -- it's also a sane default as portable file system between OSes, anyway. Altough undocumented in mount_msdos(8), the default for FAT32 already is to use long filenames: ever since its import from NetBSD in 1998. Previously, mount_msdos would ignore long filenames and default to short filenames unless a flag was used or long ones were found on the filesystem prior to mounting it. Just always mount with support for long filenames (unless `-s' is used). As various install media use FAT filesystems, adjust the remaining ones to also pass explicit mount option reflecting the previous default. OK deraadt
2021-11-12sync after libc++abi minor bumpRobert Nagy
2021-11-11Make "config -e" work with ramdisk kernelsKlemens Nanni
amd64, alpha, i386 and macppc strip *all* symbols off the ramdisk bsd.rd (before compressing it) and thus break config(8)'s modification feature: $ gzcat bsd.rd > bsd.rd.raw $ config -e bsd.rd.raw ... config: failed to get first cfdata This is different from "boot> boot /bsd.rd -c" which sucessfully drops into UKC on all platforms regardless of stripping. Having needed "config -e" this on arm64 made me look into this for all platforms. Other platforms work because they don't strip these symbols. Tweak objcopy(1)'s stripping on amd64 and macppc to unbreak permanent modifications. I have no alpha or i386 to test, so these remain broken. macppc works without cranking media size. amd64 was cranked to the smallest possible size. OK deraadt
2021-11-11syncTheo de Raadt
2021-11-10syncTheo de Raadt
2021-11-09Add gpiokeys(4) for arm64Klemens Nanni
This driver handles events triggered by GPIO keys such as lid status and power button. OK kettenis
2021-11-08syncTheo de Raadt
2021-11-08Rename/move site(8) into install.site(5)Klemens Nanni
These sets/scripts are not commands and there is nothing actually called "site". This is configuration, so use section five. Also rename to what actually exists. Discussed with deraadt schwarze jmc OK deraadt
2021-11-08syncTheo de Raadt
2021-11-07increase ramdisk space for another driverTheo de Raadt
2021-11-06Add site(8), OpenBSD installation and upgrade customizationKlemens Nanni
This is practically https://www.openbsd.org/faq/faq4.html#site "Customizing the Install Process"++ with practical examples and references to/from relevant manuals. Prodding/first diff from Aaron Poffenberger <akp AT hypernote DOT com> "I didn't know about it and now I'm using it on all my systems." florian Feedback semarie afresh1 OK afresh1
2021-11-02syncTheo de Raadt
2021-11-02Remove "!" escape handling from WEP/WPA passphrase questionsKlemens Nanni
Answering any question (except user password prompts) with "!" drops to the shell ("!foo" executes "foo" immediately), but this is an obviously bad idea for the wifi passphrase questions in case the magic words start with... an "!": WPA passphrase? (will echo) !2345678 /install: 2345678: not found WPA passphrase? (will echo) Adapt the existing password prompt code into a new self-contained ask_passphrase() which prompts only once and echos its input (like the passphrase question has been doing all the time), doing no input parsing whatsoever (as with user passwords): WPA passphrase? (will echo) !2345678 IPv4 address for bwfm0? (or 'autoconf' or 'none') [autoconf] Reported by Pasi-Pekka Karppinen <ppkarppi AT icloud DOT com>, thanks! Feedback tb (wifi passphrases should still be printed) OK deraadt
2021-11-01syncTheo de Raadt
2021-10-31syncTheo de Raadt
2021-10-31syncTheo Buehler
2021-10-31syncTheo de Raadt
2021-10-29syncTheo de Raadt
2021-10-28syncStuart Henderson
2021-10-26syncTheo Buehler
2021-10-26syncTheo de Raadt
2021-10-25syncTheo Buehler
2021-10-24syncTheo de Raadt
2021-10-24Use ifconfig(8)'s "join" command by defaultKlemens Nanni
Its adoption went quite well, so install "join" rather than the old "nwid" in new hostname.if(5) files and follow this trend in our wifi manuals. OK deraadt sthen
2021-10-24Fall back to HTTP for fetching automaticallyKlemens Nanni
Drop the "Unable to connect using https. Use http instead?" question as it does not provide any security benefit; SHA256.sig is used to verify sets. Do provide an informative message iff the fallback happened such that installations/upgrades that cannot Get/Verify first but Install directly can be aborted in lack of SHA256.sig, i.e. sets were fetched over HTTP and verification would be skipped. Discussed with deraadt tb OK deraadt
2021-10-23syncTheo de Raadt
2021-10-23Arithmetic is hard! Since MBR partition 0 is the only partition in the bootKenneth R Westerback
media MBR, just use '*' to take all the available space. ok visa@ deraadt@
2021-10-23dhclient -> dhcp in commentKlemens Nanni
2021-10-22syncAnton Lindqvist
2021-10-21Remove hifn(4), safe(4), and ubsec(4) crypto drivers. They requireAlexander Bluhm
the asynchronous crypto API which makes progress in MP difficult. The hardware is rarely available. They support only obsolete crypto algorithms. Scheduling crypto tasks via PCI is probably slower than the CPU, especailly as modern CPUs have their own accelerators.
2021-10-21syncAnton Lindqvist
2021-10-20syncAnton Lindqvist
2021-10-17Disambiguate "autoconf" handling now that it is used for IPv4 as wellKlemens Nanni
This was the last mention of "dhcp" in our manuals except for hostname.if(5) documenting it as an "inet autoconf" alias; everything has been converted to modern syntax now (hopefully). OK jmc
2021-10-17Install "autoconf" as proper "inet autoconf" in hostname.if(5) filesKlemens Nanni
OK aja
2021-10-13Provide realpath(1)Klemens Nanni
A tiny realpath(3) wrapper to make a porter's life easier. Feedback kettenis deraadt cheloha sthen OK cheloha martijn deraadt
2021-10-12make armv7 fit again after bootblock growth; discussed with jsgTheo de Raadt