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:
Marek Marczykowski 2012-10-19 03:44:11 +02:00
parent 1a5fdddf01
commit 4b4fdefe94

View File

@ -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