|
|
@ -516,13 +516,6 @@ function setup_bootscripts {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function prepare_uimage {
|
|
|
|
|
|
|
|
mkdir -p ${TEMPDIR}/kernel
|
|
|
|
|
|
|
|
cd ${TEMPDIR}/kernel
|
|
|
|
|
|
|
|
dpkg -x ${DIR}/dl/${DIST}/${ACTUAL_DEB_FILE} ${TEMPDIR}/kernel
|
|
|
|
|
|
|
|
cd ${DIR}/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function prepare_initrd {
|
|
|
|
function prepare_initrd {
|
|
|
|
mkdir -p ${TEMPDIR}/initrd-tree
|
|
|
|
mkdir -p ${TEMPDIR}/initrd-tree
|
|
|
|
cd ${TEMPDIR}/initrd-tree
|
|
|
|
cd ${TEMPDIR}/initrd-tree
|
|
|
@ -698,12 +691,21 @@ esac
|
|
|
|
cd ${DIR}/
|
|
|
|
cd ${DIR}/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function extract_zimage {
|
|
|
|
|
|
|
|
echo "Extracting Kernel zImage"
|
|
|
|
|
|
|
|
echo "-----------------------------"
|
|
|
|
|
|
|
|
dpkg -x ${DIR}/dl/${DIST}/${ACTUAL_DEB_FILE} ${TEMPDIR}/kernel
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function create_custom_netinstall_image {
|
|
|
|
function create_custom_netinstall_image {
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "Creating Custom NetInstall Image"
|
|
|
|
echo "Creating Custom NetInstall Image"
|
|
|
|
echo "-----------------------------"
|
|
|
|
echo "-----------------------------"
|
|
|
|
|
|
|
|
mkdir -p ${TEMPDIR}/kernel
|
|
|
|
|
|
|
|
|
|
|
|
prepare_initrd
|
|
|
|
prepare_initrd
|
|
|
|
prepare_uimage
|
|
|
|
|
|
|
|
|
|
|
|
extract_zimage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function unmount_all_drive_partitions {
|
|
|
|
function unmount_all_drive_partitions {
|
|
|
|