forked from rpms/glibc
Install kernel header files into the sysroot subpackage
Related: #2149644
This commit is contained in:
parent
1bc41d2121
commit
b02b60a0ea
13
glibc.spec
13
glibc.spec
@ -148,7 +148,7 @@ end \
|
|||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: %{glibcversion}
|
Version: %{glibcversion}
|
||||||
Release: 53%{?dist}
|
Release: 54%{?dist}
|
||||||
|
|
||||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||||
# libraries.
|
# libraries.
|
||||||
@ -2025,6 +2025,14 @@ for lib in lib lib64; do
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Workaround for the lack of a kernel sysroot package. Copy the
|
||||||
|
# kernel headers into the sysroot.
|
||||||
|
rpm -ql kernel-headers | grep "^/usr/include" | while read f ; do
|
||||||
|
if test -f "$f" ; then
|
||||||
|
install -D "$f" "./$f"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# Remove the executable bit from files in the sysroot. This prevents
|
# Remove the executable bit from files in the sysroot. This prevents
|
||||||
# debuginfo extraction.
|
# debuginfo extraction.
|
||||||
find -type f | xargs chmod a-x
|
find -type f | xargs chmod a-x
|
||||||
@ -2795,6 +2803,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 12 2022 Florian Weimer <fweimer@redhat.com> - 2.34-54
|
||||||
|
- Install kernel header files into the sysroot subpackage (#2149644)
|
||||||
|
|
||||||
* Wed Dec 07 2022 Arjun Shankar <arjun@redhat.com> - 2.34-53
|
* Wed Dec 07 2022 Arjun Shankar <arjun@redhat.com> - 2.34-53
|
||||||
- Sync with upstream branch release/2.34/master,
|
- Sync with upstream branch release/2.34/master,
|
||||||
commit a4217408a3d6050a7f42ac23adb6ac7218dca85f:
|
commit a4217408a3d6050a7f42ac23adb6ac7218dca85f:
|
||||||
|
Loading…
Reference in New Issue
Block a user