[PATCH] build: create rootfs.tar.xz if BUILDBOT

Paul Spooren mail at aparcar.org
Thu Sep 10 16:02:39 EDT 2020


The rootfs.tar.gz is used to create Docker containers containing the
OpenWrt root filesystem. These containers are currently only available
for x84/64 and armvirt/{32,64}. For CI package runtime testing more
rootfs containers would allow additional tests.

After CI building a changed package for multiple packages, QEMU is used
inside another CI step run run OpenWrt rootfs containers in multiple
architectures, install the create package and execute a runtime test.

Signed-off-by: Paul Spooren <mail at aparcar.org>
---
This change would allow additional runtime tests for this PoC:
https://github.com/openwrt/packages/pull/13315

 config/Config-images.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 7d56d70908..f2eb237d0d 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -70,7 +70,7 @@ menu "Target Images"
 
 	config TARGET_ROOTFS_TARGZ
 		bool "tar.gz"
-		default y if USES_TARGZ
+		default y if USES_TARGZ || BUILDBOT
 		help
 		  Build a compressed tar archive of the root filesystem.
 
-- 
2.25.1




More information about the openwrt-devel mailing list