cleanup: combine netinstall functions

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 9035aa949b
commit faf0f1598f

@ -698,6 +698,14 @@ esac
cd ${DIR}/
}
function create_custom_netinstall_image {
echo ""
echo "Creating Custom NetInstall Image"
echo "-----------------------------"
prepare_initrd
prepare_uimage
}
function unmount_all_drive_partitions {
echo ""
echo "Unmounting Partitions"
@ -1364,10 +1372,10 @@ fi
if [ "${FIRMWARE}" ] ; then
dl_firmware
fi
setup_bootscripts
create_custom_netinstall_image
prepare_initrd
prepare_uimage
unmount_all_drive_partitions
create_partitions
reset_scripts

Loading…
Cancel
Save