From 8e2b19ac77cad10c9df7895a8eac6c1203dc8bce Mon Sep 17 00:00:00 2001 From: bin Date: Fri, 22 Jan 2021 16:51:36 +0800 Subject: [PATCH] osbuilder: add description for how to use DISTRO variable Fixes: #1312 Signed-off-by: bin --- tools/osbuilder/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/osbuilder/README.md b/tools/osbuilder/README.md index 783a535a40..9ea99e8518 100644 --- a/tools/osbuilder/README.md +++ b/tools/osbuilder/README.md @@ -95,6 +95,9 @@ filesystem components to generate an initrd. 3. When generating an image, the initrd is extracted to obtain the base rootfs for the image. +CentOS is the default distro for building the rootfs, to use a different one, you can set `DISTRO=`. +For example `make USE_DOCKER=true DISTRO=ubuntu rootfs` will make Ubuntu rootfs using Docker. + ### Rootfs creation This section shows how to build a basic rootfs using the default distribution.