Ignore:
Timestamp:
Jun 13, 2009, 10:33:39 PM (16 years ago)
Author:
broder
Message:

In invirt-autoinstaller:

  • Be more specific when replacing root= lines with UUID equivalents in the grub menu.lst. This avoids replacing things like groot, which makes pygrub unhappy.
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

    r2343 r2359  
    8686    esac
    8787done
    88 sed -i -e "s#root=[^ ]*#root=UUID=$ROOT_UUID#" ${prefix}/boot/grub/menu.lst
    89 sed -i -e "s#${ROOT_GUEST}#UUID=${ROOT_UUID}#" ${prefix}/etc/fstab
    90 sed -i -e "s#${SWAP_GUEST}#UUID=${SWAP_UUID}#" ${prefix}/etc/fstab
     88sed -i -re "s%^(# *kopt=.*root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst
     89sed -i -e "s%${ROOT_GUEST}%UUID=${ROOT_UUID}%" ${prefix}/etc/fstab
     90sed -i -e "s%${SWAP_GUEST}%UUID=${SWAP_UUID}%" ${prefix}/etc/fstab
    9191
    9292#
  • trunk/packages/invirt-autoinstaller/debian/changelog

    r2343 r2359  
     1invirt-autoinstaller (0.0.29) unstable; urgency=low
     2
     3  * Be more specific when replacing root= lines with UUID equivalents in
     4    the grub menu.lst. This avoids replacing things like groot, which
     5    makes pygrub unhappy.
     6
     7 -- Evan Broder <broder@mit.edu>  Sat, 13 Jun 2009 19:33:01 -0700
     8
    19invirt-autoinstaller (0.0.28) unstable; urgency=low
    210
Note: See TracChangeset for help on using the changeset viewer.