all: Correct path to /var/lib/systemd/random-seed

At least for Atomic Host, AFAICS it isn't actually in the final
image; not entirely sure why.  But we should be using the right
path here anyways.

https://bugzilla.redhat.com/show_bug.cgi?id=1424404
This commit is contained in:
Colin Walters 2017-02-17 15:05:13 -05:00
parent 026f8948d3
commit 9912269d88
4 changed files with 4 additions and 4 deletions

View File

@ -109,7 +109,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF #EOF
echo "Removing random-seed so it's not the same in every image." echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed rm -f /var/lib/systemd/random-seed
echo "Packages within this cloud image:" echo "Packages within this cloud image:"
echo "-----------------------------------------------------------------------" echo "-----------------------------------------------------------------------"

View File

@ -222,7 +222,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF #EOF
echo "Removing random-seed so it's not the same in every image." echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed rm -f /var/lib/systemd/random-seed
echo "Cleaning old dnf repodata." echo "Cleaning old dnf repodata."
# FIXME: clear history? # FIXME: clear history?

View File

@ -178,7 +178,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF #EOF
echo "Removing random-seed so it's not the same in every image." echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata." echo "Cleaning old yum repodata."
yum history new yum history new

View File

@ -169,7 +169,7 @@ echo "RUN_FIRSTBOOT=NO" > /etc/sysconfig/firstboot
#EOF #EOF
echo "Removing random-seed so it's not the same in every image." echo "Removing random-seed so it's not the same in every image."
rm -f /var/lib/random-seed rm -f /var/lib/systemd/random-seed
echo "Cleaning old yum repodata." echo "Cleaning old yum repodata."
yum history new yum history new