Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4ab0085d9f46a0be8d433bdd0145af79a3b1ce29

commit 4ab0085d9f46a0be8d433bdd0145af79a3b1ce29
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Oct 2 15:19:43 2010 +0200

grub-0.97-24-i686

- add patch to handle booting from virtio devices

diff --git a/source/base/grub/09-virtio.patch b/source/base/grub/09-virtio.patch
new file mode 100644
index 0000000..0855364
--- /dev/null
+++ b/source/base/grub/09-virtio.patch
@@ -0,0 +1,19 @@
+diff --git a/util/grub-install.in b/util/grub-install.in
+index 2e598b0..9fb76c3 100644
+--- a/util/grub-install.in
++++ b/util/grub-install.in
+@@ -96,12 +96,12 @@ convert () {
+     # Break the device name into the disk part and the partition part.
+     case "$host_os" in
+     linux*)
+-      tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
++      tmp_disk=`echo "$1" | sed -e 's%\([shv]d[a-z]\)[0-9]*$%\1%' \
+                                 -e 's%\(d[0-9]*\)p[0-9]*$%\1%' \
+                                 -e 's%\(fd[0-9]*\)$%\1%' \
+                                 -e 's%/part[0-9]*$%/disc%' \
+                                 -e 's%\(c[0-7]d[0-9]*\).*$%\1%'`
+-      tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
++      tmp_part=`echo "$1" | sed -e 's%.*/[shv]d[a-z]\([0-9]*\)$%\1%' \
+                                 -e 's%.*d[0-9]*p%%' \
+                                 -e 's%.*/fd[0-9]*$%%' \
+                                 -e 's%.*/floppy/[0-9]*$%%' \
diff --git a/source/base/grub/FrugalBuild b/source/base/grub/FrugalBuild
index 8f44980..0d04fb3 100644
--- a/source/base/grub/FrugalBuild
+++ b/source/base/grub/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=grub
pkgver=0.97
-pkgrel=23
+pkgrel=24
pkgdesc="The GNU GRand Unified Bootloader"
url="http://www.gnu.org/software/grub/";
depends=('texinfo')
@@ -22,7 +22,8 @@ source=(ftp://alpha.gnu.org/gnu/grub/grub-$pkgver.tar.gz \
05-grub-0.97-initrdaddr.diff \
06-grub-support-256byte-inode.patch \
07-grub-macbook-support.patch \
-       08-ext4.patch)
+       08-ext4.patch \
+       09-virtio.patch)
sha1sums=('2580626c4579bd99336d3af4482c346c95dac4fb' \
'ffe895e10705633228caa903cd5ec8f0e9b4f416' \
'ea8fcfc066d2ada5ebccfa3f6c5fc5ffc0dd9225' \
@@ -31,7 +32,8 @@ sha1sums=('2580626c4579bd99336d3af4482c346c95dac4fb' \
'adbb4685c98797ffb4dc83561ec75698991dddbd' \
'389913c8b09e5882373e7cb233ecfefb7ad3a3cb' \
'56223e12b2460c3390674158eddfb5a14a2efcc6' \
-          '3d7db86501b27bcfeb038ac8cfb2a55b10b35ae1')
+          '3d7db86501b27bcfeb038ac8cfb2a55b10b35ae1' \
+          'e30fbf86aa183cf77868cd508a2f1dc0f236e029')
Finclude texinfo

build()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to