1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
Commit Graph

173 Commits

Author SHA1 Message Date
otto
91b8c64f83 make non-root filesystems ffs2 for landisk, sgi and luna88k; ok aoyama@ visa@ 2020-05-25 06:18:53 +00:00
otto
6bc807e4d8 Make ffs2 the default for newfs; change all calls to create e.g. floppy
filesystems or ramdisks to use explicit -O 1; installer already does that.
ok sthen@
2020-05-18 06:20:43 +00:00
deraadt
4675fc66a8 Change install images called *.fs to *.img. These are UFS filesystem images,
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-05-17 17:04:27 +00:00
krw
5398943e9c Make FFS2 the default filesystem type on installs except for landisk,
luna88k and sgi.

ok otto@ deraadt@ (for diff with same effect)
2020-04-05 15:15:42 +00:00
deraadt
b2c5e89128 eliminate differences between all the list files as much as
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-07 14:39:54 +00:00
naddy
9ff7454ddb Add tee(1) to the ramdisk filesystem and use it to provide both a
moving progress bar during auto upgrade/install and a clean log
afterwards.  ok deraadt@
2019-05-13 23:18:21 +00:00
deraadt
857fb18c06 like ../cdfs/, not yet adjusted to use FSSIZE 2019-05-05 15:59:19 +00:00
deraadt
4679af3a2a Use MOUNT_POINT throughout, consistant with other platforms. 2019-05-03 23:53:05 +00:00
deraadt
5f75b38db3 cannot give newfs a -c parameter yet, since this Makefile still
thinks in terms of MB and it's not a trivial conversion.
2019-05-03 23:49:06 +00:00
deraadt
0e6c59ceb5 Further removal of differences (using install instead of cp, sorting
chunks in a specified order, using a few variables, performing bsd.rd
to bsd.gz conversion as similar as possible)
2019-05-03 20:03:57 +00:00
deraadt
4a0e86bfb0 refer do the nested FFS filesystem by name FS, since it is similar to
a miniroot.fs elsewhere (but not made available because noone needs it)
this reduces the diff delta further...
2019-05-02 01:18:40 +00:00
deraadt
5602f3f873 verbose mkhybrid was never needed on these arch 2019-05-01 20:53:55 +00:00
deraadt
03c1d9f766 rm is in /bin, no need to specify 2019-04-30 21:14:58 +00:00
deraadt
47fa51d500 Every Makefile on every architecture had deviated in unique ways.
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-30 17:46:00 +00:00
deraadt
956c58cb5e These Makefile.inc are now empty and unused. 2019-04-29 15:56:43 +00:00
deraadt
cac5294d2b TOPDIR and TOP are not neccessary. 2019-04-29 15:56:23 +00:00
deraadt
88e2a9b1fe remove the abstraction REV on top of abstraction OSrev which is always
the sme.
2019-04-29 01:48:39 +00:00
deraadt
fad8bdf900 cleanup the situation around "df -i" 2019-04-28 16:47:29 +00:00
deraadt
4cbd26a94e Cull BSDRD variables which are always bsd.rd 2019-04-28 15:32:03 +00:00
deraadt
6a1b39a08e CBIN variable is also pointless, it is always "instbin". Rather than
having two mysterious names, let's settle on one.
2019-04-28 15:21:49 +00:00
deraadt
5d3a621055 the BSD_RD variable is pointless 2019-04-28 15:15:39 +00:00
deraadt
7b572f1f0e Use new vnconfig vnd-auto-allocate mode. Resolve some variation between
architectures, and start removing some crazy junk that has collected
over the years.  Being tested on all architectures...
ok various people.
2019-04-28 14:48:08 +00:00
deraadt
4a3b5ded2d Use new rdsetroot. 2019-04-05 21:08:00 +00:00
deraadt
a41a87204e Grow sgi ISO/FS media space to cope with the clang growth. 2019-03-17 16:32:27 +00:00
visa
8e1c8434bc Fix a slip in previous. FFSSZ should reflect the "pa" disktab field,
not "pc", as is documented in the file. However, the value of FFSSZ
is not used anywhere so remove the variable.

