public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] conf: Add support for new debian distro "buster"
@ 2018-04-18 14:46 Henning Schild
  2018-04-18 14:48 ` Henning Schild
  2018-05-10 15:52 ` Alexander Smirnov
  0 siblings, 2 replies; 4+ messages in thread
From: Henning Schild @ 2018-04-18 14:46 UTC (permalink / raw)
  To: isar-users; +Cc: 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.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
---
 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                 |  4 ++++
 meta-isar/conf/multiconfig/qemuamd64-buster.conf | 17 +++++++++++++++++
 meta-isar/conf/multiconfig/qemuarm-buster.conf   | 18 ++++++++++++++++++
 meta-isar/conf/multiconfig/qemuarm64-buster.conf | 18 ++++++++++++++++++
 meta-isar/conf/multiconfig/qemui386-buster.conf  | 17 +++++++++++++++++
 scripts/ci_build.sh                              |  4 ++++
 scripts/vm_smoke_test                            |  4 ++++
 10 files changed, 93 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/qemuarm64-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 058f7bd..2bd3793 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -58,7 +58,7 @@ git
 grub-efi-amd64-bin          # wic UEFI: /usr/lib/grub/x86_64-efi/moddep.lst
 grub-efi-ia32-bin           # wic UEFI: /usr/lib/grub/i386-efi/moddep.lst
 mtools                      # wic FAT: mcopy
-debootstrap
+debootstrap/jessie-backports# for debian >= "buster"
 parted
 python
 python3                     # wic
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 39875c1..1ef86d7 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -41,11 +41,15 @@ BBMULTICONFIG = " \
     qemuarm-wheezy \
     qemuarm-jessie \
     qemuarm-stretch \
+    qemuarm-buster \
     qemuarm64-stretch \
+    qemuarm64-buster \
     qemui386-jessie \
     qemui386-stretch \
+    qemui386-buster \
     qemuamd64-jessie \
     qemuamd64-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..32b49d3
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemuamd64-buster.conf
@@ -0,0 +1,17 @@
+# This software is a part of ISAR.
+
+MACHINE ?= "qemuamd64"
+
+DISTRO ?= "debian-buster"
+DISTRO_ARCH ?= "amd64"
+
+KERNEL_NAME ?= "amd64"
+
+IMAGE_PREINSTALL += "init"
+
+ROOTFS_DEV ?= "sda"
+
+QEMU_ARCH ?= "x86_64"
+QEMU_MACHINE ?= "pc"
+QEMU_CPU ?= ""
+QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
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/qemuarm64-buster.conf b/meta-isar/conf/multiconfig/qemuarm64-buster.conf
new file mode 100644
index 0000000..55ed421
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemuarm64-buster.conf
@@ -0,0 +1,18 @@
+# This software is a part of ISAR.
+
+MACHINE ?= "qemuarm64"
+
+DISTRO ?= "debian-buster"
+DISTRO_ARCH ?= "arm64"
+
+KERNEL_NAME ?= "arm64"
+
+IMAGE_PREINSTALL += "init"
+
+ROOTFS_DEV ?= "vda"
+
+QEMU_ARCH ?= "aarch64"
+QEMU_MACHINE ?= "virt"
+QEMU_CPU ?= "cortex-a57"
+# 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..5442c8d
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemui386-buster.conf
@@ -0,0 +1,17 @@
+# This software is a part of ISAR.
+
+MACHINE ?= "qemui386"
+
+DISTRO ?= "debian-buster"
+DISTRO_ARCH ?= "i386"
+
+KERNEL_NAME ?= "686-pae"
+
+IMAGE_PREINSTALL += "init"
+
+ROOTFS_DEV ?= "sda"
+
+QEMU_ARCH ?= "i386"
+QEMU_MACHINE ?= "pc"
+QEMU_CPU ?= ""
+QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index e941f8c..c977ec7 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -26,9 +26,13 @@ bitbake -v \
         multiconfig:qemuarm-wheezy:isar-image-base \
         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:qemuarm64-buster: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
diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test
index fde0e05..555541b 100755
--- a/scripts/vm_smoke_test
+++ b/scripts/vm_smoke_test
@@ -71,16 +71,20 @@ run_test () {
 run_test arm wheezy
 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
+run_test arm64 buster
 
 exit $RET
-- 
2.16.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] conf: Add support for new debian distro "buster"
  2018-04-18 14:46 [PATCH] conf: Add support for new debian distro "buster" Henning Schild
