Hi when I create a config seed for some reason my target changes to a different sub device than the one my config seed came from.
looking at the config seed it has the correct target and board but when it makes an actual config it changes any ideas?
Anyway this is my script I run but after this my target changes from my wallysdr4029 to something else and I'm stumped:
echo
echo "this update script will delete contents of bin build_dir and tmp"
echo "it will then hard reset git to head and update feeds"
echo "finally it will create a new config seed and copy it to a new config"
echo -e "\nPress a key to skip removing built reminants or C to continue "
read -n1 -s -r DELETE
if [ "$DELETE" == "C" ] ; then
echo -e "\ncontinue"
echo "Removing built reminants now (progress removed to speed up processing)"
rm -rf bin build_dir tmp
else
echo -e "\nskipped"
fi
echo -e "\nPress a key to skip git fetch and reset or C to continue"
read -n1 -s -r GIT
if [ "$GIT" == "C" ] ; then
echo -e "\ncontinue"
git fetch
git reset --hard origin/master
else
echo
echo "skipped"
fi
echo -e "\nPress a key to skip updating feeds or C to continue"
read -n1 -s -r GIT
if [ "$GIT" == "C" ] ; then
echo -e "\ncontinue"
echo "downloading fees now"
./scripts/feeds update -a > /dev/null
./scripts/feeds install -a > /dev/null
else
echo -e "\nskipped"
fi
echo -e "\ncreating default config"
./scripts/diffconfig.sh > configdiff > /dev/null
cp configdiff .config > /dev/null
make defconfig > /dev/null
echo -e "\nAll done"
I have however edited the target-metadata.pl file in the script directory to build the ipq40xx target by default to stop me building the incorect target all the time but I cant see how this would cause this issue.
choice
prompt "Target System"
default TARGET_ipq40xx
reset if !DEVEL
EOF