dinit-rc: further initial fix

stay-on-etc 0.0.3
M. Herdiansyah 1 year ago
parent 1cea07fce9
commit bc91ca673a
  1. 7
      Makefile
  2. 1
      services/boot
  3. 2
      services/fsck
  4. 2
      services/mount
  5. 2
      services/mount-all
  6. 3
      services/tmpfs

@ -15,7 +15,8 @@ CONF_FILES = \
rc.local \
rc.shutdown
SERVICEDIR = boot.d
SERVICEDIR = boot.d \
mount.d
SERVICES = \
binfmt \
@ -45,6 +46,7 @@ SERVICES = \
sysusers \
tmpfiles-dev \
tmpfiles-setup \
tmpfs \
tty1 \
tty2 \
tty3 \
@ -81,6 +83,9 @@ install:
install -d $(DESTDIR)$(DINITDIR)/config
install -d $(DESTDIR)$(DINITDIR)/scripts
install -d $(DESTDIR)$(DINITDIR)/boot.d
install -d $(DESTDIR)$(DINITDIR)/mount.d
# placeholder
touch $(DESTDIR)$(DINITDIR)/mount.d/.KEEP
# default services
ln -sf ../loginready $(DESTDIR)$(DINITDIR)/boot.d/loginready
ln -sf ../misc $(DESTDIR)$(DINITDIR)/boot.d/misc

@ -8,6 +8,7 @@ depends-ms = tty3
depends-ms = tty4
depends-ms = tty5
depends-ms = tty6
logfile = /run/boot.log
waits-for.d = boot.d
waits-for = rclocal

@ -5,4 +5,4 @@ options = starts-on-console start-interruptible skippable
start-timeout = 0
depends-on = udevd
waits-for = udev-settle
waits-for = lvm
waits-for.d = mount.d

@ -1,4 +1,4 @@
type = scripted
type = internal
restart = false
waits-for = root-rw
waits-for = cgroups

@ -1,5 +1,5 @@
type = scripted
command = /usr/bin/mount -a -t nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,noshfs,nofuse,nofuseblk,noglusterfs,nodavfs,nofuse.glusterfs -O no_netdev
restart = false
waits-for = cryptsetup
waits-for = fsck
waits-for.d = mount.d

@ -0,0 +1,3 @@
type = scripted
command = /bin/mount -t tmpfs tmpfs /tmp
restart = false
Loading…
Cancel
Save