[PATCH 11/11] removed kernel variable from test/test-initramfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 test/test-initramfs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


diff --git a/test/test-initramfs b/test/test-initramfs
index a050deb..dc0e837 100755
--- a/test/test-initramfs
+++ b/test/test-initramfs
@@ -1,5 +1,4 @@
 #!/bin/bash
-kernel=$(uname -r)
 [[ -f test/root.ext2 ]] || test/make-test-root
 
 ./dracut $DRACUTOPTS -c test/dracut.conf.test -l -f test/initramfs.testing || exit
@@ -7,7 +6,7 @@ kernel=$(uname -r)
 qemu-kvm -hda test/root.ext2 -m 512M -nographic  \
 	-net nic,macaddr=52:54:00:12:34:56  \
 	-net user  \
-	-kernel /boot/vmlinuz-$kernel \
+	-kernel /boot/vmlinuz-$(uname -r) \
 	-initrd test/initramfs.testing \
 	-append "root=/dev/sda rw console=ttyS0,115200n81 $APPEND"   
 


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux