summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2015-02-01 11:46:53 +0100
committerHarald Hoyer <harald@redhat.com>2015-02-01 11:52:41 +0100
commita96f5ab77000f5f492025f69ebb919a393125202 (patch)
tree2b6e85d642c4ec644a1a854c74397ee86b751116
parentb05291f4f343c7568d28d8b2f22e448752041b47 (diff)
test/test-create-disk.sh: fixup the cmdline
remove the line break and add some dracut specific options to get a shell in the initrd.
-rwxr-xr-xtest/test-create-disk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-create-disk.sh b/test/test-create-disk.sh
index 9f176e9..a5cd4cc 100755
--- a/test/test-create-disk.sh
+++ b/test/test-create-disk.sh
@@ -19,7 +19,7 @@ cp test/splash.bmp mnt/EFI/gummiboot/
[ -e /boot/shellx64.efi ] && cp /boot/shellx64.efi mnt/
mkdir mnt/EFI/Linux
-echo "foo=yes bar=no debug" > mnt/cmdline.txt
+echo -n "foo=yes bar=no root=/dev/fakeroot debug rd.break=initqueue" > mnt/cmdline.txt
objcopy \
--add-section .osrel=/etc/os-release --change-section-vma .osrel=0x20000 \
--add-section .cmdline=mnt/cmdline.txt --change-section-vma .cmdline=0x30000 \