History log of /openbsd/distrib/landisk/ramdisk/Makefile (Results 1 – 25 of 37)
Revision Date Author Comments
# 27592c65 28-Apr-2023 krw <krw@openbsd.org>

Move FSDISKTYPE uses from disklabel(8) invocations to vnconfig(8)
invocations, making the geometry information written to the
disklabel a bit more logically related to the disktab information
from wh

Move FSDISKTYPE uses from disklabel(8) invocations to vnconfig(8)
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@

show more ...


# c2ec8100 28-Apr-2023 krw <krw@openbsd.org>

Retire -E's "expert" mode. Introduced 23 years ago to avoid
confusing users with FFS attributes that only experts should
fiddle with. Actual use has withered away with functionality
rendered moot or

Retire -E's "expert" mode. Introduced 23 years ago to avoid
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@

show more ...


# 30ec91c3 26-Apr-2023 krw <krw@openbsd.org>

Don't rely on the disklabel defaults or a disktab entry's ba#/fa#
values for the block/fragment sizes that some install media need.
Hoist the desired values into the newfs(8) invocations to make it
o

Don't rely on the disklabel defaults or a disktab entry's ba#/fa#
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.

ok kn@

show more ...


# ce5d0fa6 26-Jul-2021 kn <kn@openbsd.org>

Pass make flags to kernel and lib builds

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 pro

Pass make flags to kernel and lib builds

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

show more ...


# aa6c3ec2 05-Jan-2021 deraadt <deraadt@openbsd.org>

distribute the gzip'd version of bsd.rd on platforms where we all boot
methods support it. if anyone finds a method which does not work, please
speak up.


# 6bc807e4 18-May-2020 otto <otto@openbsd.org>

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@


# 4675fc66 17-May-2020 deraadt <deraadt@openbsd.org>

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-i

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

show more ...


# 0e6c59ce 03-May-2019 deraadt <deraadt@openbsd.org>

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)


# 4fafbd6f 01-May-2019 deraadt <deraadt@openbsd.org>

Do not need reacharound back to our own obj directory, pretty silly


# 4d23fe49 30-Apr-2019 deraadt <deraadt@openbsd.org>

repair more trivial differences


# 03c1d9f7 30-Apr-2019 deraadt <deraadt@openbsd.org>

rm is in /bin, no need to specify


# 47fa51d5 30-Apr-2019 deraadt <deraadt@openbsd.org>

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 s

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..

show more ...


# cac5294d 29-Apr-2019 deraadt <deraadt@openbsd.org>

TOPDIR and TOP are not neccessary.


# 88e2a9b1 29-Apr-2019 deraadt <deraadt@openbsd.org>

remove the abstraction REV on top of abstraction OSrev which is always
the sme.


# 6a1b39a0 28-Apr-2019 deraadt <deraadt@openbsd.org>

CBIN variable is also pointless, it is always "instbin". Rather than
having two mysterious names, let's settle on one.


# 5d3a6210 28-Apr-2019 deraadt <deraadt@openbsd.org>

the BSD_RD variable is pointless


# 4a3b5ded 05-Apr-2019 deraadt <deraadt@openbsd.org>

Use new rdsetroot.


# 46f9b90d 08-Jan-2017 natano <natano@openbsd.org>

Use makefs to build bsd.rd. ok deraadt


# f786aded 14-Oct-2016 deraadt <deraadt@openbsd.org>

Use new kernel compile method for ramdisks, de-escalating to $BUILDUSER
as required.
much help from natano and tb.


# 8465dd89 15-Oct-2013 deraadt <deraadt@openbsd.org>

We do not produce "core" files, so they do not need to be deleted. they
have been *.core files for a very long time. That's a lot of unlink()
calls saved.


# 8fbf9bbe 14-Oct-2013 guenther <guenther@openbsd.org>

Turn on the distrib lib bits in crunchgen by setting SRCLIBDIR.
Add the new files to the clean target's rm list.

"why not get it tested?" deraadt@


# e1ae8dd1 09-Jul-2011 drahn <drahn@openbsd.org>

Unbreak most archs for the last commit. cut and paste changed rdsetroot
to elfrdsetroot. Does not yet fix sparc


# 28fa53ac 08-Jul-2011 drahn <drahn@openbsd.org>

Allow the elf rdsetroot operation to function on 32 bit and 64 bit binaries.
Enables developers to build arm ramdisk kernels on amd64 archs
OK deraadt@ 'looked fine' miod@


# a4975643 18-Apr-2011 thib <thib@openbsd.org>

Deprecate vnds in favour of svnds.

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 according

Deprecate vnds in favour of svnds.

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@

show more ...


# a99dd67f 15-Apr-2011 deraadt <deraadt@openbsd.org>

No need to make depend kernels; ok guenther


12