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:
parent
9264ec7f26
commit
ec3a9af378
@ -38,13 +38,12 @@ treeinfo images-${basearch} generic.prm ${BOOTDIR}/generic.prm
|
|||||||
treeinfo images-${basearch} genericdvd.prm ${BOOTDIR}/genericdvd.prm
|
treeinfo images-${basearch} genericdvd.prm ${BOOTDIR}/genericdvd.prm
|
||||||
treeinfo images-${basearch} generic.ins generic.ins
|
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"] %>
|
<% filegraft=""; images=["product", "updates"] %>
|
||||||
%for img in images:
|
%for img in images:
|
||||||
%if exists("%s/%s/" % (LORAXDIR, img)):
|
%if exists("%s/%s/" % (LORAXDIR, img)):
|
||||||
installimg ${LORAXDIR}/${img}/ images/${img}.img
|
installimg ${LORAXDIR}/${img}/ images/${img}.img
|
||||||
treeinfo images-${basearch} ${img}.img images/${img}.img
|
treeinfo images-${basearch} ${img}.img images/${img}.img
|
||||||
<% filegraft += " images/{0}.img={1}/images/{0}.img".format(img, outroot) %>
|
|
||||||
%endif
|
%endif
|
||||||
%endfor
|
%endfor
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user