diff options
author | Robert Bays <rbays@cartagena.vyatta.com> | 2008-09-10 16:19:01 -0400 |
---|---|---|
committer | Robert Bays <rbays@cartagena.vyatta.com> | 2008-09-10 16:19:01 -0400 |
commit | a3ab44f29b9a02e9167fef1e13fa21987a9430ae (patch) | |
tree | bd539e8a0ea278953190582ae13deefb8913ec4b /scripts/grub-setup | |
parent | 30789e6f4286b5d391f093eeb04dc2f7d846d487 (diff) | |
download | vyatta-cfg-system-a3ab44f29b9a02e9167fef1e13fa21987a9430ae.tar.gz vyatta-cfg-system-a3ab44f29b9a02e9167fef1e13fa21987a9430ae.zip |
fixes to install-system and grub-setup for xen hypervisor and device.map
Diffstat (limited to 'scripts/grub-setup')
-rwxr-xr-x | scripts/grub-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/grub-setup b/scripts/grub-setup index cfa9fecc..b5f30647 100755 --- a/scripts/grub-setup +++ b/scripts/grub-setup @@ -75,7 +75,7 @@ vga_logo="vga=785" # get xen kernel info xen_kernel_version=$(ls $ROOTFSDIR/boot/vmlinuz*xen 2> /dev/null | awk -F/ '{ print $5 }' | sed 's/vmlinuz//g' | sort -r) - xen_version=$(ls $ROOTFSDIR/boot/ | awk -F/ '{ print $5 }' | grep xen- | sort -r) + xen_version=$(ls $ROOTFSDIR/boot/xen-* | awk -F/ '{ print $5 }' | sort -r) # Figure out whether we are running on the serial or KVM console: if [ "`tty`" == "/dev/ttyS0" ]; then |