diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-01-13 18:16:20 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-01-13 18:16:20 +0100 |
commit | 0db57528703c2e2c58e1e23efd097046e8a29f83 (patch) | |
tree | e3b4ef6dfec58b99f13105459953b5d1f4c3c0bf | |
parent | 054b4c03b23206dd17ab0a8287633ab0a92cbe1b (diff) |
Do not copy SELinux context in mkinitramfs (Closes: #948365)
Instead use the default one with option 'Z'.
-rwxr-xr-x | mkinitramfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs index 26be331..66d6493 100755 --- a/mkinitramfs +++ b/mkinitramfs @@ -362,7 +362,7 @@ depmod -a -b "${DESTDIR}" "${version}" rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map # make sure that library search path is up to date -cp -ar /etc/ld.so.conf* "$DESTDIR"/etc/ +cp -aZ /etc/ld.so.conf* "$DESTDIR"/etc/ if ! ldconfig -r "$DESTDIR" ; then [ "$(id -u)" != "0" ] \ && echo "ldconfig might need uid=0 (root) for chroot()" >&2 |