diff --git a/grub2.changes b/grub2.changes index 840fbca..ddc0b11 100644 --- a/grub2.changes +++ b/grub2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 1 13:10:23 UTC 2013 - arvidjaar@gmail.com + +- reset executable bits on *module, *.exec and *.image files. They are not + executable. + ------------------------------------------------------------------- Fri Nov 22 07:12:16 UTC 2013 - glin@suse.com diff --git a/grub2.spec b/grub2.spec index 35ea7cd..1a42ca7 100644 --- a/grub2.spec +++ b/grub2.spec @@ -398,6 +398,12 @@ make DESTDIR=$RPM_BUILD_ROOT install cd build-efi %endif +# *.module files are installed with executable bits due to the way grub2 build +# system works. Clear executable bits to not confuse find-debuginfo.sh +find $RPM_BUILD_ROOT%{_libdir}/%{name} \ + \( -name '*.module' -o -name '*.image' -o -name '*.exec' \) -print0 | \ + xargs --no-run-if-empty -0 chmod a-x + # Script that makes part of grub.cfg persist across updates install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/grub.d/