Rework moving automount earlier in boot sequence

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-11-15 09:54:07 +00:00
parent ae10c5d46a
commit 23415c038b
3 changed files with 14 additions and 4 deletions

View File

@ -35,14 +35,13 @@ RUN \
rc-update add sysfs && \
rc-update add sysfsconf && \
rc-update add fsck && \
rc-update add root && \
rc-update add crond && \
rc-update add local && \
rc-update add localmount && \
rc-update add docker default && \
rc-update add proxy default && \
rc-update add transfused default && \
rc-update add automount boot && \
rc-update add automount sysinit && \
rc-update add diagnostics default && \
rc-update add binfmt_misc default && \
rc-update add hostsettings default && \

12
alpine/etc/init.d/fsck Executable file
View File

@ -0,0 +1,12 @@
#!/sbin/openrc-run
# do nothing as we do this in automount script
start()
{
return 0
}
stop()
{
return 0
}

View File

@ -2,8 +2,7 @@
depend()
{
after dev
before docker
need dev
}
do_fsck()