Make sure checking if new packages added is relevant to the buildsource, otherwise it may forget to add the items needed if you remove the buildsource tree.

This commit is contained in:
Tom Elliott
2016-08-02 06:29:54 -04:00
parent b6a1ef54be
commit dc23da5609

View File

@@ -145,9 +145,9 @@ if [[ $buildFS == 'y' ]]; then
fi
echo -n "Adding Custom Packages to Build Root........"
#oldPackages=$(cat buildsource/package/Config.in)
if [[ ! -f .packConfDone ]]; then
if [[ ! -f buildsource/.packConfDone ]]; then
cat Buildroot/package/newConf.in >> buildsource/package/Config.in
touch .packConfDone
touch buildsource/.packConfDone
fi
rsync -avPrI Buildroot/ buildsource > /dev/null
#echo $newPackages$oldPackages > buildsource/package/Config.in