From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:a7b:c385:0:b0:400:cc2d:5e02 with SMTP id s5-20020a7bc385000000b00400cc2d5e02mr1891584wmj.17.1695124604333; Tue, 19 Sep 2023 04:56:44 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a7b:ce96:0:b0:403:419:ace4 with SMTP id q22-20020a7bce96000000b004030419ace4ls1440759wmj.0.-pod-prod-09-eu; Tue, 19 Sep 2023 04:56:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF41dhhneBDn6+D+HaH0JAQBalyjnFcMvse8IlLJi3e8kAf6NWexNU2trpk3Os3mGIxyCMx X-Received: by 2002:a1c:f204:0:b0:3fb:a100:2581 with SMTP id s4-20020a1cf204000000b003fba1002581mr9593197wmc.14.1695124602321; Tue, 19 Sep 2023 04:56:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695124602; cv=none; d=google.com; s=arc-20160816; b=CBy8ZXq0qM888n9+MUU59isQJVveWVuKhRAAIiOIw/WJA7/Zo5Hye4aN68Cav/flAA K1VUwXDPpLpIf6F7JA3YXBWNzBlNfWz9mjrDhm8daoKIKmp5EvJZDb2+KZK4rPHFanLK mrarsuX8WzxNY4PtnCCLxesMfi1jqVWooIOLOzW6/zTonp/y0+y2iHvgzNts1CHQbXVo Q9Jy6hgtirGPweLuOZNG9Nv1vmT6yVYkbFAPijRKnMpBQzuA9Cp7gRu7pmZXZH+O0eTK IKA/W56w+AVIdMBpNjwUJRLkO1wGfp9nmSulwhvkfOeztq522pnOr86vmdoEhjSFFb+N m+PA== 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=H31qJAlUefh+vAuPm9HmnOlsq7CX8jK8P6blhXi2w44=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=wqCP4zCQTQvTJ4A5JDEKJsslNpJJkNMcoTvwOkjDWhU4gmIhA944yDo1SzBFw5tERc z51V90/78sWnb4B8AnKzord5p6MG+cfwIWAZii41bclf+MVHJJdBAf+f3I8jCQ8gGHGK Yc2iEYBoGRHywhSL/NcKbcvtebHcmM+rtuyBPL595y4/Y7XfzAYHGPm1KCnKXq7F+30g AEgRzvoDAFe9MeFPX4Vni5gty3YZrxj4w8jCj1sABdnDG2ie+W/KJZt0hXqMxI0lfDOb gEN3vsqjCU9koYsVgcQ6Z2dzA58NlTCKPD8cRVDMMbtEvxnrW7L4hu9fPOGwrmWtkiRE PqgA== 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 o27-20020a05600c511b00b003fc39e1582fsi72886wms.1.2023.09.19.04.56.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Sep 2023 04:56:42 -0700 (PDT) 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+deb9u1) with ESMTPSA id 38JBueG5015357 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 19 Sep 2023 13:56:41 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 00/12] Support building Isar using kas Date: Tue, 19 Sep 2023 13:56:28 +0200 Message-Id: <20230919115640.18398-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: tMbEyR+56/2K This patchset adds YAML fragments and Kconfig files to support configuring Isar using `kas-container menu` and building it with 'kas-container script`. This patchset can be treated as a reply to `https://groups.google.com/g/isar-users/c/GgMvGOkXkcg` request. Changes since v1: - Simplified deps between distros and machines, removed separate patch that added redundand DEB_ vars. - Fixed dependencies in mirror selection block. - Separate menu items for selecting Isar packages. - Fix warnings related wrong path to isar.yml file. - Cleartext password used for root now. - Use `.yaml` file extensions instead of `.yml`. Uladzimir Bely (12): kas: Add initial Kconfig support kas: Add a local copy of kas-container script kas: Add mirror selection kas: Add packages selection kas: Add COMPAT_ARCH support kas: Add cross compilation mode selection support kas: Add ccache option kas: Add image type selection kas: Add IMAGE_FSTYPES selection kas: Support CACHE_DEB_SRC option in menu kas: Add options to activate predefined users kas: Add kas/README.md .gitignore | 1 + Kconfig | 15 + README.md | 3 + kas/README.md | 36 ++ kas/distro/Kconfig | 40 ++ kas/distro/debian-bookworm.yaml | 4 + kas/distro/debian-bullseye.yaml | 4 + kas/distro/debian-buster.yaml | 4 + kas/distro/debian-sid-ports.yaml | 4 + kas/distro/raspios-bullseye.yaml | 4 + kas/distro/ubuntu-focal.yaml | 4 + kas/distro/ubuntu-jammy.yaml | 4 + kas/image/Kconfig | 26 + kas/image/isar-image-base.yaml | 5 + kas/image/isar-image-debug.yaml | 5 + kas/isar.yaml | 15 + kas/kas-container | 562 ++++++++++++++++++++ kas/machine/Kconfig | 127 +++++ kas/machine/bananapi.yaml | 4 + kas/machine/container-amd64.yaml | 4 + kas/machine/de0-nano-soc.yaml | 4 + kas/machine/hikey.yaml | 4 + kas/machine/imx6-sabrelite.yaml | 4 + kas/machine/nanopi-neo.yaml | 4 + kas/machine/phyboard-mira.yaml | 4 + kas/machine/qemuamd64-sb.yaml | 4 + kas/machine/qemuamd64.yaml | 4 + kas/machine/qemuarm.yaml | 4 + kas/machine/qemuarm64.yaml | 4 + kas/machine/qemui386.yaml | 4 + kas/machine/qemumipsel.yaml | 4 + kas/machine/qemuriscv64.yaml | 4 + kas/machine/rpi-arm-v7.yaml | 4 + kas/machine/rpi-arm-v7l.yaml | 4 + kas/machine/rpi-arm.yaml | 4 + kas/machine/rpi-arm64-v8.yaml | 4 + kas/machine/sifive-fu540.yaml | 4 + kas/machine/starfive-visionfive2.yaml | 4 + kas/machine/stm32mp15x.yaml | 4 + kas/machine/virtualbox.yaml | 4 + kas/machine/vmware.yaml | 4 + kas/opt/Kconfig | 141 +++++ kas/opt/cache-deb-src.yaml | 6 + kas/opt/ccache.yaml | 6 + kas/opt/compat-arch.yaml | 7 + kas/opt/crosscompile.yaml | 6 + kas/opt/image-fstypes.yaml | 6 + kas/opt/mirror-debian.yaml | 7 + kas/opt/mirror-ubuntu.yaml | 7 + kas/opt/packages-distro.yaml | 6 + kas/opt/packages-isar.yaml | 6 + kas/opt/user-isar.yaml | 16 + kas/opt/user-root.yaml | 8 + kas/package/Kconfig | 148 ++++++ kas/package/packages-distro.yaml | 6 + kas/package/pkg_cowsay.yaml | 6 + kas/package/pkg_enable-fsck.yaml | 6 + kas/package/pkg_example-module.yaml | 6 + kas/package/pkg_example-prebuilt.yaml | 6 + kas/package/pkg_example-raw.yaml | 6 + kas/package/pkg_expand-on-first-boot.yaml | 6 + kas/package/pkg_hello-isar.yaml | 6 + kas/package/pkg_hello.yaml | 6 + kas/package/pkg_isar-disable-apt-cache.yaml | 6 + kas/package/pkg_isar-exclude-docs.yaml | 6 + kas/package/pkg_kselftest.yaml | 6 + kas/package/pkg_samefile.yaml | 6 + kas/package/pkg_sshd-regen-keys.yaml | 6 + 68 files changed, 1409 insertions(+) create mode 100644 Kconfig create mode 100644 kas/README.md create mode 100644 kas/distro/Kconfig create mode 100644 kas/distro/debian-bookworm.yaml create mode 100644 kas/distro/debian-bullseye.yaml create mode 100644 kas/distro/debian-buster.yaml create mode 100644 kas/distro/debian-sid-ports.yaml create mode 100644 kas/distro/raspios-bullseye.yaml create mode 100644 kas/distro/ubuntu-focal.yaml create mode 100644 kas/distro/ubuntu-jammy.yaml create mode 100644 kas/image/Kconfig create mode 100644 kas/image/isar-image-base.yaml create mode 100644 kas/image/isar-image-debug.yaml create mode 100644 kas/isar.yaml create mode 100755 kas/kas-container create mode 100644 kas/machine/Kconfig create mode 100644 kas/machine/bananapi.yaml create mode 100644 kas/machine/container-amd64.yaml create mode 100644 kas/machine/de0-nano-soc.yaml create mode 100644 kas/machine/hikey.yaml create mode 100644 kas/machine/imx6-sabrelite.yaml create mode 100644 kas/machine/nanopi-neo.yaml create mode 100644 kas/machine/phyboard-mira.yaml create mode 100644 kas/machine/qemuamd64-sb.yaml create mode 100644 kas/machine/qemuamd64.yaml create mode 100644 kas/machine/qemuarm.yaml create mode 100644 kas/machine/qemuarm64.yaml create mode 100644 kas/machine/qemui386.yaml create mode 100644 kas/machine/qemumipsel.yaml create mode 100644 kas/machine/qemuriscv64.yaml create mode 100644 kas/machine/rpi-arm-v7.yaml create mode 100644 kas/machine/rpi-arm-v7l.yaml create mode 100644 kas/machine/rpi-arm.yaml create mode 100644 kas/machine/rpi-arm64-v8.yaml create mode 100644 kas/machine/sifive-fu540.yaml create mode 100644 kas/machine/starfive-visionfive2.yaml create mode 100644 kas/machine/stm32mp15x.yaml create mode 100644 kas/machine/virtualbox.yaml create mode 100644 kas/machine/vmware.yaml create mode 100644 kas/opt/Kconfig create mode 100644 kas/opt/cache-deb-src.yaml create mode 100644 kas/opt/ccache.yaml create mode 100644 kas/opt/compat-arch.yaml create mode 100644 kas/opt/crosscompile.yaml create mode 100644 kas/opt/image-fstypes.yaml create mode 100644 kas/opt/mirror-debian.yaml create mode 100644 kas/opt/mirror-ubuntu.yaml create mode 100644 kas/opt/packages-distro.yaml create mode 100644 kas/opt/packages-isar.yaml create mode 100644 kas/opt/user-isar.yaml create mode 100644 kas/opt/user-root.yaml create mode 100644 kas/package/Kconfig create mode 100644 kas/package/packages-distro.yaml create mode 100644 kas/package/pkg_cowsay.yaml create mode 100644 kas/package/pkg_enable-fsck.yaml create mode 100644 kas/package/pkg_example-module.yaml create mode 100644 kas/package/pkg_example-prebuilt.yaml create mode 100644 kas/package/pkg_example-raw.yaml create mode 100644 kas/package/pkg_expand-on-first-boot.yaml create mode 100644 kas/package/pkg_hello-isar.yaml create mode 100644 kas/package/pkg_hello.yaml create mode 100644 kas/package/pkg_isar-disable-apt-cache.yaml create mode 100644 kas/package/pkg_isar-exclude-docs.yaml create mode 100644 kas/package/pkg_kselftest.yaml create mode 100644 kas/package/pkg_samefile.yaml create mode 100644 kas/package/pkg_sshd-regen-keys.yaml -- 2.20.1