s390 doesn't need to graft product.img and updates.img into /images (#1478448)

The /images directory is already grafted into the iso, so it
doesn't need a specific line for the .img files.

Related: rhbz#1478448
This commit is contained in:
Brian C. Lane 2017-09-29 09:31:34 -07:00
parent 58309c2018
commit 7a0b4f2070
1 changed files with 1 additions and 2 deletions

View File

@ -41,12 +41,11 @@ treeinfo images-${basearch} generic.prm ${BOOTDIR}/generic.prm
treeinfo images-${basearch} genericdvd.prm ${BOOTDIR}/genericdvd.prm
treeinfo images-${basearch} generic.ins generic.ins
# Create optional product.img and updates.img
# Create optional product.img and updates.img in /images/
<% imggraft=""; images=["product", "updates"] %>
%for img in images:
%if exists("%s/%s/" % (LORAXDIR, img)):
installimg ${LORAXDIR}/${img}/ images/${img}.img
<% imggraft += " images/{0}.img={1}/images/{0}.img".format(img, outroot) %>
%endif
%endfor