2010-01-25 13:30:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
PKGLIST=.pkglist
|
|
|
|
TMPFILE=`mktemp`
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
for i in `cat $VMAKEDIR/BaseBuild/Basesys/Basesys.dmk|sed -e "/^#/d"|sed -e "/^$/d"|awk '{print $2}'`; do
|
2010-01-27 15:50:16 +00:00
|
|
|
if ! egrep -q "$i$" $TMPFILE; then
|
2010-01-25 13:30:14 +00:00
|
|
|
echo $i >>$TMPFILE
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
for i in `cat $TMPFILE|sed -e "/^#/d"|sed -e "/^$/d"`; do
|
|
|
|
MODNAME=`basename $i`
|
2010-01-25 14:27:15 +00:00
|
|
|
if [ "$MODNAME" == "cdboot" ]; then
|
|
|
|
continue
|
|
|
|
fi
|
2010-01-25 13:30:14 +00:00
|
|
|
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"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
rm $TMPFILE
|