From: Heiko Z. <he...@zu...> - 2003-10-29 23:21:18
|
Hey, I would say that stuff would be better in the cd_cleanup script. Heiko rap...@us... wrote: > Update of /cvsroot/devil-linux/build/scripts > In directory sc8-pr-cvs1:/tmp/cvs-serv21195/build/scripts > > Modified Files: > build-iso cd_cleanup devildoc > Log Message: > let's get fit > > Index: build-iso > =================================================================== > RCS file: /cvsroot/devil-linux/build/scripts/build-iso,v > retrieving revision 1.42 > retrieving revision 1.43 > diff -u -d -r1.42 -r1.43 > --- build-iso 13 Oct 2003 17:36:07 -0000 1.42 > +++ build-iso 29 Oct 2003 23:11:01 -0000 1.43 > @@ -172,6 +172,22 @@ > # go to the top directory of the future CD > pushd $CDDIR > /dev/null > > + # some house cleaning > + rm $CDDIR/usr/lib/*a > + rm -rf $CDDIR/usr/include/* > + pushd $CDDIR/usr/bin; strip_debug ; popd > + pushd $CDDIR/bin; strip_debug ; popd > + pushd $CDDIR/sbin; strip_debug ; popd > + pushd $CDDIR/usr/sbin; strip_debug ; popd > + if [ "$CONFIG_DEVIL_DOC_ISO" != "y" ]; then > + rm -rf $CDDIR/cdtree/doc || exit 1 > + fi > + if [ "$CONFIG_DEVIL_MAN_ISO" != "y" ]; then > + rm -rf $CDDIR/usr/share/man/* || exit 1 > + rm -rf $CDDIR/usr/share/doc/* || exit 1 > + rm -rf $CDDIR/usr/share/info/* || exit 1 > + fi > + > echo "Creating the CD iso image, $WORKDIR/bootcd.iso... " > mkisofs -b boot/isolinux.bin -c boot/boot.cat \ > -no-emul-boot -boot-load-size 4 -boot-info-table \ > > Index: cd_cleanup > =================================================================== > RCS file: /cvsroot/devil-linux/build/scripts/cd_cleanup,v > retrieving revision 1.2 > retrieving revision 1.3 > diff -u -d -r1.2 -r1.3 > --- cd_cleanup 13 Oct 2003 17:36:07 -0000 1.2 > +++ cd_cleanup 29 Oct 2003 23:11:01 -0000 1.3 > @@ -28,6 +28,19 @@ > install ) > rm $CDDIR/usr/lib/*a > rm -rf $CDDIR/usr/include/* > + pushd $CDDIR/usr/bin; strip_debug ; popd > + pushd $CDDIR/bin; strip_debug ; popd > + pushd $CDDIR/sbin; strip_debug ; popd > + pushd $CDDIR/usr/sbin; strip_debug ; popd > + > + if [ "$CONFIG_DEVIL_DOC_ISO" != "y" ]; then > + rm -rf $ISODIR/cdtree/doc || exit 1 > + fi > + if [ "$CONFIG_DEVIL_MAN_ISO" != "y" ]; then > + rm -rf $ISODIR/usr/share/man/* || exit 1 > + rm -rf $ISODIR/usr/share/doc/* || exit 1 > + rm -rf $ISODIR/usr/share/info/* || exit 1 > + fi > ;; > > * ) > > Index: devildoc > =================================================================== > RCS file: /cvsroot/devil-linux/build/scripts/devildoc,v > retrieving revision 1.8 > retrieving revision 1.9 > diff -u -d -r1.8 -r1.9 > --- devildoc 29 Oct 2003 14:46:23 -0000 1.8 > +++ devildoc 29 Oct 2003 23:11:01 -0000 1.9 > @@ -51,6 +51,7 @@ > mkdir -p $ISODIR/cdtree/doc || exit 1 > cp -dpR $CDDOCDIR/* $ISODIR/cdtree/doc || exit 1 > fi > + > if [ "$CONFIG_DEVIL_MAN_ISO" != "y" ]; then > rm -rf $ISODIR/usr/share/man/* || exit 1 > rm -rf $ISODIR/usr/share/doc/* || exit 1 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Devil-linux-commit mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-commit > > |