summaryrefslogtreecommitdiffstats
path: root/test/parser/Makefile.am
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-08-07 14:00:16 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-08-07 14:30:06 +0800
commitcdaae762f23d137eef7de73f2226f55090ddbec0 (patch)
tree877449205547d353f0080d9c890baab7af0dbb6d /test/parser/Makefile.am
parent38d7d1a97d46aacf67675038c927e579bb589310 (diff)
downloadtalos-petitboot-cdaae762f23d137eef7de73f2226f55090ddbec0.tar.gz
talos-petitboot-cdaae762f23d137eef7de73f2226f55090ddbec0.zip
discover/yaboot: fix device parsing
A couple of fixes for yaboot's device-handling code. Firstly, we need to use 'device=' rather than 'root=', as the latter is purely for ybin, to define where the yaboot binary goes. Secondly, we need to respect global and option-specific device= parameters. To do this, we keep all boot_image and initrd strings in the state, and create the actual resources in yaboot_finish. Add a test for all override cases, and fix the incorrect boot= parsing in the rh8 test. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/parser/Makefile.am')
-rw-r--r--test/parser/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am
index 4319705..3c6d73b 100644
--- a/test/parser/Makefile.am
+++ b/test/parser/Makefile.am
@@ -36,6 +36,7 @@ TESTS = \
test-yaboot-external \
test-yaboot-root-global \
test-yaboot-root-override \
+ test-yaboot-device-override \
test-yaboot-rh8-ppc64 \
test-pxe-single \
test-pxe-initrd-in-append
OpenPOWER on IntegriCloud