summaryrefslogtreecommitdiff
path: root/distrib/amd64
AgeCommit message (Collapse)Author
2016-12-30Install cert.pem + ftp(1) binary that supports SSL, so the install scriptTheo de Raadt
can perform https fetches. While non-critical for sets (which are verified using signify), it is an uplift for communication towards the ftp.openbsd.org cgi which provides mirror proposals, entropy seeds, and current time. [The install script changes are not included in this commit] ok beck jsing rpe
2016-11-24Use makefs to build bsd.rd. amd64 and i386 are first; other platformsMartin Natano
will follow with some safety distance when I figured out all MD quirks. makefs allows to build the ramdisk image as an unprivileged user. The next step in the quest to reduce root during builds. ok deraadt
2016-10-19Inline IMAGE, CBIN, CRUNCHCONF and XNAME.Martin Natano
ok deraadt
2016-10-19Inline IMAGE, CBIN, CRUNCHCONF and XNAME.Martin Natano
ok deraadt
2016-10-19Unshare Makefile.inc so we can determine how to squeeze makefsTheo de Raadt
into the picture. ok natano
2016-10-14Use new kernel compile method for ramdisks, de-escalating to $BUILDUSERTheo de Raadt
as required. much help from natano and tb.
2016-09-17ping6(8) is now a hardlink to ping(8).Florian Obser
The instbin stuff looks good to deraadt@
2016-09-13Provide a stripped down group file for the install media.Robert Peichaer
Saves precious 896 bytes as a side effect. OK deraadt
2016-09-04Move files created by root during install/upgrade in a subdir ofRobert Peichaer
/tmp with proper permissions so that unprivileged programs can not tamper with them. positive feedback from deraadt OK halex
2016-09-04Move files created by root during install/upgrade in a subdir ofRobert Peichaer
/tmp with proper permissions so that unprivileged programs can not tamper with them. positive feedback from deraadt OK halex
2016-09-03Enable a stripped down version of doas(1) on the install media.Robert Peichaer
OK halex, tb, deraadt
2016-09-02Fix misleading 'No valid MBR or GPT' message when no OpenBSD area is found.Paul Irofti
The current code is too strict and checks for an OpenBSD area inside an MBR or GPT and if it fails to find one reports that there's no valid MBR or GPT (which is misleading because the MBR/GPT is valid). Instead, do two checks (similar to i386): first see if there's an MBR or GPT present on the disk and if there is then check for the OpenBSD area. OK krw@, halex@.
2016-04-02- merge install.sh into install.sub as do_install()Robert Peichaer
- merge upgrade.sh into install.sub as do_upgrade() - delete install.sh and upgrade.sh - make install.sub executable - turn install and upgrade into symbolic links to install.sub - add autoinstall symbolic link to install.sub - change dot.profile to use these symlinks - introduce a -m option to set MODE in install.sub - alternativly set MODE and AUTO depending on PROGNAME - execute the do_{install,upgrade) functions depending on $MODE OK halex@, krw@ 'go for it' deraadt@
2016-02-08If manual disklabel editing is requested during install, don't emitKenneth R Westerback
verbiage explaining what disklabels are. If you don't know, you should be using (A)uto! ok rpe@ halex@
2015-12-29Change patterns in case-blocks from a*|A* to [aA]*Robert Peichaer
OK halex@ krw@
2015-12-28- no need to insist on EFISYS partitions on non-root disks.Robert Peichaer
- prevent autoinstall loop OK 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-12-02Make GPT an option equivalent to MBR when installing. Warn that theKenneth R Westerback
result may not be bootable if GPT is used on a machine that did not boot via EFI. But allow the user to proceed if the user insists. Sometimes you just want to create an EFI bootable image on a non-EFI machine. Enforce the presence of both an OpenBSD partition and an EFI Sys partition if GPT partitioning is used. Prompted by complaints and observations from kettenis@. Verbiage tweak from doug@. Tested & ok 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-10-09Exit autoinstall in case of an invalid choice.Robert Peichaer
OK krw@
2015-10-07Add initial support for UEFI/GPT installs to install script. OriginalKenneth R Westerback
diff from rpe@. ok deraadt@ yasuoka@
2015-09-07also install BOOTIA32.EFITheo de Raadt
2015-09-06Use the new fdisk -b functionality to put an EFI system partition on theMark Kettenis
minirootXX.fs image and put the new UEFI bootloader on there. Stop relying on /etc/disktab for the partition layout. Instead use a suitable template and let disklabel(8) allocate all remaining free space to the 'a' partition. ok deraadt@
2015-09-06create uefi/msdos partition using fdisk -b, then place uefi bootloaderTheo de Raadt
into there. inspired by similar changes kettenis is making to the smaller miniroot.
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-01-12Enable lid suspends by default in the kernel, and remove the question fromTheo de Raadt
the installer. We used a full release cycle to learn that suspend/resume is reliable enough for this default. Personal policy can disable this using machdep.lidsuspend=0 in /etc/sysctl.conf ok more people begging, and less people whining
2014-12-28Build special/encrypt into instbin, to prepare for dropping use of theTheo de Raadt
version in just installed base.
2014-12-23successful switchover to non-reach-around SRCDIRTheo de Raadt
2014-12-03rtsol(8) is no longer needed on the ramdisks.Florian Obser
OK deraadt@
2014-09-21xetc set does not go onto little isoTheo de Raadt
2014-08-26no more exposed etc setTheo de Raadt
2014-08-15Align install.md files with installer style.Robert Peichaer
- { foo ; bar ; } -> { foo; bar; } - if foo ; then -> if foo; then OK halex@
2014-07-20ask about lidTheo de Raadt
2014-07-20Oddly, chmod chgrp chown were at the wrong path on these media.Theo de Raadt
from Jean-Philippe Ouellet
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-03-30increase size of iso media (try 2)Theo de Raadt
2014-03-30increase size of iso mediaTheo de Raadt
2014-03-29Place kernel after running installboot, because this makes overflowTheo de Raadt
easier to calculate.
2014-03-06uhm, kill the right file, resurrect the otherTheo de Raadt
2014-03-06cdemu diesTheo de Raadt
2014-03-03use official 5.5 keyTheo de Raadt
2014-03-02create small i386 and amd64 miniroots. These can be dd'd to a usb stickTheo de Raadt
or such, and easily booted. Work by chris, integration mechanism by me