Petr Štetiar 19db092082 linux: fix missing default packages in profiles.json
Robert reported, that in firmware images generated by ASU, there is
`apk` package manager missing after the commit 44598c233dd9 ("build:
remove broken dependency of metadata on toplevel .config variables").

That is happening, because apk got removed from `default_packages` list in
`profiles.json`, which is being generated by `json_overview_image_info` Make
target, which uses `scripts/json_overview_image_info.py` helper script,
which gets the information from `DEFAULT_PACKAGES` Make variable.

So lets fix it by providing `DEFAULT_PACKAGES` variable when its needed.

The reason why we didn't added those packages as a dependency to
base-files like any other packages, was to allow disabling them (in
order to save space).

Fixes: #16969
Fixes: openwrt/asu/issues/1084
Fixes: 44598c233dd9 ("build: remove broken dependency of metadata on toplevel .config variables")
Reported-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Link: https://github.com/openwrt/openwrt/pull/16986
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 90f0be8521a8608b0932c1ccb747c0ef1a085910)
2025-01-03 11:14:12 +01:00
..
2024-12-19 11:22:12 +01:00
2024-12-19 11:22:12 +01:00
2024-12-22 16:34:59 +01:00
2024-12-15 01:43:39 +01:00
2024-12-15 01:43:39 +01:00
2024-12-15 01:43:39 +01:00
2024-12-27 16:09:20 +01:00
2024-11-28 18:48:55 +00:00
2024-12-19 11:22:12 +01:00
2024-12-30 20:21:40 +01:00
2024-11-24 22:46:21 +01:00