diff --git a/openwrtbuilder b/openwrtbuilder index 3e679db..6b411ab 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -551,8 +551,6 @@ fromSource() { ./scripts/feeds update -a && ./scripts/feeds install -a - make defconfig # normalize .config and remove dupes - # Grab the release seed config if [[ -f "$SEED_FILE" ]]; then if askOk "$SEED_FILE exists. Re-download?"; then @@ -567,6 +565,8 @@ fromSource() { fi fi + make defconfig # normalize .config and remove dupes + for pkg in ${P_ARR[packages]:+${P_ARR[packages]}}; do if [[ $pkg == -* ]]; then make_opts+=("CONFIG_PACKAGE_${pkg#-}=n") # remove package