Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
fea3b2675c | ||
![]() |
2dfb3ac0ad | ||
![]() |
fb924ced4f | ||
![]() |
7008745393 | ||
![]() |
5a93f2ca81 | ||
![]() |
3cd9f46117 | ||
![]() |
f88b0f4eac | ||
![]() |
1c6c1ff259 | ||
![]() |
f5217e18ef | ||
![]() |
051dacc843 | ||
![]() |
d3ec2f001e | ||
![]() |
0594295927 |
12
NEWS
12
NEWS
@@ -1,5 +1,17 @@
|
|||||||
Changelog for s6-boot
|
Changelog for s6-boot
|
||||||
|
|
||||||
|
In 0.2.0
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Bugs fix
|
||||||
|
- Improve udevd and udevadm service
|
||||||
|
- Umount NFS4 system if exist on stage2.tini
|
||||||
|
|
||||||
|
In 0.1.9
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Bugs fix
|
||||||
|
|
||||||
In 0.1.8
|
In 0.1.8
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,14 +0,0 @@
|
|||||||
#!/usr/local/bin/execlineb -P
|
|
||||||
# Copyright (c) 2015-2017 Eric Vidal <eric@obarun.org>
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# This file is part of Obarun. It is subject to the license terms in
|
|
||||||
# the LICENSE file found in the top-level directory of this
|
|
||||||
# distribution and at https://github.com/Obarun/s6-boot/LICENSE
|
|
||||||
# This file may not be copied, modified, propagated, or distributed
|
|
||||||
# except according to the terms contained in the LICENSE file.
|
|
||||||
|
|
||||||
fdmove -c 2 1
|
|
||||||
if { s6-echo -- udevd-udevadm started }
|
|
||||||
s6-devd
|
|
||||||
/usr/bin/udevadm settle
|
|
@@ -188,7 +188,7 @@ enabled_daemon() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
start_database() {
|
start_database() {
|
||||||
log "init s6-rc database"
|
log "init s6-rc database with -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}"
|
||||||
if [[ "${_UID}" == 0 ]]; then
|
if [[ "${_UID}" == 0 ]]; then
|
||||||
s6-rc-init -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}
|
s6-rc-init -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -c ${RC_DATABASE_COMPILED}/current ${LIVE_CLASSIC_PATH}
|
||||||
s6-rc -v 3 -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -u change All
|
s6-rc -v 3 -l ${LIVE_RC_PATH}/${LIVE_RC_NAME} -u change All
|
||||||
@@ -223,7 +223,7 @@ add() {
|
|||||||
|
|
||||||
enabled_daemon || exit 1
|
enabled_daemon || exit 1
|
||||||
|
|
||||||
s6_cmd "svscanctl" "an" "${DESTUSER}/${USER}/${DESTCLASSIC}" 2>/dev/null || exit 1
|
s6_cmd "svscanctl" "an" "${LIVE_CLASSIC_PATH}" 2>/dev/null || exit 1
|
||||||
|
|
||||||
start_database || exit 1
|
start_database || exit 1
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
udevd-udev
|
udevd-udev
|
||||||
udevd-udevrules
|
|
||||||
udevd-udevadm
|
udevd-udevadm
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@ importas -D "" IP6TABLES IP6TABLES
|
|||||||
ifelse -X { s6-test $IP6TABLES = yes }
|
ifelse -X { s6-test $IP6TABLES = yes }
|
||||||
{
|
{
|
||||||
if { s6-echo -- Flushing ip6tables }
|
if { s6-echo -- Flushing ip6tables }
|
||||||
/usr/lib/iptables/scripts/iptables-flush 6
|
foreground { /usr/lib/iptables/scripts/iptables-flush 6 }
|
||||||
|
s6-echo -- Ip6tables flushed
|
||||||
}
|
}
|
||||||
s6-echo -- Ip6tables flushed
|
s6-echo -- Ip6tables not actived
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
udevd-udev
|
udevd-udev
|
||||||
udevd-udevrules
|
|
||||||
|
@@ -1,14 +0,0 @@
|
|||||||
#!@BINDIR_EXECLINE@/execlineb -P
|
|
||||||
# Copyright (c) 2015-2017 Eric Vidal <eric@obarun.org>
|
|
||||||
# All rights reserved.
|
|
||||||
#
|
|
||||||
# This file is part of Obarun. It is subject to the license terms in
|
|
||||||
# the LICENSE file found in the top-level directory of this
|
|
||||||
# distribution and at https://github.com/Obarun/s6-boot/LICENSE
|
|
||||||
# This file may not be copied, modified, propagated, or distributed
|
|
||||||
# except according to the terms contained in the LICENSE file.
|
|
||||||
|
|
||||||
fdmove -c 2 1
|
|
||||||
if { s6-echo -- udevd-udevadm started }
|
|
||||||
s6-devd
|
|
||||||
/usr/bin/udevadm settle
|
|
@@ -1 +1 @@
|
|||||||
longrun
|
oneshot
|
||||||
|
@@ -10,8 +10,9 @@
|
|||||||
|
|
||||||
fdmove -c 2 1
|
fdmove -c 2 1
|
||||||
if { s6-echo -- udevd-udevrules started }
|
if { s6-echo -- udevd-udevrules started }
|
||||||
foreground {
|
if {
|
||||||
if { udevadm trigger --action=add --type=subsystems }
|
foreground { udevadm trigger --action=add --type=subsystems }
|
||||||
udevadm trigger --action=add --type=devices
|
foreground { udevadm trigger --action=add --type=devices }
|
||||||
|
udevadm settle
|
||||||
}
|
}
|
||||||
s6-echo -- udevd-udevrules successfully started
|
s6-echo -- udevd-udevrules successfully started
|
@@ -1,2 +0,0 @@
|
|||||||
udevd-udev
|
|
||||||
|
|
@@ -1 +0,0 @@
|
|||||||
oneshot
|
|
@@ -26,7 +26,8 @@ foreground {
|
|||||||
if { s6-echo -- Cleaning /tmp directory }
|
if { s6-echo -- Cleaning /tmp directory }
|
||||||
rm -rf /tmp/
|
rm -rf /tmp/
|
||||||
}
|
}
|
||||||
foreground {
|
foreground {
|
||||||
|
if { s6-test -x /usr/bin/mountstats }
|
||||||
if -X { mountstats }
|
if -X { mountstats }
|
||||||
if { s6-echo Umount NFS filesystem }
|
if { s6-echo Umount NFS filesystem }
|
||||||
umount -a -f -t nfs4
|
umount -a -f -t nfs4
|
||||||
|
Reference in New Issue
Block a user