summaryrefslogtreecommitdiff
path: root/distrib/sparc64
AgeCommit message (Collapse)Author
2024-06-09include BUILDINFO file in the iso/img files; requested by florian for ↵Theo de Raadt
sysupgrade changes
2024-01-19More files to be blessed by the clean target.Miod Vallat
2023-04-28Move FSDISKTYPE uses from disklabel(8) invocations to vnconfig(8)Kenneth R Westerback
invocations, making the geometry information written to the disklabel a bit more logically related to the disktab information from whence it came. Also makes FSDISKTYPE usage consistent. Flip the disklabel(8) invocations to the "echo '/ *'" idiom to make it obvious that the desire is to create a single 'a' partition containing all free space. No intentional functional change. MBRs, disklabels and newfs outputs appear identical. reads good to kn@
2023-04-28Retire -E's "expert" mode. Introduced 23 years ago to avoidKenneth R Westerback
confusing users with FFS attributes that only experts should fiddle with. Actual use has withered away with functionality rendered moot or moved elsewhere. '-e' remains for the truly obscure corner cases. Simply excise the code for now to see if hidden users/uses are exposed. Further simplifications are possible if no such users/uses surface. ok with sthen@ millert@ kn@ otto@
2023-04-26Don't rely on the disklabel defaults or a disktab entry's ba#/fa#Kenneth R Westerback
values for the block/fragment sizes that some install media need. Hoist the desired values into the newfs(8) invocations to make it obvious non-default values are required and what the values are. No functional change.
2023-03-07Initial support for guided disk encryptionKlemens Nanni
One new question to cover the most common use case, such that manual setup in (S)hell or '!' prior to install is no longer required: Encrypt the root disk? (disk, 'no' or '?' for details) [no] ? Create a passphrase protected CRYPTO softraid volume to be used as root disk. Available disks are: sd0. Encrypt the root disk? (disk, 'no' or '?' for details) [no] Use of keydisk or different disciplines are not covered. Only asked in interactive installations; no autoinstall(8) or upgrades. Only reachable on i386, amd64, sparc64 and riscv64 for now (arm64 WIP). Tested by cheloha naddy and a few users Feedback from cheloha deraadt claudio OK cheloha "get it in now" deraadt
2022-11-05Add mount_nfs(8) to fetch sets over NFSKlemens Nanni
bsd.rd and miniroot72.img fit, boot and install over NFS with this. OK deraadt
2022-05-08Software we import from outside tends to bloat faster than software weTheo de Raadt
write ourselves. This is a sad fact. libz just did this to us, again. I don't care to hunt for reasons or justifications because it is an endless battle. Therefore this tiny (floppy) media can no longer include the TZ files. Because some other architectures also have tight media, we have an install script mechanism to cope with this -- when they are missing, it asks the timezone question later, after the base set is installed with the files)
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-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-16Replace dhclient with dhcpleased/resolvd on the ramdisk.Florian Obser
OK deraadt who also helped making some space.
2021-07-15more space savingsTheo de Raadt
2021-07-15space savings on install kernels. (restore and ralink drivers+firmware goTheo de Raadt
away)
2021-04-11Create a sparc64 install*.img file alsoTheo de Raadt
tested by kettenis
2021-02-14distrib: restore rdsetroot -x usage (extract the disk.fs image) on stripped ↵Sebastien Marie
bsd.rd It passes options to keep rd_root_size and rd_root_image symbols while stripping. These symbols are the ones used by rdsetroot to insert or extract disk image into RAMDISK. ok danj@ deraadt@
2021-02-14distrib: use ${MACHINE} instead of hardcoded valueSebastien Marie
ok deraadt@
2021-02-13distrib: merge "cp a b; strip b" to "objcopy -S a b"Sebastien Marie
ok deraadt@ danj@
2021-02-13distrib: merge objcopy -Sg and strip commandsSebastien Marie
in the command "objcopy -Sg", the -g option (STRIP_DEBUG) overrides the -S option (STRIP_ALL). so it is the same as "objcopy -g". "strip" command without option is doing STRIP_ALL. merge the both commands to "objcopy -S" ok deraadt@ danj@
2021-02-13distrib: remove STRIPOPTS variable from alpha and sparc64 MakefileSebastien Marie
ok deraadt@ danj@
2020-12-31oops, this was installing the smaller bsd.rd, which would be replacedTheo de Raadt
by the proper miniroot bsd.rd a bit later.
2020-05-18Make ffs2 the default for newfs; change all calls to create e.g. floppyOtto Moerbeek
filesystems or ramdisks to use explicit -O 1; installer already does that. ok sthen@
2020-05-17Change install images called *.fs to *.img. These are UFS filesystem images,Theo de Raadt
but additionally have a bootblock in the first 8K (since UFS does not use that space). There are some UEFI direct-from-internet bootloaders that require the name *.img. So this makes things more convenient for those, while keeping it consistant in all architectures. ok kettenis beck kn
2020-04-04clang bsd.rd is a bit bigger..Theo de Raadt
2019-06-08grow sparc64 miniroot a littleTheo de Raadt
2019-06-07eliminate differences between all the list files as much asTheo de Raadt
possible, and remove the failed previous attempts at sharing in ./miniroot and ./ramdisk. maybe now that differences are eliminated we can start a new sharing effort? i dunno..
2019-06-02first few small steps towards unificationTheo de Raadt
2019-05-13Add tee(1) to the ramdisk filesystem and use it to provide both aChristian Weisgerber
moving progress bar during auto upgrade/install and a clean log afterwards. ok deraadt@
2019-05-10The cdrom contains a nested ffs filesystem, so indicate that dependencyTheo de Raadt
for large-factor make -j, hit by claudio
2019-05-03Further removal of differences (using install instead of cp, sortingTheo de Raadt
chunks in a specified order, using a few variables, performing bsd.rd to bsd.gz conversion as similar as possible)
2019-04-30step by step, more removal of differencesTheo de Raadt
2019-04-30repair more trivial differencesTheo de Raadt
2019-04-30rm is in /bin, no need to specifyTheo de Raadt
2019-04-30merge cdfs into miniroot, so that it doesn't need obj reacharoundTheo de Raadt
2019-04-30Every Makefile on every architecture had deviated in unique ways.Theo de Raadt
Eliminate many more differences. When it makes sense, build bsd.rd and miniroot/ramdisk.fs and cd.iso in the same directory. More steps coming after this..
2019-04-29These Makefile.inc are now empty and unused.Theo de Raadt
2019-04-29TOPDIR and TOP are not neccessary.Theo de Raadt
2019-04-29remove the abstraction REV on top of abstraction OSrev which is alwaysTheo de Raadt
the sme.
2019-04-28cleanup the situation around "df -i"Theo de Raadt
2019-04-28incorporate GZIPFLAGS into place everywhereTheo de Raadt
2019-04-28CBIN variable is also pointless, it is always "instbin". Rather thanTheo de Raadt
having two mysterious names, let's settle on one.
2019-04-28the BSD_RD variable is pointlessTheo de Raadt
2019-04-28Use new vnconfig vnd-auto-allocate mode. Resolve some variation betweenTheo de Raadt
architectures, and start removing some crazy junk that has collected over the years. Being tested on all architectures... ok various people.
2019-04-14Instead of using COPTS=-Oz (and similar) in make environment to forceTheo de Raadt
tightly-built ramdisk kernels, set the option in per-arch Makefile.inc based upon SMALL_KERNEL
2019-04-05Use new rdsetroot.Theo de Raadt
2018-10-07add new ral-rt3290 firmwareJonathan Gray
ok kevlo@
2018-04-08Move slaacd from ramdisk to bsd.rd, found out the hard way.kn
OK deraadt
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-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-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@