From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7278939938131804160 X-Received: by 2002:a2e:3614:0:b0:2b6:df6b:84c0 with SMTP id d20-20020a2e3614000000b002b6df6b84c0mr773752lja.25.1694760270249; Thu, 14 Sep 2023 23:44:30 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:a10:b0:2bc:da88:b686 with SMTP id k16-20020a05651c0a1000b002bcda88b686ls1271623ljq.0.-pod-prod-01-eu; Thu, 14 Sep 2023 23:44:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFAmsuBXKPRkauZsSpZlNJt9gyKq0hjSfODWvh5oJ2MkWeZW5T77p85GHAfppXyAtFK/KZz X-Received: by 2002:ac2:4db3:0:b0:4f9:5ca5:f1a6 with SMTP id h19-20020ac24db3000000b004f95ca5f1a6mr645792lfe.17.1694760268027; Thu, 14 Sep 2023 23:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694760268; cv=none; d=google.com; s=arc-20160816; b=xo8n0+VqGS+FcLnvOtPTF/ljhOL3PsHFQraA9kroW1r/bAKzm56IysdR8xQunafrK6 vjKbe8SPOu84zBw2b3wPwRRd7zHRtkC6eAzl/DkKqPuIC+QVaz9Mhv0rSFhflHwvwxgo smmDsAvebQtfrBpZyukdv9ZMOvIkMEks1Nq+5rtE4aUU3cEiWBg3P81iFtBBTBIrllRf XWfBuj1MzO4OlgLvsqrqbGJZcZeGDVhb8oP7nSmA4jLDE7Dziaip213326W2+iRW5U+e LsWVJymOkVtBf/MhlzmXtxCahIhWYFX6n6CGSm5l2mR/VM5cbIUJeeQ9HoUR3oeWwjGV S6CA== 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=pN4AlUrhRDYX+4R0CODZLMFn3yMpNfCYPJqYB/eLqfI=; fh=7tclEdh7YbwSQowgJ6LNq720O7H5HTEaqj22NJWRE2E=; b=Ztc47ve3OjKoSdKaIG6fo54eDfnbktwTg4QXknVQnep7Xl1r0HYSwHF+xkEKczG3ju 8u5BSySbemlpWkL2P7eAiL2pw+i/ImWSXeDQ096BCH8kglYtXbhlwGlxj7SELQTkilvp hujOh1v1qVpPC8WnyfvA2/OHqfxBrA/taaixakBOV4YTPJ+Is3hWpa/6u/RmZJeJDSgy Y3HD0UpuaRpt6df6pk1YzpIgjkMfuOxIjeaWB6f84TTrBzLIFwCIDCn0cxWFWnEaOvCH XiABapqNp4T75fbRwgTSCSBKkGvs6a2ArCkDjuIj8nklQw+JA8fljOieSSQI5OKR6lyB chwA== 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 o10-20020ac24e8a000000b005009dc902ffsi240552lfr.4.2023.09.14.23.44.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Sep 2023 23:44:27 -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 38F6iQJL022764 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 15 Sep 2023 08:44:26 +0200 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH 00/13] Support building Isar using kas Date: Fri, 15 Sep 2023 08:44:13 +0200 Message-Id: <20230915064426.27676-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: 7KAd+cXrPg9+ 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. Uladzimir Bely (13): kas: Add initial Kconfig support kas: Add a local copy of kas-container script kas: Add dependencies between machine and distro configuration 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 Readme.md .gitignore | 1 + Kconfig | 36 ++ kas/README.md | 36 ++ kas/distro/Kconfig | 68 ++++ kas/distro/debian-bookworm.yml | 4 + kas/distro/debian-bullseye.yml | 4 + kas/distro/debian-buster.yml | 4 + kas/distro/debian-sid-ports.yml | 4 + kas/distro/raspios-bullseye.yml | 4 + kas/distro/ubuntu-focal.yml | 4 + kas/distro/ubuntu-jammy.yml | 4 + kas/isar-image-base.yml | 7 + kas/isar-image-debug.yml | 7 + kas/isar.yml | 15 + kas/kas-container | 562 +++++++++++++++++++++++++++ kas/machine/Kconfig | 153 ++++++++ kas/machine/bananapi.yml | 4 + kas/machine/container-amd64.yml | 4 + kas/machine/de0-nano-soc.yml | 4 + kas/machine/hikey.yml | 4 + kas/machine/imx6-sabrelite.yml | 4 + kas/machine/nanopi-neo.yml | 4 + kas/machine/phyboard-mira.yml | 4 + kas/machine/qemuamd64-sb.yml | 4 + kas/machine/qemuamd64.yml | 4 + kas/machine/qemuarm.yml | 4 + kas/machine/qemuarm64.yml | 4 + kas/machine/qemui386.yml | 4 + kas/machine/qemumipsel.yml | 4 + kas/machine/qemuriscv64.yml | 4 + kas/machine/rpi-arm-v7.yml | 4 + kas/machine/rpi-arm-v7l.yml | 4 + kas/machine/rpi-arm.yml | 4 + kas/machine/rpi-arm64-v8.yml | 4 + kas/machine/sifive-fu540.yml | 4 + kas/machine/starfive-visionfive2.yml | 4 + kas/machine/stm32mp15x.yml | 4 + kas/machine/virtualbox.yml | 4 + kas/machine/vmware.yml | 4 + kas/opt/Kconfig | 181 +++++++++ kas/opt/cache-deb-src.yml | 6 + kas/opt/ccache.yml | 6 + kas/opt/compat-arch.yml | 7 + kas/opt/crosscompile.yml | 6 + kas/opt/image-fstypes.yml | 6 + kas/opt/mirror-debian.yml | 7 + kas/opt/mirror-ubuntu.yml | 7 + kas/opt/packages-distro.yml | 6 + kas/opt/packages-isar.yml | 6 + kas/opt/user-isar.yml | 16 + kas/opt/user-root.yml | 7 + 51 files changed, 1266 insertions(+) create mode 100644 Kconfig create mode 100644 kas/README.md create mode 100644 kas/distro/Kconfig create mode 100644 kas/distro/debian-bookworm.yml create mode 100644 kas/distro/debian-bullseye.yml create mode 100644 kas/distro/debian-buster.yml create mode 100644 kas/distro/debian-sid-ports.yml create mode 100644 kas/distro/raspios-bullseye.yml create mode 100644 kas/distro/ubuntu-focal.yml create mode 100644 kas/distro/ubuntu-jammy.yml create mode 100644 kas/isar-image-base.yml create mode 100644 kas/isar-image-debug.yml create mode 100644 kas/isar.yml create mode 100755 kas/kas-container create mode 100644 kas/machine/Kconfig create mode 100644 kas/machine/bananapi.yml create mode 100644 kas/machine/container-amd64.yml create mode 100644 kas/machine/de0-nano-soc.yml create mode 100644 kas/machine/hikey.yml create mode 100644 kas/machine/imx6-sabrelite.yml create mode 100644 kas/machine/nanopi-neo.yml create mode 100644 kas/machine/phyboard-mira.yml create mode 100644 kas/machine/qemuamd64-sb.yml create mode 100644 kas/machine/qemuamd64.yml create mode 100644 kas/machine/qemuarm.yml create mode 100644 kas/machine/qemuarm64.yml create mode 100644 kas/machine/qemui386.yml create mode 100644 kas/machine/qemumipsel.yml create mode 100644 kas/machine/qemuriscv64.yml create mode 100644 kas/machine/rpi-arm-v7.yml create mode 100644 kas/machine/rpi-arm-v7l.yml create mode 100644 kas/machine/rpi-arm.yml create mode 100644 kas/machine/rpi-arm64-v8.yml create mode 100644 kas/machine/sifive-fu540.yml create mode 100644 kas/machine/starfive-visionfive2.yml create mode 100644 kas/machine/stm32mp15x.yml create mode 100644 kas/machine/virtualbox.yml create mode 100644 kas/machine/vmware.yml create mode 100644 kas/opt/Kconfig create mode 100644 kas/opt/cache-deb-src.yml create mode 100644 kas/opt/ccache.yml create mode 100644 kas/opt/compat-arch.yml create mode 100644 kas/opt/crosscompile.yml create mode 100644 kas/opt/image-fstypes.yml create mode 100644 kas/opt/mirror-debian.yml create mode 100644 kas/opt/mirror-ubuntu.yml create mode 100644 kas/opt/packages-distro.yml create mode 100644 kas/opt/packages-isar.yml create mode 100644 kas/opt/user-isar.yml create mode 100644 kas/opt/user-root.yml -- 2.20.1