3
0
forked from pool/libselinux

Accepting request 1114631 from home:crameleon:branches:security:SELinux

Repair initrd libselinux check in selinux-ready (file is installed unerneath /usr now).

OBS-URL: https://build.opensuse.org/request/show/1114631
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=164
This commit is contained in:
Johannes Segitz 2023-10-04 11:55:58 +00:00 committed by Git OBS Bridge
parent baa5cefbf7
commit 653fed71ab
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Oct 1 19:17:31 UTC 2023 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
- Repair initrd libselinux check in selinux-ready
-------------------------------------------------------------------
Tue Aug 8 06:59:16 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -102,7 +102,7 @@ check_mkinitrd()
else
# looks like we're using dracut/systemd. We can only check if libselinux1
# exists
if [ -f lib64/libselinux.so.1 ]; then
if [ -f usr/lib64/libselinux.so.1 ]; then
# if this exists
FLG1=0
FLG2=0