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 > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 08-02-2010, 08:10 PM
Chris Lumens
 
Default makeinstimage is no longer used.

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-13-2010, 03:11 PM
Chris Lumens
 
Default makeinstimage is no longer used.

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 10-14-2010, 08:58 AM
Martin Gracik
 
Default makeinstimage is no longer used.

ack

--

Martin Gracik

----- "Chris Lumens" <clumens@redhat.com> wrote:

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

_______________________________________________
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 08:49 AM.

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