From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6589768255022301184 X-Received: by 2002:a1c:f10c:: with SMTP id p12-v6mr2436875wmh.5.1534430957863; Thu, 16 Aug 2018 07:49:17 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:4d02:: with SMTP id o2-v6ls1099515wmh.3.canary-gmail; Thu, 16 Aug 2018 07:49:17 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwloVacqQRp+6VsDx+nBUuS+KDEFZZlhOknu346bfyGeExU85kR4T9z2QDy2jsn/tC3BwAM X-Received: by 2002:a1c:7a10:: with SMTP id v16-v6mr2582163wmc.11.1534430957389; Thu, 16 Aug 2018 07:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534430957; cv=none; d=google.com; s=arc-20160816; b=z4dFeSIDa4N37YsTbCIZTB7fVnRIyuTYT+KRjoayQwBuO4+XquReodHy5Bbn8CS6/4 RdRFpALN+qJA+72v5I1+6AED5KzOEYQhDc9vrrz6v4vIvhPLWYERM7S94t/+oJ/jCfg/ EjpfCU6Hrtk6RwXeQz860+yXKutiHUR9Z6JtS4NJQF+OzY+w07g6zav6q7diHkOrh3xq NIHk5iF6Qc1nKOlEAZN2Z33XFgwgpTVF+1qOlpQ8eKNjg5kHZOzPyJEzW7eoL0yE9NRO vebZXK+ubN9QqmEx2QSXxh6+Eupw5HdTX9eCNRAdSMEkJ1hXeSfGhqRrzPxJarj5KOeo v/nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=CqYMPJXtXZ+ZjhiCLUnH1YzIzp9dZmAmGhrtucWkcn4=; b=HaHqL2izrXfytiZFLYZmEo07TpIN4eXai7vbng2sIzcuJzFvVEBC2wfiuKzlCiNQbM H0Twk2GVO8TcaCYDBd1hOz03pySnWcg8kxr+Z0Hz5tJr+vPHXWZpY9tssYhUkYxEMd4/ lPjo041wTyuM0pt7kDu06BAFVFopIz0HLRKWLPveCpjsrbbzLQ0J9nuQmvDAbVhl9I2D Ri6FHuJ1Sb3R/viTR1rL5i+4ubCwE3Xj2+Wq2CGK3et1aS7zskPOw/owgwt2oWjrJK+y OrXbfUTL2B27N+tgKfkC/UfS9C++OvuT1nq/Yzho6/vNTHVuJ3wmWeRdKDx+KM6ILjy4 WlmQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id i13-v6si1133333wrh.5.2018.08.16.07.49.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Aug 2018 07:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w7GEnGw9032655 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Aug 2018 16:49:16 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w7GEnG10023821; Thu, 16 Aug 2018 16:49:16 +0200 Date: Thu, 16 Aug 2018 16:49:15 +0200 From: Henning Schild To: "Maxim Yu. Osipov" Cc: Subject: Re: [PATCH v2] conf: Add support for new debian distro "buster" Message-ID: <20180816164915.41913a28@md1pvb1c.ad001.siemens.net> In-Reply-To: References: <20180815022609.10528-1-mosipov@ilbers.de> <20180816110440.0be34cc0@md1pvb1c.ad001.siemens.net> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: kXV6s5PT6hj9 Am Thu, 16 Aug 2018 14:57:44 +0300 schrieb "Maxim Yu. Osipov" : > Hi Henning, > > It seems that under jessie we have similar problem with unsupported > syscall with qemuarm as we had with qemuarm64 on stretch: > > cat > build/tmp/work/debian-buster-armhf/buildchroot-target/temp/log.do_build: > === Setting up libperl5.26:armhf (5.26.2-7) ... > Setting up man-db (2.8.4-2) ... > Building database of manual pages ... > qemu: Unsupported syscall: 383 > === > > May be it makes sense to exclude for now qemuarm from buster patch > (at least while we support jessie)? No. For arm64 i agree, we have that problem and can not build buster images from any distro < buster. But for arm we just have that problem for debian8 and not 9, so arm should be part of the patch. And i think if you had a debian buster you could also build a debian buster on it, which would speak for adding arm64 as well. And the knowledge that certain host <-> target combinations do not work, could maybe be documented or coded into warnings. > On 08/16/2018 12:04 PM, Henning Schild wrote: > > Authership seems to be broken in git and the From: line is in the > > commit. 67032ace57ce97a885 > > I may prepare v3 but I don't know how to workaround this broken > authorship you've found out. Well it should be fixed and not worked around ;). You could commit --amend --author= in an interactive rebase. Where you delete the "From:" line as well... Or you tell me to rebase my patch on current next. Henning > Maxim. > > > Henning > > > > Am Wed, 15 Aug 2018 04:26:09 +0200 > > schrieb "Maxim Yu. Osipov" : > > > >> From: Henning Schild > >> > >> Let us already include support for "buster" in Isar, to prove that > >> we can build images and to find issues before it is declared > >> stable. > >> > >> Note: > >> arm64-buster support is excluded so far as build on debian stretch > >> system hangs with error "qemu: unsupported syscall 277" > >> > >> Signed-off-by: Henning Schild > >> Signed-off-by: Maxim Yu. Osipov > >> --- > >> doc/user_manual.md | 2 +- > >> meta-isar/conf/distro/debian-buster.conf | 7 +++++++ > >> meta-isar/conf/distro/debian-buster.list | 3 +++ > >> meta-isar/conf/local.conf.sample | 3 +++ > >> meta-isar/conf/multiconfig/qemuamd64-buster.conf | 19 > >> +++++++++++++++++++ > >> meta-isar/conf/multiconfig/qemuarm-buster.conf | 18 > >> ++++++++++++++++++ > >> meta-isar/conf/multiconfig/qemui386-buster.conf | 20 > >> ++++++++++++++++++++ .../buildchroot/buildchroot-target.bb > >> | 2 ++ scripts/ci_build.sh | 3 > >> +++ scripts/vm_smoke_test | 3 +++ > >> 10 files changed, 79 insertions(+), 1 deletion(-) create mode > >> 100644 meta-isar/conf/distro/debian-buster.conf create mode 100644 > >> meta-isar/conf/distro/debian-buster.list create mode 100644 > >> meta-isar/conf/multiconfig/qemuamd64-buster.conf create mode 100644 > >> meta-isar/conf/multiconfig/qemuarm-buster.conf create mode 100644 > >> meta-isar/conf/multiconfig/qemui386-buster.conf > >> > >> diff --git a/doc/user_manual.md b/doc/user_manual.md > >> index 4e7f29a..34ea6e6 100644 > >> --- a/doc/user_manual.md > >> +++ b/doc/user_manual.md > >> @@ -55,7 +55,7 @@ Install the following packages: > >> ``` > >> dosfstools > >> git > >> -debootstrap > >> +debootstrap/jessie-backports# for debian >= "buster" > >> dpkg-dev > >> parted > >> python > >> diff --git a/meta-isar/conf/distro/debian-buster.conf > >> b/meta-isar/conf/distro/debian-buster.conf new file mode 100644 > >> index 0000000..162257f > >> --- /dev/null > >> +++ b/meta-isar/conf/distro/debian-buster.conf > >> @@ -0,0 +1,7 @@ > >> +# This software is a part of ISAR. > >> + > >> +DISTRO_APT_SOURCES += "conf/distro/debian-buster.list" > >> +DISTRO_CONFIG_SCRIPT ?= "debian-configscript.sh" > >> +DISTRO_KERNELS ?= "4kc-malta 586 5kc-malta 686 686-pae amd64 arm64 > >> armmp \ > >> + armmp-lpae kirkwood loongson-3 marvell octeon orion5x > >> powerpc64le \ > >> + rt-686-pae rt-amd64 s390x" > >> diff --git a/meta-isar/conf/distro/debian-buster.list > >> b/meta-isar/conf/distro/debian-buster.list new file mode 100644 > >> index 0000000..18311d8 > >> --- /dev/null > >> +++ b/meta-isar/conf/distro/debian-buster.list > >> @@ -0,0 +1,3 @@ > >> +deb http://ftp.de.debian.org/debian buster main > >> contrib non-free +deb http://ftp.de.debian.org/debian > >> buster-updates main contrib non-free +deb > >> http://security.debian.org buster/updates main > >> contrib non-free diff --git a/meta-isar/conf/local.conf.sample > >> b/meta-isar/conf/local.conf.sample index 27b43d1..0f37121 100644 > >> --- a/meta-isar/conf/local.conf.sample +++ > >> b/meta-isar/conf/local.conf.sample @@ -41,12 +41,15 @@ > >> BBMULTICONFIG = " \ qemuarm-wheezy \ > >> qemuarm-jessie \ > >> qemuarm-stretch \ > >> + qemuarm-buster \ > >> qemuarm64-stretch \ > >> qemui386-jessie \ > >> qemui386-stretch \ > >> + qemui386-buster \ > >> qemuamd64-jessie \ > >> qemuamd64-stretch \ > >> bananapi-stretch \ > >> + qemuamd64-buster \ > >> rpi-jessie \ > >> " > >> > >> diff --git a/meta-isar/conf/multiconfig/qemuamd64-buster.conf > >> b/meta-isar/conf/multiconfig/qemuamd64-buster.conf new file mode > >> 100644 index 0000000..85404ae > >> --- /dev/null > >> +++ b/meta-isar/conf/multiconfig/qemuamd64-buster.conf > >> @@ -0,0 +1,19 @@ > >> +# This software is a part of ISAR. > >> + > >> +MACHINE ?= "qemuamd64" > >> + > >> +DISTRO ?= "debian-buster" > >> +DISTRO_ARCH ?= "amd64" > >> + > >> +KERNEL_NAME ?= "amd64" > >> + > >> +IMAGE_PREINSTALL += "init" > >> + > >> +IMAGE_TYPE ?= "wic-img" > >> + > >> +ROOTFS_DEV ?= "sda2" > >> + > >> +QEMU_ARCH ?= "x86_64" > >> +QEMU_MACHINE ?= "q35" > >> +QEMU_CPU ?= "" > >> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE## > >> -bios /usr/local/share/ovmf/OVMF.fd" diff --git > >> a/meta-isar/conf/multiconfig/qemuarm-buster.conf > >> b/meta-isar/conf/multiconfig/qemuarm-buster.conf new file mode > >> 100644 index 0000000..003f7c4 --- /dev/null > >> +++ b/meta-isar/conf/multiconfig/qemuarm-buster.conf > >> @@ -0,0 +1,18 @@ > >> +# This software is a part of ISAR. > >> + > >> +MACHINE ?= "qemuarm" > >> + > >> +DISTRO ?= "debian-buster" > >> +DISTRO_ARCH ?= "armhf" > >> + > >> +KERNEL_NAME ?= "armmp" > >> + > >> +IMAGE_PREINSTALL += "init" > >> + > >> +ROOTFS_DEV ?= "vda" > >> + > >> +QEMU_ARCH ?= "arm" > >> +QEMU_MACHINE ?= "virt" > >> +QEMU_CPU ?= "cortex-a15" > >> +# TODO: start_vm doesn't support multiline vars > >> +QEMU_ROOTFS_DEV ?= "-drive > >> file=##ROOTFS_IMAGE##,if=none,format=raw,id=hd0 -device > >> virtio-blk-device,drive=hd0" diff --git > >> a/meta-isar/conf/multiconfig/qemui386-buster.conf > >> b/meta-isar/conf/multiconfig/qemui386-buster.conf new file mode > >> 100644 index 0000000..e09cd0c --- /dev/null +++ > >> b/meta-isar/conf/multiconfig/qemui386-buster.conf @@ -0,0 +1,20 @@ > >> +# This software is a part of ISAR. > >> + > >> +MACHINE ?= "qemui386" > >> + > >> +DISTRO ?= "debian-buster" > >> +DISTRO_ARCH ?= "i386" > >> + > >> +KERNEL_NAME ?= "686-pae" > >> + > >> +IMAGE_PREINSTALL += "init" > >> + > >> +IMAGE_TYPE ?= "wic-img" > >> +WKS_FILE ?= "directdisk-isar" > >> + > >> +ROOTFS_DEV ?= "sda2" > >> + > >> +QEMU_ARCH ?= "i386" > >> +QEMU_MACHINE ?= "pc" > >> +QEMU_CPU ?= "" > >> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##" > >> diff --git > >> a/meta/recipes-devtools/buildchroot/buildchroot-target.bb > >> b/meta/recipes-devtools/buildchroot/buildchroot-target.bb index > >> 66b526a..34abb72 100644 --- > >> a/meta/recipes-devtools/buildchroot/buildchroot-target.bb +++ > >> b/meta/recipes-devtools/buildchroot/buildchroot-target.bb @@ -29,6 > >> +29,8 @@ BUILDCHROOT_PREINSTALL_WIC = " \ e2fsprogs \ python3" > >> > >> +BUILDCHROOT_PREINSTALL_WIC_append_debian-buster = " > >> python3-distutils" + > >> BUILDCHROOT_PREINSTALL_WIC_append_amd64 = " \ > >> syslinux \ > >> syslinux-common \ > >> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh > >> index 28290c2..24b3353 100755 > >> --- a/scripts/ci_build.sh > >> +++ b/scripts/ci_build.sh > >> @@ -84,10 +84,13 @@ else > >> bitbake $BB_ARGS \ > >> multiconfig:qemuarm-jessie:isar-image-base \ > >> multiconfig:qemuarm-stretch:isar-image-base \ > >> + multiconfig:qemuarm-buster:isar-image-base \ > >> multiconfig:qemuarm64-stretch:isar-image-base \ > >> multiconfig:qemui386-jessie:isar-image-base \ > >> multiconfig:qemui386-stretch:isar-image-base \ > >> + multiconfig:qemui386-buster:isar-image-base \ > >> multiconfig:qemuamd64-jessie:isar-image-base \ > >> multiconfig:qemuamd64-stretch:isar-image-base \ > >> + multiconfig:qemuamd64-buster:isar-image-base \ > >> multiconfig:rpi-jessie:isar-image-base > >> fi > >> diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test > >> index a88d127..f2f6aea 100755 > >> --- a/scripts/vm_smoke_test > >> +++ b/scripts/vm_smoke_test > >> @@ -144,14 +144,17 @@ done > >> # ARM machine > >> run_test arm jessie > >> run_test arm stretch > >> +run_test arm buster > >> > >> # AMD64 machine > >> run_test amd64 jessie > >> run_test amd64 stretch > >> +run_test amd64 buster > >> > >> # i386 machine > >> run_test i386 jessie > >> run_test i386 stretch > >> +run_test i386 buster > >> > >> # ARM64 machine > >> run_test arm64 stretch > > > >