diff options
| author | Jeremy Katz <katzj@redhat.com> | 2005-12-01 03:47:05 +0000 |
|---|---|---|
| committer | Jeremy Katz <katzj@redhat.com> | 2005-12-01 03:47:05 +0000 |
| commit | 6c8db5470d851891ec9fbdecbfdffb593c4ef337 (patch) | |
| tree | 9458d37592c1e746f5f9450c31796c560677751c /scripts | |
| parent | 12c0b79b6a21deb04b0e92cf702ca74e147cc3b6 (diff) | |
| download | anaconda-6c8db5470d851891ec9fbdecbfdffb593c4ef337.tar.gz anaconda-6c8db5470d851891ec9fbdecbfdffb593c4ef337.tar.xz anaconda-6c8db5470d851891ec9fbdecbfdffb593c4ef337.zip | |
... and save
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/upd-instroot | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
