[lorax 2/3] Add path to squashfs image to the treeinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Related: rhbz#782108
---
 share/ppc.tmpl   |    3 +++
 share/s390.tmpl  |    3 ++-
 share/sparc.tmpl |    1 +
 share/x86.tmpl   |    1 +
 4 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/share/ppc.tmpl b/share/ppc.tmpl
index 7ac28e9..66b10bc 100644
--- a/share/ppc.tmpl
+++ b/share/ppc.tmpl
@@ -23,6 +23,9 @@ rootarg = "root=live:CDLABEL=%s" % isolabel
 
 mkdir ${LIVEDIR}
 install ${runtime_img} ${LIVEDIR}/squashfs.img
+%for kernel in kernels:
+    treeinfo images-${kernel.arch} LiveOS ${LIVEDIR}/squashfs.img
+%endfor
 
 ## install bootloaders.
 ## NOTE: there's two different bootloader setups here:
diff --git a/share/s390.tmpl b/share/s390.tmpl
index 9523f9c..360796e 100644
--- a/share/s390.tmpl
+++ b/share/s390.tmpl
@@ -1,4 +1,4 @@
-<%page args="kernels, runtime_img, basearch, outroot"/>
+<%page args="kernels, runtime_img, runtime_base, basearch, outroot"/>
 <%
 configdir="tmp/config_files/s390"
 BOOTDIR="images"
@@ -11,6 +11,7 @@ kernel = kernels[0]
 
 mkdir images
 install ${runtime_img} images
+treeinfo images-${basearch} LiveOS images/${runtime_base}
 
 ## install bootloader (such as it is) and bootloader config
 install ${configdir}/redhat.exec ${BOOTDIR}
diff --git a/share/sparc.tmpl b/share/sparc.tmpl
index 4fe5050..89ea823 100644
--- a/share/sparc.tmpl
+++ b/share/sparc.tmpl
@@ -7,6 +7,7 @@ LIVEDIR="LiveOS"
 
 mkdir ${LIVEDIR}
 install ${runtime_img} ${LIVEDIR}/squashfs.img
+treeinfo images-${basearch} LiveOS ${LIVEDIR}/squashfs.img
 
 ## install bootloader and config files
 install boot/*.b ${BOOTDIR}
diff --git a/share/x86.tmpl b/share/x86.tmpl
index a5bd673..4c0a371 100644
--- a/share/x86.tmpl
+++ b/share/x86.tmpl
@@ -10,6 +10,7 @@ LIVEDIR="LiveOS"
 
 mkdir ${LIVEDIR}
 install ${runtime_img} ${LIVEDIR}/squashfs.img
+treeinfo images-${basearch} LiveOS ${LIVEDIR}/squashfs.img
 
 ## install bootloader and config files
 mkdir ${BOOTDIR}
-- 
1.7.5.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux