Changeset 2325 for trunk/packages/invirt-autoinstaller
- Timestamp:
- May 2, 2009, 9:34:40 PM (16 years ago)
- Location:
- trunk/packages/invirt-autoinstaller
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub
r2171 r2325 25 25 # linux-image-xen-{amd64,686} in debian. 26 26 # 27 installDebianPackage ${prefix} linux-image-xen-amd64 28 installDebianPackage ${prefix} linux-image-xen-686 29 installDebianPackage ${prefix} linux-image-xen 27 28 installDebianPackage ${prefix} lsb-release 29 30 if [ "$(chroot ${prefix} lsb_release -is)" = "Ubuntu" ]; then 31 if dpkg --compare-versions "$(chroot ${prefix} lsb_release -rs)" ge 8.10; then 32 installDebianPackage ${prefix} linux-image-virtual 33 else 34 installDebianPackage ${prefix} linux-image-xen 35 fi 36 else 37 installDebianPackage ${prefix} linux-image-xen-amd64 38 installDebianPackage ${prefix} linux-image-xen-686 39 fi 30 40 31 41 installDebianPackage ${prefix} grub … … 49 59 50 60 # 61 # If this is a pv_ops kernel, then we need to make some more changes 62 # to make the console work right 63 # 64 if [ "$(chroot ${prefix} lsb_release -is)" = "Ubuntu" ] && \ 65 dpkg --compare-versions "$(chroot ${prefix} lsb_release -rs)" ge 8.10; then 66 sed -i -e 's/xvc0/hvc0/' /etc/event.d/tty1 67 sed -i -e 's/console=ttyS0[^ ]*/console=hvc0/' /boot/grub/menu.lst 68 fi 69 70 # 51 71 # Regenerate automagic kernels list 52 72 # -
trunk/packages/invirt-autoinstaller/debian/changelog
r2174 r2325 1 invirt-autoinstaller (0.0.20) unstable; urgency=low 2 3 * Update the setup-grub hook to work with pv_ops Ubuntu kernels. 4 5 -- Evan Broder <broder@mit.edu> Sat, 02 May 2009 21:33:44 -0400 6 1 7 invirt-autoinstaller (0.0.19) unstable; urgency=low 2 8
Note: See TracChangeset
for help on using the changeset viewer.