mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 20:48:11 +00:00
Merge pull request #727 from justincormack/var-run-link
Fix /run symlink issues
This commit is contained in:
commit
6cb4f046c4
@ -6,7 +6,7 @@
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need clock hostname localmount vsudd
|
||||
need clock hostname localmount vsudd bootmisc
|
||||
before net
|
||||
provide logger
|
||||
}
|
||||
|
@ -52,6 +52,10 @@ start()
|
||||
[ -d /var/var/lib/boot2docker/ ] && mount --bind /var/var /var
|
||||
fi
|
||||
|
||||
# can remove when we run before bootmisc
|
||||
[ -L /var/run ] || ln -s /run /var/run
|
||||
[ -L /var/run ] || ln -s /run/lock /var/lock
|
||||
|
||||
mount | grep -q "${DEV}. on /var type"
|
||||
|
||||
eend $? "Failed to mount block device"
|
||||
|
Loading…
Reference in New Issue
Block a user