version 1.6.2.4, 2013/07/31 16:15:53
|
version 1.6.2.6, 2013/08/05 11:45:50
|
Line 66 MakeFS_var()
|
Line 66 MakeFS_var()
|
install -d -o 883 -g 883 altroot/var/mqtt; |
install -d -o 883 -g 883 altroot/var/mqtt; |
install -d altroot/var/named; |
install -d altroot/var/named; |
install -d altroot/var/run; |
install -d altroot/var/run; |
install -d altroot/var/sys; | install -d altroot/var/frm; |
install -d -o 53 -g 53 altroot/var/run/named; |
install -d -o 53 -g 53 altroot/var/run/named; |
install -d -o 101 -g 101 altroot/var/run/quagga; |
install -d -o 101 -g 101 altroot/var/run/quagga; |
install -d altroot/var/spool; |
install -d altroot/var/spool; |
Line 178 MakeFS_backup()
|
Line 178 MakeFS_backup()
|
|
|
cd altroot |
cd altroot |
tar -czf backup/.var.tgz var |
tar -czf backup/.var.tgz var |
|
} |
|
|
|
# $1 = fs |
|
MakeFS_boot() |
|
{ |
|
InstallDir ${WORLD}/boot $1/boot |
|
|
|
install -m 644 ${CFGDIR}/boot/boot.config $1; |
|
|
|
install -m 444 ${CFGDIR}/boot/beastie.4th $1/boot; |
|
install -m 444 ${CFGDIR}/boot/brand.4th $1/boot; |
|
install -m 444 ${CFGDIR}/boot/menu.4th $1/boot; |
|
|
|
install -m 444 ${KERNDEVHINTS} $1/boot/device.hints; |
|
|
|
if [ -r ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf ]; then |
|
install -m 644 ${CFGDIR}/boot/loader_${TARGET_ARCH}.conf $1/boot/loader.conf; |
|
else |
|
echo; |
|
echo "Can't find right loader.conf for TARGET_ARCH=${TARGET_ARCH} ... loader.conf not installed!"; |
|
echo; |
|
fi; |
} |
} |
|
|
# $1 = ELWIX install list config |
# $1 = ELWIX install list config |