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

@ -832,33 +832,26 @@ function initrd_cleanup {
}
function initrd_preseed_settings {
echo "NetInstall: Adding Distro Tweaks and Preseed Configuration"
cd ${TEMPDIR}/initrd-tree/
case "$DIST" in
maverick)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
natty)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
oneiric)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
precise)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
if [ "-${ARCH}-" = "-armhf-" ] ; then
if [ ! -f ${TEMPDIR}/initrd-tree/lib/arm-linux-gnueabihf/ld-linux.so.3 ] ; then
echo "NetInstall: fixing early ld-linux.so.3 location bug"
mkdir -p ${TEMPDIR}/initrd-tree/lib/arm-linux-gnueabihf/
cp -v ${TEMPDIR}/initrd-tree/lib/ld-linux.so.3 ${TEMPDIR}/initrd-tree/lib/arm-linux-gnueabihf/
fi
fi
;;
squeeze)
patch -p1 < "${DIR}/scripts/debian-tweaks.diff"
;;
esac
cd "${DIR}/"
echo "NetInstall: Adding Distro Tweaks and Preseed Configuration"
cd ${TEMPDIR}/initrd-tree/
case "${DIST}" in
maverick)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
natty)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
oneiric)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
precise)
patch -p1 < "${DIR}/scripts/ubuntu-tweaks.diff"
;;
squeeze)
patch -p1 < "${DIR}/scripts/debian-tweaks.diff"
;;
esac
cd "${DIR}/"
case "$DIST" in
maverick)

Loading…
Cancel
Save