From e80d4edb1be5ef32faa0946ef37dc466a8f2f3a4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 2 Jun 2013 12:32:57 +0200 Subject: [PATCH] dracut: chown after chroot to NEWROOT instead. --- dracut/adduser.sh | 2 +- dracut/module-setup.sh | 1 - 2 files changed, 1 insertion(+), 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