TEST-01-BASIC: sync after creating the root disk
parent
8be5a0fa94
commit
cfe32ef5ba
|
@ -19,5 +19,6 @@ cp -a -t /root /source/*
|
|||
mkdir -p /root/run
|
||||
umount /root
|
||||
echo "dracut-root-block-created" >/dev/sda1
|
||||
sync
|
||||
poweroff -f
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ test_setup() {
|
|||
(
|
||||
initdir=$TESTDIR/overlay
|
||||
. $basedir/dracut-functions.sh
|
||||
dracut_install sfdisk mkfs.ext3 poweroff cp umount
|
||||
dracut_install sfdisk mkfs.ext3 poweroff cp umount sync
|
||||
inst_hook initqueue 01 ./create-root.sh
|
||||
inst_simple ./99-idesymlinks.rules /etc/udev/rules.d/99-idesymlinks.rules
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue