Changeset 1719 for trunk/packages/invirt-autoinstaller/common/usr
- Timestamp:
- Nov 19, 2008, 8:05:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/97-setup-grub
r1637 r1719 23 23 # 24 24 # Install the xen kernel. linux-image-xen is in ubuntu, 25 # linux-image-xen-amd64 in debian. 26 installDebianPackage ${prefix} linux-image-xen 27 installDebianPackage ${prefix} linux-image-xen-amd64 25 # linux-image-xen-{amd64,686} in debian. 26 # 27 28 # First we need to figure out whether we're dealing with Debian or 29 # Ubuntu. Unfortunately, Debian doesn't install lsb_release by 30 # default, and its lsb-release package Recommends a bunch of stuff 31 installDebianPackage ${prefix} -o="Apt::Install-Recommends=false" lsb-release 32 if [ "Debian" = "$(chroot ${prefix} lsb_release -si)" ]; then 33 # One of these exists in the amd64 repo, and one of them exists in 34 # the i386 repo. The one that doesn't exist won't get installed 35 installDebianPackage ${prefix} linux-image-xen-amd64 36 installDebianPackage ${prefix} linux-image-xen-686 37 else 38 installDebianPackage ${prefix} linux-image-xen 39 fi 28 40 29 41 installDebianPackage ${prefix} grub
Note: See TracChangeset
for help on using the changeset viewer.