dracut: chown after chroot to NEWROOT instead.

This commit is contained in:
Juan RP 2013-06-02 12:32:57 +02:00
parent 4631d5a919
commit e80d4edb1b
2 changed files with 1 additions and 2 deletions

View File

@ -40,5 +40,5 @@ polkit.addRule(function(action, subject) {
}
});
_EOF
chown polkitd:polkitd ${NEWROOT}/etc/polkit-1/rules.d/void-live.rules
chroot ${NEWROOT} chown polkitd:polkitd /etc/polkit-1/rules.d/void-live.rules
fi

View File

@ -11,7 +11,6 @@ depends() {
}
install() {
inst /usr/bin/chown
inst /usr/bin/chroot
inst /usr/bin/chmod
inst /usr/bin/sed