Ignore:
Timestamp:
Nov 20, 2008, 10:46:46 PM (16 years ago)
Author:
broder
Message:

Install Debian and Ubuntu kernels without checking to see what the VM
is running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/97-setup-grub

    r1719 r1722  
    2525# linux-image-xen-{amd64,686} in debian.
    2626#
    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
     27installDebianPackage ${prefix} linux-image-xen-amd64
     28installDebianPackage ${prefix} linux-image-xen-686
     29installDebianPackage ${prefix} linux-image-xen
    4030
    4131installDebianPackage ${prefix} grub
Note: See TracChangeset for help on using the changeset viewer.