Fix paths
This commit is contained in:
parent
38f5badbeb
commit
5e961046a2
10 changed files with 9 additions and 19 deletions
5
Makefile
5
Makefile
|
@ -37,7 +37,6 @@ SERVICES = \
|
||||||
misc \
|
misc \
|
||||||
modules \
|
modules \
|
||||||
mount \
|
mount \
|
||||||
mount-all \
|
|
||||||
net-lo \
|
net-lo \
|
||||||
network \
|
network \
|
||||||
pseudofs \
|
pseudofs \
|
||||||
|
@ -49,7 +48,6 @@ SERVICES = \
|
||||||
single \
|
single \
|
||||||
swap \
|
swap \
|
||||||
sysctl \
|
sysctl \
|
||||||
sysusers \
|
|
||||||
tmpfiles-dev \
|
tmpfiles-dev \
|
||||||
tmpfiles-setup \
|
tmpfiles-setup \
|
||||||
tmpfs \
|
tmpfs \
|
||||||
|
@ -76,7 +74,8 @@ SCRIPTS = \
|
||||||
network \
|
network \
|
||||||
pseudofs \
|
pseudofs \
|
||||||
random-seed \
|
random-seed \
|
||||||
vconsole
|
vconsole \
|
||||||
|
root-rw
|
||||||
|
|
||||||
TTY_SERVICES = \
|
TTY_SERVICES = \
|
||||||
tty1 \
|
tty1 \
|
||||||
|
|
3
scripts/root-rw
Executable file
3
scripts/root-rw
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
mount -a
|
||||||
|
mount -o remount,rw /
|
|
@ -1,5 +0,0 @@
|
||||||
type = scripted
|
|
||||||
command = /bin/mount -a -t nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,noshfs,nofuse,nofuseblk,noglusterfs,nodavfs,nofuse.glusterfs -O no_netdev
|
|
||||||
restart = false
|
|
||||||
waits-for = fsck
|
|
||||||
waits-for.d = mount.d
|
|
|
@ -1,9 +1,8 @@
|
||||||
type = scripted
|
type = scripted
|
||||||
command = /bin/mount -o remount,rw /
|
command = /etc/dinit.d/scripts/root-rw
|
||||||
restart = false
|
restart = false
|
||||||
options = starts-rwfs
|
options = starts-rwfs
|
||||||
logfile = /var/log/dinit/rootrw.log
|
logfile = /var/log/dinit/rootrw.log
|
||||||
|
|
||||||
depends-on = mount-all
|
|
||||||
waits-for = hwclock
|
waits-for = hwclock
|
||||||
waits-for = fsck
|
waits-for = fsck
|
||||||
|
|
|
@ -7,6 +7,5 @@ waits-for = net-lo
|
||||||
waits-for = random-seed
|
waits-for = random-seed
|
||||||
waits-for = swap
|
waits-for = swap
|
||||||
waits-for = sysctl
|
waits-for = sysctl
|
||||||
waits-for = sysusers
|
|
||||||
waits-for = tmpfiles-setup
|
waits-for = tmpfiles-setup
|
||||||
waits-for = vconsole
|
waits-for = vconsole
|
||||||
|
|
|
@ -3,5 +3,4 @@ command = /sbin/swapon -a
|
||||||
stop-command = /sbin/swapoff -a
|
stop-command = /sbin/swapoff -a
|
||||||
depends-on = root-rw
|
depends-on = root-rw
|
||||||
depends-on = udevd
|
depends-on = udevd
|
||||||
depends-on = mount-all
|
|
||||||
waits-for = udev-settle
|
waits-for = udev-settle
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type = scripted
|
type = scripted
|
||||||
command = /usr/bin/sysctl --system
|
command = /usr/sbin/sysctl --system
|
||||||
restart = false
|
restart = false
|
||||||
waits-for = pseudofs
|
waits-for = pseudofs
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
type = scripted
|
|
||||||
command = /usr/bin/sysusers
|
|
||||||
restart = false
|
|
||||||
waits-for = root-rw
|
|
|
@ -1,4 +1,4 @@
|
||||||
type = scripted
|
type = scripted
|
||||||
command = /bin/tmpfiles --prefix=/dev --create --boot
|
command = /bin/systemd-tmpfiles --prefix=/dev --create --boot
|
||||||
restart = false
|
restart = false
|
||||||
waits-for = kmod-static-nodes
|
waits-for = kmod-static-nodes
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
type = scripted
|
type = scripted
|
||||||
command = /bin/tmpfiles --exclude-prefix=/dev --create --remove --boot
|
command = /bin/systemd-tmpfiles --exclude-prefix=/dev --create --remove --boot
|
||||||
restart = false
|
restart = false
|
||||||
waits-for = udev-settle
|
waits-for = udev-settle
|
||||||
|
|
Loading…
Reference in a new issue