|
|
@ -851,14 +851,6 @@ extract_zimage () {
|
|
|
|
dpkg -x "${DIR}/dl/${DISTARCH}/${ACTUAL_DEB_FILE}" ${TEMPDIR}/kernel
|
|
|
|
dpkg -x "${DIR}/dl/${DISTARCH}/${ACTUAL_DEB_FILE}" ${TEMPDIR}/kernel
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package_modules () {
|
|
|
|
|
|
|
|
echo "NetInstall: Packaging Modules for later use"
|
|
|
|
|
|
|
|
linux_version=$(ls ${TEMPDIR}/kernel/boot/vmlinuz-* | awk -F'vmlinuz-' '{print $2}')
|
|
|
|
|
|
|
|
cd ${TEMPDIR}/kernel/lib/modules/${linux_version}
|
|
|
|
|
|
|
|
tar czf ${TEMPDIR}/kernel/${linux_version}-modules.tar.gz *
|
|
|
|
|
|
|
|
cd "${DIR}"/
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
generate_soc () {
|
|
|
|
generate_soc () {
|
|
|
|
echo "#!/bin/sh" > ${wfile}
|
|
|
|
echo "#!/bin/sh" > ${wfile}
|
|
|
|
echo "format=1.0" >> ${wfile}
|
|
|
|
echo "format=1.0" >> ${wfile}
|
|
|
@ -931,7 +923,6 @@ create_custom_netinstall_image () {
|
|
|
|
initrd_cleanup
|
|
|
|
initrd_cleanup
|
|
|
|
initrd_preseed_settings
|
|
|
|
initrd_preseed_settings
|
|
|
|
extract_zimage
|
|
|
|
extract_zimage
|
|
|
|
package_modules
|
|
|
|
|
|
|
|
initrd_device_settings
|
|
|
|
initrd_device_settings
|
|
|
|
recompress_initrd
|
|
|
|
recompress_initrd
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1203,8 +1194,6 @@ populate_boot () {
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
cp -v ${TEMPDIR}/kernel/${linux_version}-modules.tar.gz ${TEMPDIR}/disk/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wfile="${TEMPDIR}/disk/SOC.sh"
|
|
|
|
wfile="${TEMPDIR}/disk/SOC.sh"
|
|
|
|
generate_soc
|
|
|
|
generate_soc
|
|
|
|
|
|
|
|
|
|
|
|