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

The /images directory is already grafted into the iso, so it doesn't
need a specific line for the .img files.
This commit is contained in:
Brian C. Lane 2017-09-27 09:50:11 -07:00
parent 9264ec7f26
commit ec3a9af378

View File

@ -38,13 +38,12 @@ 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/
<% filegraft=""; images=["product", "updates"] %>
%for img in images:
%if exists("%s/%s/" % (LORAXDIR, img)):
installimg ${LORAXDIR}/${img}/ images/${img}.img
treeinfo images-${basearch} ${img}.img images/${img}.img
<% filegraft += " images/{0}.img={1}/images/{0}.img".format(img, outroot) %>
%endif
%endfor