]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
base-files: add warning to distfeeds.list 22586/head
authorEric Fahlgren <ericfahlgren@gmail.com>
Tue, 24 Mar 2026 15:28:27 +0000 (08:28 -0700)
committerRobert Marko <robimarko@gmail.com>
Wed, 15 Apr 2026 08:03:10 +0000 (10:03 +0200)
Add a message to the apk distfeeds.list that changes won't be saved
and that users should modify customfeeds.list instead.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22586
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/feeds.mk

index f484a4e92b2c0c8c6a4183563c6f1fb29bdb70e7..cb3e71ae3b71006b80ec87743ddd8fd893bc3d6d 100644 (file)
@@ -48,6 +48,8 @@ endef
 # 1: destination file
 define FeedSourcesAppendAPK
 ( \
+  echo '# This file is auto-generated and build-specific, any changes will be intentionally lost in sysupgrade.'; \
+  echo '# Add your custom feeds to /etc/apk/repositories.d/customfeeds.list'; \
   echo '%U/targets/%S/packages/packages.adb'; \
   $(strip $(if $(CONFIG_PER_FEED_REPO), \
        echo '%U/packages/%A/base/packages.adb'; \