* Add a "-N etcdir" command line option, defaulting to /etc.
* Use pax in mtree mode. This is the same idea as the change made in
revision 1.14, with the following changes:
+ use ". type=dir optional" instead of just ". type=dir", so the
output will not contain an explicit entry for the directory.
+ Explicitly set type=file and mode=0444 in the mtree lines.
+ Pass "-N ${etcdir}" to pax to make it use the correct passwd and
group files.
+ Pass "-s^./,," to pax to make it strip the leading "./" from file
names.
In Makefile.tarfloppy:
* Pass "-N ${DESTDIR}/etc" to buildfloppies.sh.
The resulting flopies have been verified to be identical to those
produced by version 1.13 of buildfloppies.sh, except that file owners
and modes are changed.
per floppy for a while. (The rest of the sums are ok).
Change the 'padded' size to include all the space in the last 8k block
of the tar file.
Similarly if the image doesn't fit, report the exact amount of overflow.
of 'boot' and 'netbsd'.
This makes it possible for the tar archive to end at the end of the 2.88M
floppy, instead of either 4k before, or 6k after.
Gives us a whole extra 4k.
The very observant might realise that we don't need the final 1024 bytes
of nulls written to the floppy either, so they could be deleted!
(causing the decompress to generate random data).
I've changed it to pad using:
dd if=xx.fs of=xx.fs conv=sync conv=notrunc bs=${floppysize}b count=1
which isn't subject to rounding errors!
This might be the fix for PR/25552
or the command with an interactive question. (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
rather than the previous ".fs").
- add support for (optional) FLOPPYSUFFIX in Makefile.tarfloppy, and
use appropriately
- remove (now unnecessary) custom release targets in alpha/instkernel/*