Commit 5e8b7746 by Stéphane Graber Committed by GitHub

Merge pull request #1286 from mgariepy/patch-1

create symlink for /var/run
parents f79750ac 1c5a3c58
...@@ -451,6 +451,13 @@ EOF ...@@ -451,6 +451,13 @@ EOF
$YUM install $PKG_LIST $YUM install $PKG_LIST
# create symlink for /var/run -> ../run
if [ "$release" = "7" ]; then
mv $INSTALL_ROOT/var/run/* $INSTALL_ROOT/run/
rmdir $INSTALL_ROOT/var/run
ln -sf ../run $INSTALL_ROOT/var/run
fi
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Failed to download the rootfs, aborting." echo "Failed to download the rootfs, aborting."
return 1 return 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment