|
|
@ -104,7 +104,7 @@ create_base_initrd_sys() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# devfsd
|
|
|
|
# devfsd
|
|
|
|
if [ "${UDEV}" != '1' ]
|
|
|
|
if [ "${DEVFS}" -eq '1' ]
|
|
|
|
then
|
|
|
|
then
|
|
|
|
cp "${DEVFSD_BINCACHE}" "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not copy devfsd executable from bincache!'
|
|
|
|
cp "${DEVFSD_BINCACHE}" "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not copy devfsd executable from bincache!'
|
|
|
|
bunzip2 "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not uncompress devfsd!'
|
|
|
|
bunzip2 "${TEMP}/initrd-temp/bin/devfsd.bz2" || gen_die 'Could not uncompress devfsd!'
|
|
|
@ -112,20 +112,19 @@ create_base_initrd_sys() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# udev
|
|
|
|
# udev
|
|
|
|
if [ "${UDEV}" -eq '1' ]
|
|
|
|
# if [ "${UDEV}" -eq '1' ]
|
|
|
|
then
|
|
|
|
# then
|
|
|
|
/bin/tar -jxpf "${UDEV_BINCACHE}" -C "${TEMP}/initrd-temp" || gen_die 'Could not extract udev binary cache!'
|
|
|
|
# /bin/tar -jxpf "${UDEV_BINCACHE}" -C "${TEMP}/initrd-temp" || gen_die 'Could not extract udev binary cache!'
|
|
|
|
if [ ! -e "${TEMP}/initrd-temp/bin/udevstart" ]
|
|
|
|
# if [ ! -e "${TEMP}/initrd-temp/bin/udevstart" ]
|
|
|
|
then
|
|
|
|
# then
|
|
|
|
ln -sf "./udev" "${TEMP}/initrd-temp/bin/udevstart" || gen_die 'Could not symlink udev -> udevstart!'
|
|
|
|
# ln -sf "./udev" "${TEMP}/initrd-temp/bin/udevstart" || gen_die 'Could not symlink udev -> udevstart!'
|
|
|
|
fi
|
|
|
|
# fi
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -e "${TEMP}/initrd-temp/bin/udevsend" ]
|
|
|
|
# if [ ! -e "${TEMP}/initrd-temp/bin/udevsend" ]
|
|
|
|
then
|
|
|
|
# then
|
|
|
|
ln -sf "./udev" "${TEMP}/initrd-temp/bin/udevsend" || gen_die 'Could not symlink udev -> udevsend!'
|
|
|
|
# ln -sf "./udev" "${TEMP}/initrd-temp/bin/udevsend" || gen_die 'Could not symlink udev -> udevsend!'
|
|
|
|
fi
|
|
|
|
# fi
|
|
|
|
|
|
|
|
# fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#unionfs modules
|
|
|
|
#unionfs modules
|
|
|
|
if [ "${UNIONFS}" -eq '1' ]
|
|
|
|
if [ "${UNIONFS}" -eq '1' ]
|
|
|
|