]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
scripts: feeds: don't refresh .config upon update 23241/head
authorRyan Leung <untilscour@protonmail.com>
Wed, 6 May 2026 11:31:01 +0000 (21:31 +1000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 7 Jul 2026 07:03:33 +0000 (09:03 +0200)
Feeds update does not make updated packages available to compile; they must be installed.
Despite this, update refreshes the .config, deleting selections in the .config which have not been
installed yet. The deleted selections are not restored with `./scripts/feeds install` nor with
`make defconfig` because these steps cannot conjure up already deleted selections.

Change update to not modify the .config and leave it to `./scripts/feeds install -d <y|m|n>` or
`make defconfig` or other *config options.

Signed-off-by: Ryan Leung <untilscour@protonmail.com>
Link: https://github.com/openwrt/openwrt/pull/23241
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
scripts/feeds

index 4b01c8b37f8f09e40a1eebcb9677304c43156699..0c9ad9eef6736549d730cf2c0a81d03eb86e65f1 100755 (executable)
@@ -892,8 +892,6 @@ sub update {
                };
        }
 
-       refresh_config();
-
        return $failed;
 }