Accepting request 209121 from Base:System
reset executable bits on *module, *.exec and *.image files. They are not executable and get installed with 0755 permissions due to the way grub2 build system works. This avoids multiple warnings from find-debufinfo.sh and generation of useless *.debug files. (forwarded request 209046 from arvidjaar) OBS-URL: https://build.opensuse.org/request/show/209121 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=76
This commit is contained in:
parent
d6309f618c
commit
e5dd4258b2
@ -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
|
||||
|
||||
|
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user