]> git.ipfire.org Git - thirdparty/openwrt.git/commit
image: only filter out images when ImageBuilder is used
authorRobert Marko <robimarko@gmail.com>
Sat, 24 May 2025 10:20:54 +0000 (12:20 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 24 May 2025 10:24:48 +0000 (12:24 +0200)
commitd0d1f190683ad5923182140c40afb479907a1c2b
treeb46c94ffaf7b88b116875600d0e1ca8303de48aa
parentb648fda0207fd7ff399e9102f41216725bdcf410
image: only filter out images when ImageBuilder is used

Currently, we are filtering out images if DEFAULT:=n or BROKEN:=y are set,
so if you are building from scratch and want to build custom images that
are stripped down to fit, you must edit the image recipe or its just
filtered out.

So, to allow this behaviour when building from scratch as we can assume
that person doing that knows what they are attempting to do lets just limit
the filtering to ImageBuilder.

Fixes: f060615a78e5 ("image: respect DEFAULT and BROKEN when Default profile is selected")
Signed-off-by: Robert Marko <robimarko@gmail.com>
include/image.mk