Merge "Tidy up SuSE kernel selection"

This commit is contained in:
Jenkins 2014-06-12 04:52:16 +00:00 committed by Gerrit Code Review
commit f1437fe241

View File

@ -51,8 +51,8 @@ elif [ -f $TARGET_ROOT/etc/debian_version ]; then
KERNEL=$(basename `ls -1rv $BOOTDIR/vmlinuz*generic | head -1`)
RAMDISK=$(basename `ls -1rv $BOOTDIR/initrd*generic | head -1`)
elif [ -f $TARGET_ROOT/etc/SuSE-release ]; then
KERNEL=$(basename `ls -1rv $BOOTDIR/vmlinuz`)
RAMDISK=$(basename `ls -1rv $BOOTDIR/initrd`)
KERNEL=vmlinuz
RAMDISK=initrd
else
echo "ERROR: Unable to detect operating system"
exit 1