0f33c9fb91
using make instead of custom scripts) and two floppies instead of one. The resultant floppy can do everything that the individual floppies (dial, net, install, isp, router) could do, modulo some bit rot that has occurred since PicoBSD last compiled. It also includes all the programs on the fixit floppy, which could thus also die. /bin currently contains the following files: -sh dump ln ns sps [ ed login ping stty badsect ex ls ps swapon cat expr mkdir pwd sync chgrp fdisk mknod pwd_mkdb sysctl chmod find more rdump syslogd chown fsck mount reboot tar chroot ftp mount_cd9660 restore telnet clri getty mount_msdos rlogin telnetd cp grep mount_nfs rm test date gunzip mount_std rmdir traceroute dd gzip msg route umount dev_mkdb hostname mt routed vi df ifconfig mv rrestore view dhclient inetd natd rsh vm dhclient-script init netstat sed w disklabel kget newfs sh zcat dmesg kill nfs sleep Structure is in place for using the same build for the other directories, but I'm no longer sure we need this. The current first floppy will run fine by itself, but the size of a compressed kernel has increased by nearly 50% since 3.2, and there's not much space for anything useful on the remainder of the floppy. The current method creates a larger mfs and can read as many floppies as the user can stand. The footprint appears to be round 14 MB.
45 lines
834 B
Makefile
45 lines
834 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DESTDIR?=${MFS_MOUNTPOINT}
|
|
|
|
STAND_LINKS= bin sbin
|
|
USR_LINKS= bin sbin libexec
|
|
PL_LOCALE_LINKS= pl polish
|
|
MY_DEVS= std tun2 cuaa0 cuaa1 cuaa2 vty10 fd0 wd0s1h pty0 ttyd0 cuaa0 wd1 wd2 wd3 bpf0 bpf1 sa0 sa1
|
|
|
|
all: tree links
|
|
|
|
tree:
|
|
@echo "--- making tree"
|
|
mtree -deU -f mfs.mtree -p ${DESTDIR}
|
|
|
|
links: tree
|
|
@echo "--- making links"
|
|
(cd ${DESTDIR}; \
|
|
for i in ${STAND_LINKS}; \
|
|
do \
|
|
ln -s /stand $${i}; \
|
|
done; \
|
|
cd var/run; \
|
|
ln -s /dev/null log; \
|
|
cd ../../usr; \
|
|
for i in ${USR_LINKS}; \
|
|
do \
|
|
ln -s /stand $${i}; \
|
|
done; \
|
|
cd share/misc;\
|
|
ln -s /etc/termcap termcap; )
|
|
|
|
|
|
# We don't do it under 'all' because it's needed only on non-DEVFS systems
|
|
devnodes: tree
|
|
@echo "--- making device nodes"
|
|
(cd ${DESTDIR}/dev; \
|
|
ln -s /dev/MAKEDEV; \
|
|
./MAKEDEV ${MY_DEVS}; \
|
|
rm MAKEDEV)
|
|
|
|
clean:
|