97 |
break) BREAK_ENABLED=yes ;; |
break) BREAK_ENABLED=yes ;; |
98 |
unionfs) UNIONFS=yes;; |
unionfs) UNIONFS=yes;; |
99 |
unionfs_file=*) UNIONFS_FILE="${i#*=}";; |
unionfs_file=*) UNIONFS_FILE="${i#*=}";; |
100 |
|
rootdelay=*) ROOTDELAY="${i#*=}";; |
101 |
esac |
esac |
102 |
done |
done |
103 |
|
|
130 |
sleep 8 |
sleep 8 |
131 |
fi |
fi |
132 |
|
|
133 |
|
# respect rootdelay kernel param |
134 |
|
if [ ! -z "${ROOTDELAY}" ]; then |
135 |
|
echo "-- Requested a rootdelay of ${ROOTDELAY} seconds ..." |
136 |
|
sleep ${ROOTDELAY} |
137 |
|
fi |
138 |
|
|
139 |
# searching cdrom with cdid |
# searching cdrom with cdid |
140 |
BOOT_DEVICE="" |
BOOT_DEVICE="" |
141 |
FSTYPE="" |
FSTYPE="" |
217 |
|
|
218 |
(cd ${CLOOPMOUNTDIR}; cp -a etc root home var /sysroot) |
(cd ${CLOOPMOUNTDIR}; cp -a etc root home var /sysroot) |
219 |
|
|
220 |
|
# ensure that /sysroot/linurc exists |
221 |
|
[ ! -e /sysroot/linuxrc ] && ln -snf ${INITEXEC} /sysroot/linuxrc |
222 |
|
|
223 |
# ensure the right permissions |
# ensure the right permissions |
224 |
chmod 1777 /sysroot/tmp |
chmod 1777 /sysroot/tmp |
225 |
chmod 1777 /sysroot/var/tmp |
chmod 1777 /sysroot/var/tmp |