Add path to squashfs image to the treeinfo

Related: rhbz#782108
This commit is contained in:
Martin Gracik 2012-02-07 10:55:03 +01:00
parent d26c41fee6
commit cb6d0758d9
4 changed files with 7 additions and 1 deletions

View File

@ -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:

View File

@ -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}

View File

@ -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}

View File

@ -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}