[PATCH] tests: Fix qemu-wrapper.sh generation
6 Dec
2012
6 Dec
'12
11:55 p.m.
--- There's some other issues with check-with-upstream-qemu, like qemu-wrapper isn't regenerated if we specify a new QEMUDIR. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2eebefa..4f88311 100644 --- a/Makefile.am +++ b/Makefile.am @@ -356,7 +356,7 @@ check-with-upstream-qemu-1: $(top_builddir)/qemu-wrapper.sh $(top_builddir)/qemu-wrapper.sh: Makefile rm -f $@ $@-t - echo exec "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" "$$@" > $@-t + echo -e "#!/bin/sh\nexec" "$(QEMUBINARY)" -L "$(QEMUDIR)/pc-bios" \"\$$@\" > $@-t chmod +x,-w $@-t mv $@-t $@ -- 1.8.0
5095
Age (days ago)
5095
Last active (days ago)
0 comments
1 participants
participants (1)
-
Cole Robinson