--- 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 f36897c..d51ac6f 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -419,35 +419,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