Browse Source

Fixed mkinitrd to copy /etc/group into the image

- This will enable udev to lookup groups using getgrnam(3),
  and finally we get rid of the annoying errer messages at
  boot time.
early
Christian Wiese 17 years ago
parent
commit
5880ae8c1e
  1. 4
      base/mkinitrd/mkinitrd.sh

4
base/mkinitrd/mkinitrd.sh

@ -115,6 +115,10 @@ echo "Injecting programs and configuration ..."
# copying config
#
# group (needed by udev to resolve group names)
cp -a ${root}/etc/group $tmpdir/etc/
# udev
cp -ar ${root}/etc/udev $tmpdir/etc/
# in theory all, but fat and currently only cdrom_id is needed ...
cp -ar ${root}/lib/udev/* $tmpdir/lib/udev/

Loading…
Cancel
Save