Pointed out by miod@
2018-11-13 12:48:23 +00:00
visa
a2daebcc7f Grow sgi iso to make room for clang.
Cluebat and OK deraadt@
2018-11-13 06:24:36 +00:00
job
14c88d5962 add growfs(8) to ramdisk
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@
2017-11-19 12:11:53 +00:00
rpe
c69fddd1ec DEFAULTSETS, SANESETS and THESETS are set in the install.md scripts
according to the same logic for all architectures but sgi.

Consolidate setting them in one place in install.sub and incorporate
the sgi specific MDSETS and MDSANESETS.

Introduce MDSANESETS complementing MDSETS which makes the construction
of DEFAULTSETS, THESETS and SANESETS clearer in install.sub.

While here, adjust the comment about how MDSETS used now.

OK deraadt@
2017-07-28 18:15:44 +00:00
florian
f99f61a254 hook up slaacd to the installer on media where we have INET6 2017-07-08 15:42:46 +00:00
rpe
9c3d2916e3 Add a MDKERNEL variable that contains the name of the boot kernel.
This will be used by the installer in an upcoming change.

OK deraadt@
2017-06-26 18:31:57 +00:00
deraadt
ff28556121 Grow sgi iso, to account for base containing compile.tgz.
SGI has 8 kernels, so the file is 113MB!
2017-06-14 16:36:09 +00:00
rpe
bf992cc649 Whitespaces ... 2017-01-22 23:43:54 +00:00
natano
1fd7f968e4 Use makefs to build bsd.rd; build & boot tested by visa 2016-12-06 19:46:11 +00:00
deraadt
f786adedf8 Use new kernel compile method for ramdisks, de-escalating to $BUILDUSER
as required.
much help from natano and tb.
2016-10-14 18:44:19 +00:00
visa
b16bcc931e Remove an outdated remark about the 'a' partition. The sgi bootblocks
now locate the partition by using the disklabel.

ok jsing@
2016-10-05 16:06:02 +00:00
florian
3ba998db29 ping6(8) is now a hardlink to ping(8).
The instbin stuff looks good to deraadt@
2016-09-17 15:03:39 +00:00
rpe
df7874489c Provide a stripped down group file for the install media.
Saves precious 896 bytes as a side effect.

OK deraadt
2016-09-13 22:27:50 +00:00
deraadt
f752b7f7f9 add missing doas entries; noticed by avsm 2016-09-04 12:41:25 +00:00
rpe
99042d62fb Move files created by root during install/upgrade in a subdir of
/tmp with proper permissions so that unprivileged programs can not
tamper with them.

positive feedback from deraadt
OK halex
2016-09-04 09:54:22 +00:00
rpe
32efaffd00 Move files created by root during install/upgrade in a subdir of
/tmp with proper permissions so that unprivileged programs can not
tamper with them.

positive feedback from deraadt
OK halex
2016-09-04 09:52:03 +00:00
rpe
5a7df5f2d9 - merge install.sh into install.sub as do_install()
- 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-04-02 12:23:46 +00:00
rpe
6b51b25305 - enable activation of MP kernel for IP27
- use IPARCH instead of sysctl again
- use for-loop to copy kernels

feedback, tested and OK visa@
no objections krw@
2016-01-01 00:47:51 +00:00
rpe
8eacd0fb19 Remove stray '}'. 2015-12-27 19:39:28 +00:00
deraadt
09d04f01a2 welcome GENERIC.IP27 MP (dual cpu on O350 now)
ok visa
2015-12-27 16:31:07 +00:00
miod
2a30c1ca76 Add IP26 kernels and boot blocks to the installation media. 2015-09-27 19:11:36 +00:00
miod
2f2543dc25 Enable IP26 builds. 2015-09-20 12:55:11 +00:00
rpe
f53dd36593 Remove the $FSTABFLAG variable and use -F directly. The installer
uses disklabel UIDs unconditionally for a while already.

OK krw@
"looks good" deraadt@
2015-06-02 19:54:06 +00:00
rpe
6b7e7e25ab Replace identical code in the MD scripts of the installer with a new
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-31 19:40:10 +00:00
rpe
12cba9fa7b Add the new template file based autopartitioning feature of disklabel(8)
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-05-04 19:55:26 +00:00
deraadt
e205bbbad4 pwd_mkdb now fits onto the install media. no more chroot games. 2015-04-13 21:27:05 +00:00