X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-autoinstaller.git/blobdiff_plain/1e2281fe0b7e9bda3192231e42f5798ede8de3c0..7c7bfe25e6f56403f158f2b803d7a647a00f028e:/common/usr/lib/xen-tools/debian.d/97-setup-grub diff --git a/common/usr/lib/xen-tools/debian.d/97-setup-grub b/common/usr/lib/xen-tools/debian.d/97-setup-grub index 28555a6..2539e6b 100755 --- a/common/usr/lib/xen-tools/debian.d/97-setup-grub +++ b/common/usr/lib/xen-tools/debian.d/97-setup-grub @@ -24,19 +24,9 @@ logMessage Script $0 starting # Install the xen kernel. linux-image-xen is in ubuntu, # linux-image-xen-{amd64,686} in debian. # - -# First we need to figure out whether we're dealing with Debian or -# Ubuntu. Unfortunately, Debian doesn't install lsb_release by -# default, and its lsb-release package Recommends a bunch of stuff -installDebianPackage ${prefix} -o="Apt::Install-Recommends=false" lsb-release -if [ "Debian" = "$(chroot ${prefix} lsb_release -si)" ]; then - # One of these exists in the amd64 repo, and one of them exists in - # the i386 repo. The one that doesn't exist won't get installed - installDebianPackage ${prefix} linux-image-xen-amd64 - installDebianPackage ${prefix} linux-image-xen-686 -else - installDebianPackage ${prefix} linux-image-xen -fi +installDebianPackage ${prefix} linux-image-xen-amd64 +installDebianPackage ${prefix} linux-image-xen-686 +installDebianPackage ${prefix} linux-image-xen installDebianPackage ${prefix} grub