Eric's and my debootstrap work from the hackathon
[invirt/packages/invirt-autoinstaller.git] / partial / debootstrap.d / update-grub.diff
diff --git a/partial/debootstrap.d/update-grub.diff b/partial/debootstrap.d/update-grub.diff
new file mode 100644 (file)
index 0000000..c420c89
--- /dev/null
@@ -0,0 +1,15 @@
+--- update-grub.orig   2008-04-22 01:13:34.000000000 -0400
++++ update-grub        2008-04-22 01:13:13.000000000 -0400
+@@ -1036,10 +1036,10 @@
+       if [ ! "$in_domU" ] && [ "$is_xen" ]; then
+         # skip xen kernels
+-          continue
++        :
+         elif [ "$in_domU" ] && ! [ "$is_xen" ]; then
+         # skip non-xen kernels
+-        continue
++        :
+         fi
+         kern="/boot/$kern"
+       newerKernels=""