@ 2018-04-18 14:48 ` Henning Schild
  2018-05-10 15:52 ` Alexander Smirnov
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Schild @ 2018-04-18 14:48 UTC (permalink / raw)
  To: isar-users

Not that the CI at ilbers currently has a too old version of
debootstrap to actually test that.

Henning

Am Wed, 18 Apr 2018 16:46:50 +0200
schrieb Henning Schild <henning.schild@siemens.com>:

> 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.
> 
> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
>  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                 |  4 ++++
>  meta-isar/conf/multiconfig/qemuamd64-buster.conf | 17
> +++++++++++++++++ meta-isar/conf/multiconfig/qemuarm-buster.conf   |
> 18 ++++++++++++++++++
> meta-isar/conf/multiconfig/qemuarm64-buster.conf | 18
> ++++++++++++++++++ meta-isar/conf/multiconfig/qemui386-buster.conf  |
> 17 +++++++++++++++++ scripts/ci_build.sh
> |  4 ++++ scripts/vm_smoke_test                            |  4 ++++
> 10 files changed, 93 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/qemuarm64-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 058f7bd..2bd3793 100644
> --- a/doc/user_manual.md
> +++ b/doc/user_manual.md
> @@ -58,7 +58,7 @@ git
>  grub-efi-amd64-bin          # wic
> UEFI: /usr/lib/grub/x86_64-efi/moddep.lst grub-efi-ia32-bin
> # wic UEFI: /usr/lib/grub/i386-efi/moddep.lst
> mtools                      # wic FAT: mcopy -debootstrap
> +debootstrap/jessie-backports# for debian >= "buster"
>  parted
>  python
>  python3                     # wic
> 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 39875c1..1ef86d7 100644 ---
> a/meta-isar/conf/local.conf.sample +++
> b/meta-isar/conf/local.conf.sample @@ -41,11 +41,15 @@ BBMULTICONFIG
> = " \ qemuarm-wheezy \
>      qemuarm-jessie \
>      qemuarm-stretch \
> +    qemuarm-buster \
>      qemuarm64-stretch \
> +    qemuarm64-buster \
>      qemui386-jessie \
>      qemui386-stretch \
> +    qemui386-buster \
>      qemuamd64-jessie \
>      qemuamd64-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..32b49d3
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/qemuamd64-buster.conf
> @@ -0,0 +1,17 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemuamd64"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "amd64"
> +
> +KERNEL_NAME ?= "amd64"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "sda"
> +
> +QEMU_ARCH ?= "x86_64"
> +QEMU_MACHINE ?= "pc"
> +QEMU_CPU ?= ""
> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> 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/qemuarm64-buster.conf
> b/meta-isar/conf/multiconfig/qemuarm64-buster.conf new file mode
> 100644 index 0000000..55ed421 --- /dev/null +++
> b/meta-isar/conf/multiconfig/qemuarm64-buster.conf @@ -0,0 +1,18 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemuarm64"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "arm64"
> +
> +KERNEL_NAME ?= "arm64"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "vda"
> +
> +QEMU_ARCH ?= "aarch64"
> +QEMU_MACHINE ?= "virt"
> +QEMU_CPU ?= "cortex-a57"
> +# 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..5442c8d --- /dev/null +++
> b/meta-isar/conf/multiconfig/qemui386-buster.conf @@ -0,0 +1,17 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemui386"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "i386"
> +
> +KERNEL_NAME ?= "686-pae"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "sda"
> +
> +QEMU_ARCH ?= "i386"
> +QEMU_MACHINE ?= "pc"
> +QEMU_CPU ?= ""
> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index e941f8c..c977ec7 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -26,9 +26,13 @@ bitbake -v \
>          multiconfig:qemuarm-wheezy:isar-image-base \
>          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:qemuarm64-buster: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
> diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test
> index fde0e05..555541b 100755
> --- a/scripts/vm_smoke_test
> +++ b/scripts/vm_smoke_test
> @@ -71,16 +71,20 @@ run_test () {
>  run_test arm wheezy
>  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
> +run_test arm64 buster
>  
>  exit $RET


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] conf: Add support for new debian distro "buster"
  2018-04-18 14:46 [PATCH] conf: Add support for new debian distro "buster" Henning Schild
  2018-04-18 14:48 ` Henning Schild
@ 2018-05-10 15:52 ` Alexander Smirnov
  2018-05-24 14:48   ` Henning Schild
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Smirnov @ 2018-05-10 15:52 UTC (permalink / raw)
  To: Henning Schild, isar-users

Hi,

On 04/18/2018 05:46 PM, Henning Schild wrote:
> 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.
> 

Could you please describe the configurations you tested. I've tried to 
build qemuamd64, but it fails on buildchroot:

ERROR: mc:qemuamd64-buster:buildchroot-1.0-r0 do_build: Function failed: 
do_build (log file is located at 
/home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489)
ERROR: Logfile of failure stored in: 
/home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489
Log data follows:
| DEBUG: Executing shell function do_build
| Get:1 file:/isar-apt isar InRelease
| Ign:1 file:/isar-apt isar InRelease
| Get:2 file:/isar-apt isar Release [3554 B]
| Get:2 file:/isar-apt isar Release [3554 B]
| Get:3 file:/isar-apt isar Release.gpg
| Ign:3 file:/isar-apt isar Release.gpg
| Reading package lists...
| E: The repository 'file:/isar-apt isar Release' is not signed.
| WARNING: exit code 100 from a shell command.
| ERROR: Function failed: do_build (log file is located at 
/home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489)

Have you whenever seen this?

Alex


> Signed-off-by: Henning Schild <henning.schild@siemens.com>
> ---
>   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                 |  4 ++++
>   meta-isar/conf/multiconfig/qemuamd64-buster.conf | 17 +++++++++++++++++
>   meta-isar/conf/multiconfig/qemuarm-buster.conf   | 18 ++++++++++++++++++
>   meta-isar/conf/multiconfig/qemuarm64-buster.conf | 18 ++++++++++++++++++
>   meta-isar/conf/multiconfig/qemui386-buster.conf  | 17 +++++++++++++++++
>   scripts/ci_build.sh                              |  4 ++++
>   scripts/vm_smoke_test                            |  4 ++++
>   10 files changed, 93 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/qemuarm64-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 058f7bd..2bd3793 100644
> --- a/doc/user_manual.md
> +++ b/doc/user_manual.md
> @@ -58,7 +58,7 @@ git
>   grub-efi-amd64-bin          # wic UEFI: /usr/lib/grub/x86_64-efi/moddep.lst
>   grub-efi-ia32-bin           # wic UEFI: /usr/lib/grub/i386-efi/moddep.lst
>   mtools                      # wic FAT: mcopy
> -debootstrap
> +debootstrap/jessie-backports# for debian >= "buster"
>   parted
>   python
>   python3                     # wic
> 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 39875c1..1ef86d7 100644
> --- a/meta-isar/conf/local.conf.sample
> +++ b/meta-isar/conf/local.conf.sample
> @@ -41,11 +41,15 @@ BBMULTICONFIG = " \
>       qemuarm-wheezy \
>       qemuarm-jessie \
>       qemuarm-stretch \
> +    qemuarm-buster \
>       qemuarm64-stretch \
> +    qemuarm64-buster \
>       qemui386-jessie \
>       qemui386-stretch \
> +    qemui386-buster \
>       qemuamd64-jessie \
>       qemuamd64-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..32b49d3
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/qemuamd64-buster.conf
> @@ -0,0 +1,17 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemuamd64"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "amd64"
> +
> +KERNEL_NAME ?= "amd64"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "sda"
> +
> +QEMU_ARCH ?= "x86_64"
> +QEMU_MACHINE ?= "pc"
> +QEMU_CPU ?= ""
> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> 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/qemuarm64-buster.conf b/meta-isar/conf/multiconfig/qemuarm64-buster.conf
> new file mode 100644
> index 0000000..55ed421
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/qemuarm64-buster.conf
> @@ -0,0 +1,18 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemuarm64"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "arm64"
> +
> +KERNEL_NAME ?= "arm64"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "vda"
> +
> +QEMU_ARCH ?= "aarch64"
> +QEMU_MACHINE ?= "virt"
> +QEMU_CPU ?= "cortex-a57"
> +# 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..5442c8d
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/qemui386-buster.conf
> @@ -0,0 +1,17 @@
> +# This software is a part of ISAR.
> +
> +MACHINE ?= "qemui386"
> +
> +DISTRO ?= "debian-buster"
> +DISTRO_ARCH ?= "i386"
> +
> +KERNEL_NAME ?= "686-pae"
> +
> +IMAGE_PREINSTALL += "init"
> +
> +ROOTFS_DEV ?= "sda"
> +
> +QEMU_ARCH ?= "i386"
> +QEMU_MACHINE ?= "pc"
> +QEMU_CPU ?= ""
> +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index e941f8c..c977ec7 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -26,9 +26,13 @@ bitbake -v \
>           multiconfig:qemuarm-wheezy:isar-image-base \
>           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:qemuarm64-buster: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
> diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test
> index fde0e05..555541b 100755
> --- a/scripts/vm_smoke_test
> +++ b/scripts/vm_smoke_test
> @@ -71,16 +71,20 @@ run_test () {
>   run_test arm wheezy
>   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
> +run_test arm64 buster
>   
>   exit $RET
> 

-- 
With best regards,
Alexander Smirnov

ilbers GmbH
Baierbrunner Str. 28c
D-81379 Munich
+49 (89) 122 67 24-0
http://ilbers.de/
Commercial register Munich, HRB 214197
General manager: Baurzhan Ismagulov

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] conf: Add support for new debian distro "buster"
  2018-05-10 15:52 ` Alexander Smirnov
