From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7012879449257410560 X-Received: by 2002:a5d:4ed1:: with SMTP id s17mr5441188wrv.310.1637313303017; Fri, 19 Nov 2021 01:15:03 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4092:: with SMTP id o18ls2206044wrp.1.gmail; Fri, 19 Nov 2021 01:15:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwI/vCSh5P8w8RmD0pGkvqf/82Y6es+7UWkjjrdAHPH8oOb3oqVBNRKv6BM9DYzOy0wxuw X-Received: by 2002:a5d:6091:: with SMTP id w17mr5322370wrt.65.1637313302059; Fri, 19 Nov 2021 01:15:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1637313302; cv=none; d=google.com; s=arc-20160816; b=wwvhxNrYE3noo3s62y/97+OuYkV69O/7BSwvR575C13kdymS/qBkgmX/3uLOAqkHbw GyhX7EGsqTipveo1/s4kJBKwyt1yBGfJtu0FEXw2Gz5I3UTTvz+TyEPA2joXFxWpYwUm 80JJBwy/T6Fy2B3g6rxgwDJb9JNO2W5va0CqLByu4hrv8EoUOHG/YHH9Y6+s6h3urRVO af9/aPsdyJdTA6Zk9/LjATlbLA1EulfO+nvmpgUHTXFgemnwQS5twQHfg7AuczgdnUAb cuJYerGdO4GFvXV8RoAyRPpeH7tac7G+nT4AExyKB5taU0hKGOJwsdMG3qkf8gMQsfZe m/TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=AgTGoZvFJPoevyZPf5mmUTaPbaxaij374C1wJ0zQIyE=; b=0BTyRaeIoSSDsgyvqVBp4reFObcGhInCg5nZJ6YIlv31gUZdlcFOom9EaYp+orHxjC WTBq4187JpYcTBxd62YJeVV8oi/4yZrHwvPcSA6jPtXo6FfGMYAmTsIG8VZTLlSxVg7R h9ctvG9h2VAw4cdSsLACmKP9m/O0oo2XQoqvF2Nlc2oqy/Dii3xzI1IyasMK3PeCe95K GDmunXF3GCi3C9iDx3Q3kzFk8zlfvr+Xopow7IyaDLzHUuz5p4vdmCP/UeQNvMD12qF2 cMh1V+vsALeU9ty7z5JyDjx8LlvTjstJnhRaCy9XaZsa2j2dd+hNd9aE7MlIZXlo4YUK Kd1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id c2si1152502wmq.2.2021.11.19.01.15.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Nov 2021 01:15:01 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 1AJ9F0un020418 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 19 Nov 2021 10:15:01 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v3 0/6] Support multiple image types in one build Date: Fri, 19 Nov 2021 10:14:54 +0100 Message-Id: <20211119091500.12341-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: GW8orpFvhfMj Changed since v2: - get back multiconfigs removed in v2/v1; - mc:qemuamd64-buster now builds wic-img and ext4-img and doesn't conflict with mc:qemuamd64--cpiogz and mc:qemuamd64--tgz; - docs updated to fit new (array-like) meaning of the variable IMAGE_TYPE (IMAGE_FSTYPES with last patch). Changes since v1: - removed mc:qemuamd64-buster-cpiogz config; - mc:qemuamd64-buster config now includes cpiogz image type. The patchset makes possible to build several image types for the specific target by listing all them in IMG_FSTYPES variable. This also deprecates using IMG_TYPE variable. Actually, IMG_TYPE=>IMG_FSTYPES renaming is done just to correspond Yocto/OE naming and is not mandatory. So, the last patch in series may be omitted. Uladzimir Bely (6): image: Support multiple image types in WORKDIR and STAMPS wic-img: Set weak default value for WKS_FILE start_vm: Use the first image type to start VM multiconfig: Add ext4-img type to qemuamd64-buster multiconfig. doc: Update docs to fit new IMAGE_TYPE meaning api: Rename IMAGE_TYPE to IMAGE_FSTYPES RECIPE-API-CHANGELOG.md | 5 +++ doc/user_manual.md | 31 +++++++++++++------ meta-isar/conf/machine/bananapi.conf | 2 +- meta-isar/conf/machine/container-amd64.conf | 2 +- meta-isar/conf/machine/de0-nano-soc.conf | 2 +- meta-isar/conf/machine/hikey.conf | 2 +- meta-isar/conf/machine/nand-ubi-demo.conf | 2 +- meta-isar/conf/machine/nanopi-neo.conf | 2 +- meta-isar/conf/machine/qemuamd64.conf | 2 +- meta-isar/conf/machine/qemuarm.conf | 2 +- meta-isar/conf/machine/qemuarm64.conf | 2 +- meta-isar/conf/machine/qemui386.conf | 2 +- meta-isar/conf/machine/qemumipsel.conf | 2 +- meta-isar/conf/machine/qemuriscv64.conf | 2 +- meta-isar/conf/machine/rpi.conf | 2 +- meta-isar/conf/machine/sifive-fu540.conf | 2 +- meta-isar/conf/machine/stm32mp15x.conf | 2 +- meta-isar/conf/machine/virtualbox.conf | 2 +- meta-isar/conf/machine/vmware.conf | 2 +- .../multiconfig/qemuamd64-buster-cpiogz.conf | 2 +- .../multiconfig/qemuamd64-buster-tgz.conf | 2 +- .../conf/multiconfig/qemuamd64-buster.conf | 2 ++ meta/classes/image.bbclass | 14 ++++++--- meta/classes/wic-img.bbclass | 2 ++ scripts/start_vm | 8 +++-- testsuite/start_vm.py | 2 +- 26 files changed, 65 insertions(+), 37 deletions(-) -- 2.20.1