forked from pool/grub2
Accepting request 209046 from home:arvidjaar:branches: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. OBS-URL: https://build.opensuse.org/request/show/209046 OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=56
This commit is contained in:
parent
ee05e02b3f
commit
1a79633072
@ -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