Menu

#6 add additional requisities via .buildaix/requisites and/or .buildaix/requisites.$extension

1.0
closed
nobody
None
2016-03-03
2015-03-19
No

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}

Discussion

  • Michael Felt

    Michael Felt - 2016-03-03
    • status: open --> closed
     
  • Michael Felt

    Michael Felt - 2016-03-03

    implemented

     

Log in to post a comment.