summaryrefslogtreecommitdiff
path: root/distrib/armish
AgeCommit message (Collapse)Author
2015-12-29Change patterns in case-blocks from a*|A* to [aA]*Robert Peichaer
OK halex@ krw@
2015-12-18Introduce a new function disk_has() to inspect a disk if it has aRobert Peichaer
partition-table of a certain type and optionally if it has a partition of a certain type. Use disk_has() in the install.md script to replace all the various "fdisk <disk> | grep <pattern>" commands greatly simplifying things. positive feedback from sthen@ "time to get it really tested" deraadt@ OK krw@
2015-12-02If (O)penBSD is not offered as a partitioning option, do not acceptKenneth R Westerback
'O*|o*' as a valid response. Ignore it as we do other invalid input. armv7 is special case to be handled separately. Noticed by kettenis@. ok deraadt@ rpe@
2015-11-09Fix commas in "Use (W)hole disk MBR..." question.Robert Peichaer
OK jmc@ krw@
2015-10-25Use 'fdisk -i', instead of 'fdisk -e' with a here document ofKenneth R Westerback
'reinit;update;write;quit'. They've done the same thing for some time now. Tweaks & test from rpe@. ok rpe@ deraadt@
2015-06-02Remove the $FSTABFLAG variable and use -F directly. The installerRobert Peichaer
uses disklabel UIDs unconditionally for a while already. OK krw@ "looks good" deraadt@
2015-06-02ReplaceRobert Peichaer
[[ -n $(foo | grep 'bar') ]] with foo | grep -q 'bar' OK halex@ krw@
2015-05-31Replace identical code in the MD scripts of the installer with a newRobert Peichaer
MI function disklabel_autolayout() which now handles all aspects of the disklabel auto-layout and autopartitioning case for the root disk. Remove get_disklabel_template() and merge it with the new function. "move forward" deraadt@
2015-05-04Add the new template file based autopartitioning feature of disklabel(8)Robert Peichaer
to the OpenBSD installer. It is available during unattended installation. The template file is fetched from an url, provided as answer to a new question in the response file: URL to autopartitioning template for disklabel = url Original diff from and OK henning@ 'no objection' krw@
2015-04-13pwd_mkdb now fits onto the install media. no more chroot games.Theo de Raadt
2015-04-02more -> less; not less -> moreTheo de Raadt
2015-03-11adjust for removal of expr (and while here, sort all these lists, with theTheo de Raadt
goal of eventually refactoring them)
2015-02-23expr no longer needed on media, thanks to halex and todd and rpeTheo de Raadt
2014-12-28Build special/encrypt into instbin, to prepare for dropping use of theTheo de Raadt
version in just installed base.
2014-12-27SRCDIRS must now always come from distrib/special. A few systemsTheo de Raadt
still MD installboot, and we will need to repair those before release, or force them pure -static use by both base and instbin.
2014-12-03rtsol(8) is no longer needed on the ramdisks.Florian Obser
OK deraadt@
2014-07-20place sysctl in sorted order; Jean-Philippe OuelletTheo de Raadt
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-03-03use official 5.5 keyTheo de Raadt
2014-01-19we no long use the /var/hash files, but rely on the SHA256.sig file.Theo de Raadt
We can remove the hashing support.
2014-01-11No need for a bin/cpio link on the media, because the pax|tar binary doesTheo de Raadt
not support cpio anymore.
2014-01-10remove md5 after installing it (with the links to the sha256/512 commands).Theo de Raadt
this is because the md5/sha256/sha512 are in the same binary, found in the md5 directory, but the version on the media lacks md5 support. Understand?
2014-01-09copy the relevant key for the release onto the mediaTheo de Raadt
2014-01-08Switch to using the base sha256 command, rather than some customizedTheo de Raadt
abomination. install.sub chunk tested by rpe
2014-01-07SRCDRS usr.bin usr.sbin is a bad idea (because of PIE). The places weTheo de Raadt
pick binaries up must be compiled -static or at least in some safe model for reuse. Since we now use distrib/special for those, we can safely remove usr.bin and usr.sbin from this list.
2013-11-16Remove AUTOROOT variable which is a leftover of r1.183 of install.subRobert Peichaer
diff from Philipp e1c1bac6253dc54a1e89ddc046585792 at osteo dot net ok krw@ halex@
2013-10-15We do not produce "core" files, so they do not need to be deleted. theyTheo de Raadt
have been *.core files for a very long time. That's a lot of unlink() calls saved.
2013-10-14Turn on the distrib lib bits in crunchgen by setting SRCLIBDIR.Philip Guenther
Add the new files to the clean target's rm list. "why not get it tested?" deraadt@
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
interface and route configuration via ioctl's and routing sockets. This will break configurations using local enhancements of dhclient-script, which will now require alternate arrangements. Committing early to allow time to identify and develop required alternatives. Several proddings by deraadt@.
2012-07-10since disklabel -W is no more, zap it from all the install.md'sAlexander Hall
ok krw@
2011-07-09Unbreak most archs for the last commit. cut and paste changed rdsetrootDale Rahn
to elfrdsetroot. Does not yet fix sparc
2011-07-08Allow the elf rdsetroot operation to function on 32 bit and 64 bit binaries.Dale Rahn
Enables developers to build arm ramdisk kernels on amd64 archs OK deraadt@ 'looked fine' miod@
2011-04-18Deprecate vnds in favour of svnds.Thordur I. Bjornsson
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
2011-04-17First crack at enabling the installation of a DUID version ofKenneth R Westerback
/etc/fstab, after asking user. Current default is existing behaviour. Feedback & suggestions deraadt@, halex@, jsing@, todd@. ok deraadt@
2011-04-15No need to make depend kernels; ok guentherTheo de Raadt
2010-10-18Place a smaller spwd.db onto the install media. Be consistant with the namingTheo de Raadt
of the "additional" list files (for architectures which split the list) Then... cleanup some TZ which it is clear should not have been placed onto certain media which don't have the space for them.
2010-03-31put date(1) onto the media, it fitsTheo de Raadt
2010-01-01add arch(1) to the ramdisk, it is tiny and we will soon need itTheo de Raadt
2009-06-11Do not show MBRs without the correct signature, instead say they areTheo de Raadt
bogus and provide less options to the user ok krw
2009-06-04Nuke now superfluous ARCH=ARCH lines in install.md and the sed processing ofKenneth R Westerback
those lines in list2sh.awk. ok deraadt@
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
Both cause partition sizes to be displayed using a human readable format with the units automatically chosen by looking at the smallest partition in the disk label. Remove forceable humanization in 'A' code and use '-h' in install scripts. Prodded & ok deraadt@, verbiage tweaks from jmc@
2009-06-02add TZ on install media where it should fitTodd T. Fries
ok deraadt@
2009-05-11Remind people that mountpoints must now be entered using the disklabelTheo de Raadt
command; the script does not ask afterwards. Note I am not adjusting the macppc or sgi install.md scripts. I ask their maintainers to clean them before I will maintain them further. Please
2009-05-03We will need bin/sleep on all ramdisks.Theo de Raadt
2009-04-30Redo the fdisk handling for MBR-only architectures (macppc has to getTheo de Raadt
caught up one day, but that is not my battle). Hope people like this tested by oga, ok krw
2009-04-19Use sysctl -n hw.disknames instead of the custom disknames programTheo de Raadt
2009-04-17more syncronization steps..Theo de Raadt
2009-04-17unify some more piecesTheo de Raadt
2009-04-17For SHA256 hashes to be ready to go onto the install media, we mustTheo de Raadt
build the sets before we build the media. While there we can get rid of DESTDIR/snapshot too, and simply install straight into RELEASEDIR. (This also ends up saving an astounding amount of traffic/latency in a nfs environment)
2009-04-17Put bin/sha256 and build a hash directory onto the media that can fitTheo de Raadt
them