cdboot sollte bei den grundinstalltionen niemals mitinstalliert werden.
cdboot sollte bei den grundinstalltionen niemals mitinstalliert werden. das wird nur vom GenCD script verwendet.. das wird nur vom GenCD script verwendet.. git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5212 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
39f757e44c
commit
cc52f3866c
|
@ -25,6 +25,9 @@ for i in `cat $VMAKEDIR/BaseBuild/Basesys/Basesys.dmk|sed -e "/^#/d"|sed -e "/^$
|
|||
done
|
||||
for i in `cat $TMPFILE|sed -e "/^#/d"|sed -e "/^$/d"`; do
|
||||
MODNAME=`basename $i`
|
||||
if [ "$MODNAME" == "cdboot" ]; then
|
||||
continue
|
||||
fi
|
||||
PKGPATH=`egrep "^SRCPATH=" $VMAKEDIR/BaseBuild/$i|awk -F"=" '{print $2}'|sed -e "s/^\///"`
|
||||
if grep -q "SN=$MODNAME;" $DISTTARGET/$PKGLIST; then
|
||||
echo "Boot $PKGPATH $MODNAME"
|
||||
|
|
|
@ -25,6 +25,9 @@ for i in `cat $VMAKEDIR/BaseBuild/Basesys/Basesys.dmk|sed -e "/^#/d"|sed -e "/^$
|
|||
done
|
||||
for i in `cat $TMPFILE|sed -e "/^#/d"|sed -e "/^$/d"`; do
|
||||
MODNAME=`basename $i`
|
||||
if [ "$MODNAME" == "cdboot" ]; then
|
||||
continue
|
||||
fi
|
||||
PKGPATH=`egrep "^SRCPATH=" $VMAKEDIR/BaseBuild/$i|awk -F"=" '{print $2}'|sed -e "s/^\///"`
|
||||
if grep -q "SN=$MODNAME;" $DISTTARGET/$PKGLIST; then
|
||||
echo "Boot $PKGPATH $MODNAME"
|
||||
|
|
|
@ -1,86 +0,0 @@
|
|||
#!/bin/bash
|
||||
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
||||
#dieses Framework wird im CVS Repository
|
||||
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verfügung gestellt
|
||||
#
|
||||
#Lage dieser Datei im Archiv: $HeadURL$
|
||||
#
|
||||
#(c) 2003 Harald Kueller, Germany
|
||||
#This program is free software; you can redistribute it and/or
|
||||
#modify ist under the terms of the GNU General Public License
|
||||
#as published by the Free Software Foundation; either version
|
||||
#2 of the License, or (at your option) any later version.
|
||||
#
|
||||
#This program is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#See the GNU General Public License for more details.
|
||||
#
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program; if not write to the Free Software Foundation,
|
||||
#Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
#Script:
|
||||
#
|
||||
#Letzte Änderung von: $Author$
|
||||
#Datum der letzten Änderung: $Date$
|
||||
#Version der Datei: $Revision$
|
||||
#
|
||||
#
|
||||
|
||||
if [ ! -f $HOME/.ViitorMake ]; then
|
||||
echo "Please run Scripts/initViitorMake"
|
||||
echo "From ViitorMake Root Direktory"
|
||||
echo "This will create a File $HOME/.ViitorMake"
|
||||
echo "with necessary information for running"
|
||||
echo "ViitorMake Scripts"
|
||||
exit 10
|
||||
fi
|
||||
|
||||
source $HOME/.ViitorMake
|
||||
|
||||
WDIR=`pwd`
|
||||
source $VMAKEDIR/defsys
|
||||
source $VMAKEDIR/functions/functions
|
||||
|
||||
|
||||
PKGNAME=$1
|
||||
TMPFILE=`mktemp`
|
||||
TMPFILE2=`mktemp`
|
||||
rm $TMPFILE
|
||||
rm $TMPFILE2
|
||||
NUMDEPSOLD=0
|
||||
NUMDEPSNEW=0
|
||||
|
||||
GenDeps() {
|
||||
PKGFILE=`grep "SN=$PKGNAME;" $DISTTARGET/PkgList|\
|
||||
awk -F";" '{print $2}'|sed -e "s/PF=//"`
|
||||
PKGPATH=`grep "PF=$PKGFILE;" $DISTTARGET/PkgList|\
|
||||
awk -F";" '{print $3}'|\
|
||||
sed -e "s/PP=//"`
|
||||
extractvarchive $DISTTARGET/$PKGPATH/$PKGFILE dep >$TMPFILE
|
||||
NUMDEPSOLD=`cat $TMPFILE|wc -l`
|
||||
while [ ! $NUMDEPSOLD == $NUMDEPSNEW ]; do
|
||||
echo >&2 "OLD=$NUMDEPSOLD; NEW=$NUMDEPSNEW"
|
||||
NUMDEPSOLD=$NUMDEPSNEW
|
||||
exec 3<$TMPFILE
|
||||
while read <&3 FLAG SHNAME; do
|
||||
grep "SN=$SHNAME;" $DISTTARGET/PkgList|awk -F";" '{print $2}'|sed -e "s/PF=//"
|
||||
done > $TMPFILE2
|
||||
exec 3>&-
|
||||
for i in `cat $TMPFILE2`; do
|
||||
PKGPATH=`grep "PF=$i;" $DISTTARGET/PkgList|\
|
||||
awk -F";" '{print $3}'|\
|
||||
sed -e "s/PP=//"`
|
||||
extractvarchive $DISTTARGET/$PKGPATH/$i dep
|
||||
done >>$TMPFILE
|
||||
rm $TMPFILE2
|
||||
cat $TMPFILE |sort -u >$TMPFILE2
|
||||
mv $TMPFILE2 $TMPFILE
|
||||
NUMDEPSNEW=`cat $TMPFILE|wc -l`
|
||||
done
|
||||
cat $TMPFILE
|
||||
rm $TMPFILE
|
||||
}
|
||||
|
||||
GenDeps
|
Loading…
Reference in New Issue
Block a user