test/*/test.sh: mv 01hard-off.sh 000-hard-off.sh
otherwise "die" will let the kernel panicmaster
parent
b20ff981c4
commit
fa79f00803
|
|
@ -63,7 +63,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst ./cryptroot-ask /sbin/cryptroot-ask
|
inst ./cryptroot-ask /sbin/cryptroot-ask
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
sudo $basedir/dracut -l -i overlay / \
|
sudo $basedir/dracut -l -i overlay / \
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
inst ./cryptroot-ask /sbin/cryptroot-ask
|
inst ./cryptroot-ask /sbin/cryptroot-ask
|
||||||
mkdir -p overlay/etc
|
mkdir -p overlay/etc
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
inst ./cryptroot-ask /sbin/cryptroot-ask
|
inst ./cryptroot-ask /sbin/cryptroot-ask
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
sudo $basedir/dracut -l -i overlay / \
|
sudo $basedir/dracut -l -i overlay / \
|
||||||
|
|
|
||||||
|
|
@ -285,7 +285,7 @@ test_setup() {
|
||||||
mkdir overlay
|
mkdir overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
sudo $basedir/dracut -l -i overlay / \
|
sudo $basedir/dracut -l -i overlay / \
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,7 @@ test_setup() {
|
||||||
initdir=overlay
|
initdir=overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
inst ./cryptroot-ask /sbin/cryptroot-ask
|
inst ./cryptroot-ask /sbin/cryptroot-ask
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -217,7 +217,7 @@ test_setup() {
|
||||||
mkdir overlay
|
mkdir overlay
|
||||||
. $basedir/dracut-functions
|
. $basedir/dracut-functions
|
||||||
dracut_install poweroff shutdown
|
dracut_install poweroff shutdown
|
||||||
inst_simple ./hard-off.sh /emergency/01hard-off.sh
|
inst_simple ./hard-off.sh /emergency/000-hard-off.sh
|
||||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue