packages: grub2/grub2.spec - add locale dir, which grub-mkconfig needs or i...
glen
glen at pld-linux.org
Sun Aug 1 19:27:08 CEST 2010
Author: glen Date: Sun Aug 1 17:27:08 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- add locale dir, which grub-mkconfig needs or it bails out
---- Files affected:
packages/grub2:
grub2.spec (1.84 -> 1.85)
---- Diffs:
================================================================
Index: packages/grub2/grub2.spec
diff -u packages/grub2/grub2.spec:1.84 packages/grub2/grub2.spec:1.85
--- packages/grub2/grub2.spec:1.84 Sun Aug 1 19:08:59 2010
+++ packages/grub2/grub2.spec Sun Aug 1 19:27:02 2010
@@ -2,6 +2,7 @@
# TODO
# - subpackages? e.g. modules and utils
# - subpackage for /sbin/grub-mkfont (pulls freetype lib dep)
+# - check where is that locale path: /boot/grub/locale and fix it or change it
# - grubemu notes
# --enable-grub-emu-usb conflicts with --enable-grub-emu-pci, emu-pci seems experimental
# - to build and install the `grub-emu' debugging utility we need to re-run build with --target=emu
@@ -25,7 +26,7 @@
Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2
Name: grub2
Version: 1.98
-Release: 0.2
+Release: 0.3
License: GPL v2
Group: Base
Source0: http://alpha.gnu.org/gnu/grub/grub-%{version}.tar.gz
@@ -229,6 +230,9 @@
pkglibdir=%{_libexecdir} \
DESTDIR=$RPM_BUILD_ROOT
+# this must be after 'make install'
+install -d $RPM_BUILD_ROOT%{_libexecdir}/locale
+
cp -a docs/grub.cfg $RPM_BUILD_ROOT%{_libexecdir}
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/update-grub
cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man8/update-grub.8
@@ -306,6 +310,8 @@
/lib/grub-mkconfig_lib
%dir %{_libexecdir}
+# XXX: check this locale dir location and if it is neccesaary to exist on /boot
+%dir %{_libexecdir}/locale
%config(noreplace) %verify(not md5 mtime size) %{_libexecdir}/grub.cfg
%{_libexecdir}/*.lst
%{_libexecdir}/*.mod
@@ -354,6 +360,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.85 2010/08/01 17:27:02 glen
+- add locale dir, which grub-mkconfig needs or it bails out
+
Revision 1.84 2010/08/01 17:08:59 glen
- subpkg todo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/grub2/grub2.spec?r1=1.84&r2=1.85&f=u
More information about the pld-cvs-commit
mailing list