34 lines
849 B
Plaintext
34 lines
849 B
Plaintext
![]() |
#!/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
|
||
|
if ! grep -q $i $TMPFILE; then
|
||
|
echo $i >>$TMPFILE
|
||
|
fi
|
||
|
done
|
||
|
for i in `cat $TMPFILE|sed -e "/^#/d"|sed -e "/^$/d"`; do
|
||
|
MODNAME=`basename $i`
|
||
|
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
|