@ 2018-05-24 14:48   ` Henning Schild
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Schild @ 2018-05-24 14:48 UTC (permalink / raw)
  To: Alexander Smirnov; +Cc: isar-users

Am Thu, 10 May 2018 18:52:00 +0300
schrieb Alexander Smirnov <asmirnov@ilbers.de>:

> Hi,
> 
> On 04/18/2018 05:46 PM, Henning Schild wrote:
> > 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.
> >   
> 
> Could you please describe the configurations you tested. I've tried
> to build qemuamd64, but it fails on buildchroot:

Ah yes, that depended on a patch that i never sent to the list. v2 is
now rebased on current next and being tested, will appear soon.

Henning

> ERROR: mc:qemuamd64-buster:buildchroot-1.0-r0 do_build: Function
> failed: do_build (log file is located at 
> /home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489)
> ERROR: Logfile of failure stored in: 
> /home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489
> Log data follows:
> | DEBUG: Executing shell function do_build
> | Get:1 file:/isar-apt isar InRelease
> | Ign:1 file:/isar-apt isar InRelease
> | Get:2 file:/isar-apt isar Release [3554 B]
> | Get:2 file:/isar-apt isar Release [3554 B]
> | Get:3 file:/isar-apt isar Release.gpg
> | Ign:3 file:/isar-apt isar Release.gpg
> | Reading package lists...
> | E: The repository 'file:/isar-apt isar Release' is not signed.
> | WARNING: exit code 100 from a shell command.
> | ERROR: Function failed: do_build (log file is located at 
> /home/builder/isar/build/tmp/work/debian-buster-amd64/buildchroot/temp/log.do_build.18489)
> 
> Have you whenever seen this?
> 
> Alex
> 
> 
> > Signed-off-by: Henning Schild <henning.schild@siemens.com>
> > ---
> >   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                 |  4 ++++
> >   meta-isar/conf/multiconfig/qemuamd64-buster.conf | 17
> > +++++++++++++++++ meta-isar/conf/multiconfig/qemuarm-buster.conf
> > | 18 ++++++++++++++++++
> > meta-isar/conf/multiconfig/qemuarm64-buster.conf | 18
> > ++++++++++++++++++ meta-isar/conf/multiconfig/qemui386-buster.conf
> > | 17 +++++++++++++++++
> > scripts/ci_build.sh                              |  4 ++++
> > scripts/vm_smoke_test                            |  4 ++++ 10 files
> > changed, 93 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/qemuarm64-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 058f7bd..2bd3793 100644
> > --- a/doc/user_manual.md
> > +++ b/doc/user_manual.md
> > @@ -58,7 +58,7 @@ git
> >   grub-efi-amd64-bin          # wic
> > UEFI: /usr/lib/grub/x86_64-efi/moddep.lst
> > grub-efi-ia32-bin           # wic
> > UEFI: /usr/lib/grub/i386-efi/moddep.lst mtools
> > # wic FAT: mcopy -debootstrap +debootstrap/jessie-backports# for
> > debian >= "buster" parted
> >   python
> >   python3                     # wic
> > 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 39875c1..1ef86d7 100644
> > --- a/meta-isar/conf/local.conf.sample +++
> > b/meta-isar/conf/local.conf.sample @@ -41,11 +41,15 @@
> > BBMULTICONFIG = " \ qemuarm-wheezy \
> >       qemuarm-jessie \
> >       qemuarm-stretch \
> > +    qemuarm-buster \
> >       qemuarm64-stretch \
> > +    qemuarm64-buster \
> >       qemui386-jessie \
> >       qemui386-stretch \
> > +    qemui386-buster \
> >       qemuamd64-jessie \
> >       qemuamd64-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..32b49d3
> > --- /dev/null
> > +++ b/meta-isar/conf/multiconfig/qemuamd64-buster.conf
> > @@ -0,0 +1,17 @@
> > +# This software is a part of ISAR.
> > +
> > +MACHINE ?= "qemuamd64"
> > +
> > +DISTRO ?= "debian-buster"
> > +DISTRO_ARCH ?= "amd64"
> > +
> > +KERNEL_NAME ?= "amd64"
> > +
> > +IMAGE_PREINSTALL += "init"
> > +
> > +ROOTFS_DEV ?= "sda"
> > +
> > +QEMU_ARCH ?= "x86_64"
> > +QEMU_MACHINE ?= "pc"
> > +QEMU_CPU ?= ""
> > +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> > 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/qemuarm64-buster.conf
> > b/meta-isar/conf/multiconfig/qemuarm64-buster.conf new file mode
> > 100644 index 0000000..55ed421 --- /dev/null +++
> > b/meta-isar/conf/multiconfig/qemuarm64-buster.conf @@ -0,0 +1,18 @@
> > +# This software is a part of ISAR.
> > +
> > +MACHINE ?= "qemuarm64"
> > +
> > +DISTRO ?= "debian-buster"
> > +DISTRO_ARCH ?= "arm64"
> > +
> > +KERNEL_NAME ?= "arm64"
> > +
> > +IMAGE_PREINSTALL += "init"
> > +
> > +ROOTFS_DEV ?= "vda"
> > +
> > +QEMU_ARCH ?= "aarch64"
> > +QEMU_MACHINE ?= "virt"
> > +QEMU_CPU ?= "cortex-a57"
> > +# 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..5442c8d --- /dev/null +++
> > b/meta-isar/conf/multiconfig/qemui386-buster.conf @@ -0,0 +1,17 @@
> > +# This software is a part of ISAR.
> > +
> > +MACHINE ?= "qemui386"
> > +
> > +DISTRO ?= "debian-buster"
> > +DISTRO_ARCH ?= "i386"
> > +
> > +KERNEL_NAME ?= "686-pae"
> > +
> > +IMAGE_PREINSTALL += "init"
> > +
> > +ROOTFS_DEV ?= "sda"
> > +
> > +QEMU_ARCH ?= "i386"
> > +QEMU_MACHINE ?= "pc"
> > +QEMU_CPU ?= ""
> > +QEMU_ROOTFS_DEV ?= "-hda ##ROOTFS_IMAGE##"
> > diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> > index e941f8c..c977ec7 100755
> > --- a/scripts/ci_build.sh
> > +++ b/scripts/ci_build.sh
> > @@ -26,9 +26,13 @@ bitbake -v \
> >           multiconfig:qemuarm-wheezy:isar-image-base \
> >           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:qemuarm64-buster: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
> > diff --git a/scripts/vm_smoke_test b/scripts/vm_smoke_test
> > index fde0e05..555541b 100755
> > --- a/scripts/vm_smoke_test
> > +++ b/scripts/vm_smoke_test
> > @@ -71,16 +71,20 @@ run_test () {
> >   run_test arm wheezy
> >   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
> > +run_test arm64 buster
> >   
> >   exit $RET
> >   
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-24 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-18 14:46 [PATCH] conf: Add support for new debian distro "buster" Henning Schild
2018-04-18 14:48 ` Henning Schild
2018-05-10 15:52 ` Alexander Smirnov
2018-05-24 14:48   ` Henning Schild

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox