copy some /dev/ files required by fedora rpms
Some rpm %post scripts fails when /dev is empty. Especially lpstat crashes when /dev/random is missing, which caused yum hang on some rpms installation.
This commit is contained in:
parent
1a5fdddf01
commit
4b4fdefe94
@ -44,6 +44,7 @@ else
|
||||
|
||||
cp clean_images/network $INSTALLDIR/etc/sysconfig
|
||||
cp clean_images/resolv.conf $INSTALLDIR/etc
|
||||
cp -a /dev/null /dev/zero /dev/random /dev/urandom $INSTALLDIR/dev/
|
||||
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user