From 6c8db5470d851891ec9fbdecbfdffb593c4ef337 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 1 Dec 2005 03:47:05 +0000 Subject: ... and save --- scripts/upd-instroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 78ab0a7d8..f1dc4f130 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -1052,7 +1052,7 @@ if [ -n "$NEEDGR" ]; then fi echo "Creating SELinux policy..." -if [ -x /usr/bin/runroot -a -n "$COMPONENT" ]; then +if [ -x $DESTGR/usr/sbin/semodule -a -x /usr/bin/runroot -a -n "$COMPONENT" ]; then runroot $COMPONENT --onlyone --arch $ARCH "/usr/sbin/chroot $DESTGR /usr/sbin/semodule -b /usr/share/selinux/targeted/base.pp -n -s targeted" else /usr/sbin/chroot $DESTGR /usr/sbin/semodule -b /usr/share/selinux/targeted/base.pp -n -s targeted -- cgit