version 1.6.2.3, 2013/07/31 16:08:13
|
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 165 MakeFS_home()
|
Line 165 MakeFS_home()
|
install -v ${CFGDIR}/root.skel/logout $1/root/.logout; |
install -v ${CFGDIR}/root.skel/logout $1/root/.logout; |
install -v ${CFGDIR}/root.skel/profile $1/root/.profile; |
install -v ${CFGDIR}/root.skel/profile $1/root/.profile; |
install -v ${CFGDIR}/root.skel/vimrc $1/root/.vimrc; |
install -v ${CFGDIR}/root.skel/vimrc $1/root/.vimrc; |
|
} |
|
|
|
# $1 = fs/elwix |
|
MakeFS_backup() |
|
{ |
|
mkdir -p $1/altroot/backup |
|
|
|
cd $1 |
|
cp -p etc/config.xml altroot/backup |
|
tar -czf altroot/backup/.etc.tgz etc |
|
|
|
cd altroot |
|
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 |