* util/grub.d/20_linux_xen.in: Update initrd list based on 10_linux.in
counterpart.
This commit is contained in:
parent
6d521c5b41
commit
9133fd053f
2 changed files with 21 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/20_linux_xen.in: Update initrd list based on 10_linux.in
|
||||||
|
counterpart.
|
||||||
|
|
||||||
2012-05-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-05-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Fix UFS1 big file support.
|
Fix UFS1 big file support.
|
||||||
|
|
|
@ -164,6 +164,14 @@ boot_device_id=
|
||||||
|
|
||||||
title_correction_code=
|
title_correction_code=
|
||||||
|
|
||||||
|
case "$machine" in
|
||||||
|
i?86) GENKERNEL_ARCH="x86" ;;
|
||||||
|
mips|mips64) GENKERNEL_ARCH="mips" ;;
|
||||||
|
mipsel|mips64el) GENKERNEL_ARCH="mipsel" ;;
|
||||||
|
arm*) GENKERNEL_ARCH="arm" ;;
|
||||||
|
*) GENKERNEL_ARCH="$machine" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
|
# Extra indentation to add to menu entries in a submenu. We're not in a submenu
|
||||||
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
|
# yet, so it's empty. In a submenu it will be equal to '\t' (one tab).
|
||||||
submenu_indentation=""
|
submenu_indentation=""
|
||||||
|
@ -194,12 +202,14 @@ while [ "x${xen_list}" != "x" ] ; do
|
||||||
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
|
linux_root_device_thisversion="${LINUX_ROOT_DEVICE}"
|
||||||
|
|
||||||
initrd=
|
initrd=
|
||||||
for i in "initrd.img-${version}" "initrd-${version}.img" \
|
for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \
|
||||||
"initrd-${version}" "initrd.img-${alt_version}" \
|
"initrd-${version}" "initramfs-${version}.img" \
|
||||||
"initrd-${alt_version}.img" "initrd-${alt_version}" \
|
"initrd.img-${alt_version}" "initrd-${alt_version}.img" \
|
||||||
"initramfs-genkernel-${version}" \
|
"initrd-${alt_version}" "initramfs-${alt_version}.img" \
|
||||||
"initramfs-genkernel-${alt_version}" ; do
|
"initramfs-genkernel-${version}" \
|
||||||
if test -e "${dirname}/${i}" ; then
|
"initramfs-genkernel-${alt_version}" \
|
||||||
|
"initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \
|
||||||
|
"initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; then
|
||||||
initrd="$i"
|
initrd="$i"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue