aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-07-11 02:47:30 -0400
committerHongxu Jia <hongxu.jia@windriver.com>2019-07-11 14:56:24 +0800
commit859d860d788344492419f2ebba5e87f2a6d62c63 (patch)
tree8849f03fd702e1c36411889da41518511c2b3bf3
parent002ecb6439f83b2fec89e1394196a5eccfeb35d2 (diff)
downloadmeta-anaconda-859d860d788344492419f2ebba5e87f2a6d62c63.tar.gz
meta-anaconda-859d860d788344492419f2ebba5e87f2a6d62c63.tar.bz2
meta-anaconda-859d860d788344492419f2ebba5e87f2a6d62c63.zip
classes/anaconda_image.bbclass: fix pxe failed with multiple target builds
For initramfs, it missed to fill .target_build_list for multiple target builds Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--classes/anaconda_image.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/anaconda_image.bbclass b/classes/anaconda_image.bbclass
index 568c4fa..84937a0 100644
--- a/classes/anaconda_image.bbclass
+++ b/classes/anaconda_image.bbclass
@@ -249,6 +249,7 @@ _EOF
bpn=${BPN}
# Do not copy image for initramfs
if [ "${bpn##*initramfs}" != "${bpn%%initramfs*}" ]; then
+ echo "::$prj_name::" >> ${IMAGE_ROOTFS}/.target_build_list
continue
elif [ "x$extension" = "xext2" -o "x$extension" = "xext3" -o "x$extension" = "xext4" ]; then
echo "Image based target install selected."