summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xscripts/mk-images3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d724adc50..80702b319 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
* kickstart.py (commandMap): Add an entry for the updates command.
+ * scripts/mk-images: Add a block describing stage2 (Will Woods
+ <wwoods AT redhat DOT com>).
+
2007-07-31 Chris Lumens <clumens@redhat.com>
* anaconda.spec: Bump version.
diff --git a/scripts/mk-images b/scripts/mk-images
index 66a63e3e5..78f624bf2 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -686,6 +686,7 @@ makeinstimage () {
size=$(ls -l $INSTIMGPATH/${imagename}2.img | awk '{print $5}')
size=$(expr $size / 1024)
echo "Wrote $INSTIMGPATH/${imagename}2.img (${size}k)..."
+ echo "instimage = $INSTIMGPATH/${imagename}2.img" >> $TOPDESTPATH/.treeinfo
rm -rf $tmp
}
@@ -731,11 +732,13 @@ makemainimage () {
chmod 644 $INSTIMGPATH/${imagename}.img
echo "Wrote $INSTIMGPATH/${imagename}.img (${SIZE}k)"
+ echo "mainimage = $INSTIMGPATH/${imagename}.img" >> $TOPDESTPATH/.treeinfo
rm $mmi_tmpimage
}
makeSecondStage() {
+ echo "[stage2]" >> $TOPDESTPATH/.treeinfo
echo "Building minstg.img"
makeinstimage "minstg" "squashfs"
[ $? = 0 ] || exit 1