wok-next diff grub4dos-linux/receipt @ rev 14506
grub2: add /usr/share
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue May 14 00:30:55 2013 +0000 (2013-05-14) |
parents | 5e3fa1dc4048 |
children | d1c17bd2c2bc |
line diff
1.1 --- a/grub4dos-linux/receipt Thu Jul 07 00:28:49 2011 +0200 1.2 +++ b/grub4dos-linux/receipt Tue May 14 00:30:55 2013 +0000 1.3 @@ -12,10 +12,11 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr/lib/grub/i386-slitaz 1.8 + libarch=$(basename `ls $_pkg/usr/lib/grub`) 1.9 + mkdir -p $fs/usr/lib/grub/$libarch 1.10 cp -a $_pkg/usr/bin $fs/usr 1.11 cp -a $_pkg/usr/sbin $fs/usr 1.12 - cp -a $_pkg/usr/lib/grub/i386-slitaz/*stage* \ 1.13 - $fs/usr/lib/grub/i386-slitaz 1.14 + cp -a $_pkg/usr/lib/grub/$libarch/*stage* \ 1.15 + $fs/usr/lib/grub/$libarch 1.16 } 1.17