Handling kernel selection properly in example images build script.
This commit is contained in:
parent
87d6db7574
commit
9a1570bc11
|
@ -33,20 +33,20 @@ do
|
||||||
then
|
then
|
||||||
case "${FLAVOUR}" in
|
case "${FLAVOUR}" in
|
||||||
standard|rescue|lxde-desktop|xfce-desktop)
|
standard|rescue|lxde-desktop|xfce-desktop)
|
||||||
KERNEL="486 686"
|
KERNEL="-p '486 686'"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
gnome-desktop|kde-desktop)
|
gnome-desktop|kde-desktop)
|
||||||
KERNEL="686"
|
KERNEL="-p '686'"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${SOURCE}" = "enabled" ]
|
if [ "${SOURCE}" = "enabled" ]
|
||||||
then
|
then
|
||||||
lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --tasksel aptitude -k ${KERNEL} --source enabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
|
lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --tasksel aptitude ${KERNEL} --source enabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
|
||||||
else
|
else
|
||||||
lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --tasksel aptitude -k ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
|
lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --tasksel aptitude ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DISTRIBUTION}" = "sid" ]
|
if [ "${DISTRIBUTION}" = "sid" ]
|
||||||
|
|
Loading…
Reference in New Issue