]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
99base: Add chown binary
authorHannes Reinecke <hare@suse.de>
Thu, 11 Dec 2014 14:46:27 +0000 (15:46 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Dec 2014 12:29:37 +0000 (13:29 +0100)
nvidia driver needs this via modprobe script.
Needs to do change the group after a device node got created.
Add chown instead of chgrp which can also change the owner of a file.

Ask Stefand Dirsch <sndirsch@suse.de> for details.

Signed-off-by: Thomas Renninger <trenn@suse.de>
modules.d/99base/module-setup.sh

index 7d3032029909b9046554be98e298134622148622..a1046af8093592f1ea8dc63e276ba69831cd0f11 100755 (executable)
@@ -15,7 +15,7 @@ depends() {
 install() {
     local _d
 
-    inst_multiple mount mknod mkdir sleep chroot \
+    inst_multiple mount mknod mkdir sleep chroot chown \
         sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid
     inst $(command -v modprobe) /sbin/modprobe