Overwriting default kernels in image autobuild script only when being on i386.

This commit is contained in:
Daniel Baumann 2009-02-08 23:27:38 +01:00
parent b540927007
commit 6362c98af7
1 changed files with 11 additions and 8 deletions

View File

@ -29,15 +29,18 @@ do
rm -rf cache/packages*
rm -rf cache/stages_rootfs
case "${FLAVOUR}" in
standard|rescue|lxde-desktop|xfce-desktop)
KERNEL="486 686"
;;
if [ "${ARCHITECTURE}" = "i386" ]
then
case "${FLAVOUR}" in
standard|rescue|lxde-desktop|xfce-desktop)
KERNEL="486 686"
;;
gnome-desktop|kde-desktop)
KERNEL="686"
;;
esac
gnome-desktop|kde-desktop)
KERNEL="686"
;;
esac
fi
if [ "${SOURCE}" = "enabled" ]
then