mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH 11/11] removed kernel variable from test/test-initramfs
@ 2009-05-15 12:40 Harald Hoyer
  0 siblings, 0 replies; only message in thread
From: Harald Hoyer @ 2009-05-15 12:40 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

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



[-- Attachment #2: c354b54e555a76fa78404b57740372694e18d37e.diff --]
[-- Type: text/x-patch, Size: 636 bytes --]

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"   
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-15 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 12:40 [PATCH 11/11] removed kernel variable from test/test-initramfs Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox