Skip to content

Commit

Permalink
fix also /var/lock initrd corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Mar 18, 2015
1 parent a60c69c commit 7fb158b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init_buildsystem
Expand Up @@ -858,6 +858,10 @@ if test -L $BUILD_ROOT/var/run -a ! -e $BUILD_ROOT/var/run; then
rm $BUILD_ROOT/var/run
mkdir $BUILD_ROOT/var/run
fi
if test -L $BUILD_ROOT/var/lock -a ! -e $BUILD_ROOT/var/lock; then
rm $BUILD_ROOT/var/lock
mkdir $BUILD_ROOT/var/lock
fi

MAIN_LIST="$PACKAGES_TO_INSTALL"
progress_setup MAIN_LIST
Expand Down

1 comment on commit 7fb158b

@mmetak
Copy link
Contributor

@mmetak mmetak commented on 7fb158b Mar 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.