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

Location:
trunk/packages/invirt-autoinstaller
Files:
2 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
  • trunk/packages/invirt-autoinstaller/debian/changelog

    r1719 r1722  
     1invirt-autoinstaller (0.0.5) unstable; urgency=low
     2
     3  * Install Debian and Ubuntu compatible kernels without checking first
     4
     5 -- Evan Broder <broder@mit.edu>  Wed, 19 Nov 2008 20:51:20 -0500
     6
    17invirt-autoinstaller (0.0.4) unstable; urgency=low
    28
Note: See TracChangeset for help on using the changeset viewer.