24 lines
831 B
Diff
24 lines
831 B
Diff
|
dracut: Always add chgrp to initrd
|
||
|
|
||
|
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>
|
||
|
|
||
|
Index: dracut-037/modules.d/99base/module-setup.sh
|
||
|
===================================================================
|
||
|
--- dracut-037.orig/modules.d/99base/module-setup.sh
|
||
|
+++ dracut-037/modules.d/99base/module-setup.sh
|
||
|
@@ -17,7 +17,7 @@ depends() {
|
||
|
install() {
|
||
|
local _d
|
||
|
|
||
|
- inst_multiple mount mknod mkdir sleep chroot \
|
||
|
+ inst_multiple mount mknod mkdir sleep chroot chgrp \
|
||
|
sed ls flock cp mv dmesg rm ln rmmod mkfifo umount readlink setsid
|
||
|
inst $(command -v modprobe) /sbin/modprobe
|
||
|
|