Don't remove all luci config parameters

This commit is contained in:
Jonas Höglund 2016-04-15 12:04:47 +02:00
parent 8f63a74197
commit 1d9619dfd9

View file

@ -208,7 +208,8 @@ function genconfig {
sed -i '/CONFIG_DEFAULT_juci/d' .config
sed -i '/CONFIG_PACKAGE_juci/d' .config
else
sed -i '/CONFIG_PACKAGE_luci/d' .config
sed -i 's/CONFIG_PACKAGE_luci-lib-core_source=y/# CONFIG_PACKAGE_luci-lib-core_source is not set/g' .config
sed -i 's/CONFIG_PACKAGE_luci-lib-nixio_notls=y/# CONFIG_PACKAGE_luci-lib-nixio_notls is not set/g' .config
fi
echo Set version to $(grep -w CONFIG_TARGET_VERSION .config | cut -d'=' -f2 | tr -d '"')