add additional requisities via .buildaix/requisites and/or...
scripts to package OpenSource Software into AIX LPP installp packages
Brought to you by:
mamfelt
Currently on bos.rte is added automatically as a requisite (so you can install on later, but not on younger systems) to the .rte extension.
Need a way to automate generation of *type fs vrmf; output to a file
rough example is:
ext=rte
grep -p ${ext} .buildaix/requisites | egrep -v "^${ext}:$|^$" | while read t fs vrmf
do
[[ -z $t ]] && continue # just in case a blankline is not empty
if [[ -z $vrmf ]]; then
vrmf=`lslpp -Lqc $fs | grep $fs | awk -F: ' { print $3 } ' | head -1`
fi
print -n "*$t $fs $vrmf;" >> .buildaix/requisites.${ext}
done
print >> .buildaix/requisites.${ext}
implemented