]> git.ipfire.org Git - thirdparty/openwrt.git/commit
imagebuilder: suppress rootfs image when filesystem specified
authorEric Fahlgren <ericfahlgren@gmail.com>
Wed, 20 May 2026 15:15:53 +0000 (08:15 -0700)
committerPaul Spooren <mail@aparcar.org>
Thu, 21 May 2026 16:29:28 +0000 (18:29 +0200)
commitf1e4aaf7b4eef3d450facbd97c7facb93256d148
tree576fd4635d98cb0f5a6b566458c9fb72795285f5
parent8c264cf2222d477f33fa6b63ba64d9595e0981c2
imagebuilder: suppress rootfs image when filesystem specified

When using imagebuilder to create images, ROOTFS_FILESYSTEM may be
defined to create just the desired images, but the '*-rootfs.tar.gz'
and '*-rootfs.cpio.gz' images are being created unconditionally
for many targets.

By making generation of these images conditional on the state of
ROOTFS_FILESYSTEM, we can save significant space (measured 3-7 MB
depending on length of package list) and time.

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
include/image.mk