FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-07-2012, 11:33 AM
Martin Gracik
 
Default Add path to squashfs image to the treeinfo

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org