[PATCH 06/29] makeinstimage is no longer used.

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

 



---
 scripts/mk-images       |   29 -----------------------------
 scripts/mk-images.alpha |    2 --
 2 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 6c45275..2f6ef0d 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -426,35 +426,6 @@ makeinitrd() {
     fi
 }
 
-makeinstimage () {
-    imagename=$1
-    type=$2
-    tmp=$TMPDIR/instimage.dir.$$
-
-    rm -rf $tmpimage $tmp
-    mkdir -p $mntpoint $tmp
-
-    mkdir -p $tmp
-    (cd $IMGPATH; find . | cpio --quiet -p $tmp)
-    makeproductfile $tmp
-
-    if [ -z "$type" -o "$type" = "cramfs" ]; then
-        echo "Running mkcramfs $CRAMBS $tmp $INSTIMGPATH/${imagename}2.img"
-        mkfs.cramfs $CRAMBS $tmp $TMPDIR/${imagename}2.img.$$
-    elif [ "$type" = "squashfs" ]; then
-        echo "Running mksquashfs $tmp $TMPDIR/${imagename}2.img -no-fragments -no-progress"
-        mksquashfs $tmp $TMPDIR/${imagename}2.img.$$ -no-fragments -no-progress
-        chmod 0644 $TMPDIR/${imagename}2.img.$$
-    fi
-    cp $TMPDIR/${imagename}2.img.$$ $INSTIMGPATH/${imagename}2.img
-    size=$(ls -l $INSTIMGPATH/${imagename}2.img | awk '{print $5}')
-    size=$(expr $size / 1024)
-    echo "Wrote $INSTIMGPATH/${imagename}2.img (${size}k)..."
-    relpath=${INSTIMGPATH#$TOPDESTPATH/}
-    echo "instimage = ${relpath}/${imagename}2.img" >> $TOPDESTPATH/.treeinfo
-    rm -rf $tmp
-}
-
 makemainimage () {
     imagename=$1
     type=$2
diff --git a/scripts/mk-images.alpha b/scripts/mk-images.alpha
index c35bbeb..884eff4 100644
--- a/scripts/mk-images.alpha
+++ b/scripts/mk-images.alpha
@@ -119,8 +119,6 @@ EOF
 }
 
 #makeSecondStage() {
-#     makeinstimage "netstg" "$SECSTAGE $SCSIMODULES $IDEMODS =scsi"
-#     makeinstimage "hdstg" "$SECSTAGE $NETMODULES $IDEMODS =net"
 #     makemainmodules "$SECSTAGE $NETMODULES $SCSIMODULES $IDEMODS =scsi =net"
 #     makemainimage "install" "cramfs"
 #}
-- 
1.7.1.1

_______________________________________________
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