3 source mk-ramdisk-common
5 inst
$1/qemu
"$MNTIMAGE" /bin
/qemu
7 mkdir
-p $MNTIMAGE/usr
/local
/share
/qemu
8 inst
/usr
/local
/share
/qemu
/bios.bin
"$MNTIMAGE" /usr
/local
/share
/qemu
/bios.bin
9 inst
/usr
/local
/share
/qemu
/vgabios-cirrus.bin
"$MNTIMAGE" /usr
/local
/share
/qemu
/vgabios-cirrus.bin
10 inst
/usr
/local
/share
/qemu
/pxe-e1000.rom
"$MNTIMAGE" /usr
/local
/share
/qemu
/pxe-e1000.rom
12 inst
/usr
/sbin
/brctl
"$MNTIMAGE" /bin
/brctl
13 inst
/sbin
/ifconfig
"$MNTIMAGE" /bin
/ifconfig
14 inst
$1/udevd
"$MNTIMAGE" /bin
/udevd
15 inst
$1/udevstart
"$MNTIMAGE" /bin
/udevstart
17 #add ioemu-stubdom code here
18 emit
"echo Starting udevd"
19 emit
"/bin/udevd --daemon"
22 emit
"echo Running qemu"
29 mkdir
-p $MNTIMAGE/etc
/udev
30 cp -ar /etc
/udev
/udev.conf
$MNTIMAGE/etc
/udev
/udev.conf
33 echo nash-find
"$@" |
/sbin
/nash
--force --quiet
36 (cd $MNTIMAGE; findall . |
cpio -H newc
--quiet -o) >|
$IMAGE ||
exit 1
38 gzip -9 < $IMAGE >|
$target || rc
=1
40 #rm -rf $MNTIMAGE $IMAGE