diff options
author | Juan RP <xtraeme@gmail.com> | 2013-06-02 12:32:57 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2013-06-02 12:32:57 +0200 |
commit | e80d4edb1be5ef32faa0946ef37dc466a8f2f3a4 (patch) | |
tree | 9342641c8fb1837f178273b8e026ea08f58fed41 | |
parent | 4631d5a919f39aebb823cc508a90608c29ed6383 (diff) | |
download | hrmpf-e80d4edb1be5ef32faa0946ef37dc466a8f2f3a4.tar.gz hrmpf-e80d4edb1be5ef32faa0946ef37dc466a8f2f3a4.tar.xz hrmpf-e80d4edb1be5ef32faa0946ef37dc466a8f2f3a4.zip |
dracut: chown after chroot to NEWROOT instead.
-rw-r--r-- | dracut/adduser.sh | 2 | ||||
-rw-r--r-- | dracut/module-setup.sh | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh index b014ad0..79133ac 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -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 diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh index 9df7aff..a44efd2 100644 --- a/dracut/module-setup.sh +++ b/dracut/module-setup.sh @@ -11,7 +11,6 @@ depends() { } install() { - inst /usr/bin/chown inst /usr/bin/chroot inst /usr/bin/chmod inst /usr/bin/sed |