Date   

cip/linux-4.4.y-cip baseline: 99 runs, 12 regressions (v4.4.274-cip59) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip baseline: 99 runs, 12 regressions (v4.4.274-cip59)

Regressions Summary
-------------------

platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-baylibre | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv2 | arm | lab-baylibre | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1
qemu_arm-virt-gicv2 | arm | lab-broonie | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv2 | arm | lab-broonie | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1
qemu_arm-virt-gicv2 | arm | lab-cip | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv2 | arm | lab-cip | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1
qemu_arm-virt-gicv3 | arm | lab-baylibre | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv3 | arm | lab-baylibre | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1
qemu_arm-virt-gicv3 | arm | lab-broonie | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv3 | arm | lab-broonie | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1
qemu_arm-virt-gicv3 | arm | lab-cip | gcc-8 | multi_v7_defconfig | 1
qemu_arm-virt-gicv3 | arm | lab-cip | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.274-cip59/plan/baseline/

Test: baseline
Tree: cip
Branch: linux-4.4.y-cip
Describe: v4.4.274-cip59
URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
SHA: c55ad377e5140d299ac5f6e436642e9734534748


Test Regressions
----------------


platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-baylibre | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c6b481fff6f4471179d7

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c6b481fff6f4471179d8
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-baylibre | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c729368984dbd011797c

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c729368984dbd011797d
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-broonie | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c731368984dbd0117995

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c731368984dbd0117996
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-broonie | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c7d22d80eb199311797b

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c7d22d80eb199311797c
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-cip | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c69c81fff6f447117975

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c69c81fff6f447117976
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv2 | arm | lab-cip | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c714368984dbd011796a

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv2.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c714368984dbd011796b
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-baylibre | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c6b38ad3c031e7117976

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c6b38ad3c031e7117977
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-baylibre | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c72b228dc7d11d11798c

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-baylibre/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c72b228dc7d11d11798d
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-broonie | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c6cd6f30e67add1179d9

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c6cd6f30e67add1179da
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-broonie | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c84b591efea8e4117a7c

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-broonie/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c84b591efea8e4117a7d
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-cip | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c6c181fff6f4471179e9

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c6c181fff6f4471179ea
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)



platform | arch | lab | compiler | defconfig | regressions
--------------------+------+--------------+----------+------------------------------+------------
qemu_arm-virt-gicv3 | arm | lab-cip | gcc-8 | multi_v7_defc...CONFIG_SMP=n | 1

Details: https://kernelci.org/test/plan/id/60e7c74d368984dbd01179cb

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig+CONFIG_SMP=n
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv3.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig+CONFIG_SMP=n/gcc-8/lab-cip/baseline-qemu_arm-virt-gicv3.html
Rootfs: http://storage.kernelci.org/images/rootfs/buildroot/kci-2020.05-6-g8983f3b738df/armel/baseline/rootfs.cpio.gz


* baseline.login: https://kernelci.org/test/case/id/60e7c74d368984dbd01179cc
failing since 225 days (last pass: v4.4.243-cip51, first fail: v4.4.243-cip51-10-gd7466739b72e9)


cip/linux-4.4.y-cip baseline-nfs: 22 runs, 2 regressions (v4.4.274-cip59) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip baseline-nfs: 22 runs, 2 regressions (v4.4.274-cip59)

Regressions Summary
-------------------

platform | arch | lab | compiler | defconfig | regressions
--------------------------+------+-----------------+----------+--------------------+------------
dove-cubox | arm | lab-pengutronix | gcc-8 | multi_v7_defconfig | 1
sun7i-a20-olinuxino-lime2 | arm | lab-baylibre | gcc-8 | sunxi_defconfig | 1

Details: https://kernelci.org/test/job/cip/branch/linux-4.4.y-cip/kernel/v4.4.274-cip59/plan/baseline-nfs/

Test: baseline-nfs
Tree: cip
Branch: linux-4.4.y-cip
Describe: v4.4.274-cip59
URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
SHA: c55ad377e5140d299ac5f6e436642e9734534748


Test Regressions
----------------


platform | arch | lab | compiler | defconfig | regressions
--------------------------+------+-----------------+----------+--------------------+------------
dove-cubox | arm | lab-pengutronix | gcc-8 | multi_v7_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7c7085eb2b7bb89117981

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: multi_v7_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-pengutronix/baseline-nfs-dove-cubox.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/multi_v7_defconfig/gcc-8/lab-pengutronix/baseline-nfs-dove-cubox.html
Rootfs: http://storage.kernelci.org/images/rootfs/debian/buster/20210520.0/armhf/initrd.cpio.gz


* baseline-nfs.login: https://kernelci.org/test/case/id/60e7c7085eb2b7bb89117982
failing since 52 days (last pass: v4.4.266-cip56, first fail: v4.4.268-cip57)



platform | arch | lab | compiler | defconfig | regressions
--------------------------+------+-----------------+----------+--------------------+------------
sun7i-a20-olinuxino-lime2 | arm | lab-baylibre | gcc-8 | sunxi_defconfig | 1

Details: https://kernelci.org/test/plan/id/60e7d223a238755ead117985

Results: 0 PASS, 1 FAIL, 0 SKIP
Full config: sunxi_defconfig
Compiler: gcc-8 (arm-linux-gnueabihf-gcc (Debian 8.3.0-2) 8.3.0)
Plain log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/sunxi_defconfig/gcc-8/lab-baylibre/baseline-nfs-sun7i-a20-olinuxino-lime2.txt
HTML log: https://storage.kernelci.org//cip/linux-4.4.y-cip/v4.4.274-cip59/arm/sunxi_defconfig/gcc-8/lab-baylibre/baseline-nfs-sun7i-a20-olinuxino-lime2.html
Rootfs: http://storage.kernelci.org/images/rootfs/debian/buster/20210520.0/armhf/initrd.cpio.gz


* baseline-nfs.login: https://kernelci.org/test/case/id/60e7d223a238755ead117986
failing since 52 days (last pass: v4.4.262-cip55, first fail: v4.4.268-cip57)


cip/linux-4.4.y-cip build: 117 builds: 0 failed, 117 passed, 11 warnings (v4.4.274-cip59) #kernelci

kernelci.org bot <bot@...>
 

cip/linux-4.4.y-cip build: 117 builds: 0 failed, 117 passed, 11 warnings (v4.4.274-cip59)

Full Build Summary: https://kernelci.org/build/cip/branch/linux-4.4.y-cip/kernel/v4.4.274-cip59/

Tree: cip
Branch: linux-4.4.y-cip
Git Describe: v4.4.274-cip59
Git Commit: c55ad377e5140d299ac5f6e436642e9734534748
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
Built: 3 unique architectures

Warnings Detected:

arm:
allmodconfig (gcc-8): 5 warnings
clps711x_defconfig (gcc-8): 1 warning
davinci_all_defconfig (gcc-8): 1 warning
lpc32xx_defconfig (gcc-8): 1 warning
multi_v7_defconfig+CONFIG_SMP=n (gcc-8): 1 warning
mxs_defconfig (gcc-8): 1 warning
omap2plus_defconfig (gcc-8): 1 warning

i386:

x86_64:


Warnings summary:

2 drivers/cpufreq/ti-cpufreq.c:250:24: warning: passing argument 1 of ‘PTR_ERR_OR_ZERO’ makes pointer from integer without a cast [-Wint-conversion]
1 include/linux/cpumask.h:565:26: warning: passing argument 2 of ‘dev_pm_opp_set_sharing_cpus’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1 drivers/scsi/nsp32.c:609:57: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
1 drivers/scsi/nsp32.c:609:27: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
1 arch/arm/mach-mxs/mach-mxs.c:285:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-lpc32xx/phy3250.c:215:36: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-davinci/da8xx-dt.c:23:34: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 arch/arm/mach-clps711x/board-autcpu12.c:163:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
1 /tmp/ccxQTWjv.s:18225: Warning: using r15 results in unpredictable behaviour
1 /tmp/ccxQTWjv.s:18153: Warning: using r15 results in unpredictable behaviour

================================================================================

Detailed per-defconfig build reports:

--------------------------------------------------------------------------------
acs5k_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
acs5k_tiny_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allmodconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches

Warnings:
drivers/cpufreq/ti-cpufreq.c:250:24: warning: passing argument 1 of ‘PTR_ERR_OR_ZERO’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/ccxQTWjv.s:18153: Warning: using r15 results in unpredictable behaviour
/tmp/ccxQTWjv.s:18225: Warning: using r15 results in unpredictable behaviour
drivers/scsi/nsp32.c:609:27: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
drivers/scsi/nsp32.c:609:57: warning: bitwise comparison always evaluates to false [-Wtautological-compare]

--------------------------------------------------------------------------------
allnoconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
allnoconfig (i386, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
bcm_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
clps711x_defconfig (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
arch/arm/mach-clps711x/board-autcpu12.c:163:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]

--------------------------------------------------------------------------------
cm_x2xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
arch/arm/mach-davinci/da8xx-dt.c:23:34: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]

--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
em_x270_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
hisi_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
iop13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
iop33x_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
ks8695_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lpc18xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
arch/arm/mach-lpc32xx/phy3250.c:215:36: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]

--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_CPU_BIG_ENDIAN=y (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_EFI=y+CONFIG_ARM_LPAE=y (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
multi_v7_defconfig+CONFIG_SMP=n (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
include/linux/cpumask.h:565:26: warning: passing argument 2 of ‘dev_pm_opp_set_sharing_cpus’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]

--------------------------------------------------------------------------------
mv78xx0_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
arch/arm/mach-mxs/mach-mxs.c:285:26: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]

--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
netx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nuc910_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nuc950_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
nuc960_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-8) — PASS, 0 errors, 1 warning, 0 section mismatches

Warnings:
drivers/cpufreq/ti-cpufreq.c:250:24: warning: passing argument 1 of ‘PTR_ERR_OR_ZERO’ makes pointer from integer without a cast [-Wint-conversion]

--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
raumfeld_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
realview-smp_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
stm32_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vf610m4_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
x86_64_defconfig+x86-chromebook (x86_64, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

--------------------------------------------------------------------------------
zx_defconfig (arm, gcc-8) — PASS, 0 errors, 0 warnings, 0 section mismatches

---
For more info write to <info@...>


Re: [isar-cip-core][PATCH] initramfs-config: Remove dependency to patch

Jan Kiszka
 

On 08.07.21 10:32, Q. Gylstorff wrote:
From: Quirin Gylstorff <quirin.gylstorff@...>

The solution proposed by the patch[1] is not longer necessary.
Remove the patch and rework initramfs-config.

[1]: isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
...-support-Generate-a-custom-initramfs.patch | 207 ------------------
kas-cip.yml | 4 -
.../initramfs-config/files/postinst | 6 +
.../initramfs-config/files/postinst.ext | 3 -
.../initramfs-abrootfs-secureboot_0.1.bb | 9 +-
5 files changed, 9 insertions(+), 220 deletions(-)
delete mode 100644 isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
create mode 100644 recipes-support/initramfs-config/files/postinst
delete mode 100644 recipes-support/initramfs-config/files/postinst.ext

diff --git a/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch b/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
deleted file mode 100644
index f8fb28e..0000000
--- a/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-From 7c85e2e363fd39e60bf5041d02e14e8bd62c1a68 Mon Sep 17 00:00:00 2001
-From: Quirin Gylstorff <quirin.gylstorff@...>
-Date: Tue, 24 Mar 2020 17:58:08 +0100
-Subject: [PATCH v7 1/3] meta/support: Generate a custom initramfs
-
-This package sets the Parameters for mkinitramfs/update-intramfs
-before it regenerates the initrd.img of debian with a modified version.
-
-Use cases are the remove unnecessary kernel modules to reduce the
-size of the initrd by using the parameters:
-```
-INITRAMFS_MODULES = "list"
-INITRAMFS_MODULE_LIST += "ext4"
-```
-
-Set the boot root during the initrd generation by setting `INITRAMFS_ROOT`.
-
-see also man pages of mkinitramfs and initramfs.conf.
-
-Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
----
- .../initramfs-config/initramfs-config_0.1.bb | 6 +++
- .../initramfs-config/files/control.tmpl | 12 +++++
- .../initramfs-config/files/postinst.tmpl | 50 +++++++++++++++++++
- .../initramfs-config/files/postrm.tmpl | 41 +++++++++++++++
- .../initramfs-config/initramfs-config.inc | 32 ++++++++++++
- 5 files changed, 141 insertions(+)
- create mode 100644 meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
- create mode 100644 meta/recipes-support/initramfs-config/files/control.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/files/postinst.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/files/postrm.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/initramfs-config.inc
-
-diff --git a/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb b/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
-new file mode 100644
-index 0000000..c951e8a
---- /dev/null
-+++ b/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
-@@ -0,0 +1,6 @@
-+#
-+# Copyright (C) Siemens AG, 2020
-+#
-+# SPDX-License-Identifier: MIT
-+
-+require recipes-support/initramfs-config/initramfs-config.inc
-diff --git a/meta/recipes-support/initramfs-config/files/control.tmpl b/meta/recipes-support/initramfs-config/files/control.tmpl
-new file mode 100644
-index 0000000..66984eb
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/control.tmpl
-@@ -0,0 +1,12 @@
-+Source: ${PN}
-+Section: misc
-+Priority: optional
-+Standards-Version: 3.9.6
-+Maintainer: isar-users <isar-users@...>
-+Build-Depends: debhelper (>= 9)
-+
-+
-+Package: ${PN}
-+Architecture: any
-+Depends: ${shlibs:Depends}, ${misc:Depends}, initramfs-tools-core, ${DEBIAN_DEPENDS}
-+Description: Configuration files for a custom initramfs
-diff --git a/meta/recipes-support/initramfs-config/files/postinst.tmpl b/meta/recipes-support/initramfs-config/files/postinst.tmpl
-new file mode 100644
-index 0000000..e523906
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/postinst.tmpl
-@@ -0,0 +1,50 @@
-+#!/bin/sh
-+# postinst script for initramfs-config
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+case "$1" in
-+ configure)
-+ INITRAMFS_CONF=/etc/initramfs-tools/initramfs.conf
-+ if [ -f ${INITRAMFS_CONF} ]; then
-+ sed -i -E 's/(^MODULES=).*/\1${INITRAMFS_MODULES}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^BUSYBOX=).*/\1${INITRAMFS_BUSYBOX}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^COMPRESS=).*/\1${INITRAMFS_COMPRESS}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^KEYMAP=).*/\1${INITRAMFS_KEYMAP}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^DEVICE=).*/\1${INITRAMFS_NET_DEVICE}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^NFSROOT=).*/\1${INITRAMFS_NFSROOT}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^RUNSIZE=).*/\1${INITRAMFS_RUNSIZE}/' ${INITRAMFS_CONF}
-+ if grep -Fxq "ROOT=" "${INITRAMFS_CONF}"; then
-+ sed -i -E 's/(^ROOT=).*/\1${INITRAMFS_ROOT}/' ${INITRAMFS_CONF}
-+ else
-+ sed -i -E "\$aROOT=${INITRAMFS_ROOT}" ${INITRAMFS_CONF}
-+ fi
-+ fi
-+
-+ MODULES_LIST_FILE=/etc/initramfs-tools/modules
-+ if [ -f ${MODULES_LIST_FILE} ]; then
-+ for modname in ${INITRAMFS_MODULE_LIST}; do
-+ if ! grep -Fxq "$modname" "${MODULES_LIST_FILE}"; then
-+ echo "$modname" >> "${MODULES_LIST_FILE}"
-+ fi
-+ done
-+ fi
-+
-+ update-initramfs -v -u
-+
-+ ;;
-+ abort-upgrade|abort-remove|abort-deconfigure)
-+ ;;
-+
-+ *)
-+ echo "postinst called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+#DEBHELPER#
-+
-+exit 0
-diff --git a/meta/recipes-support/initramfs-config/files/postrm.tmpl b/meta/recipes-support/initramfs-config/files/postrm.tmpl
-new file mode 100644
-index 0000000..115d9b6
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/postrm.tmpl
-@@ -0,0 +1,41 @@
-+#!/bin/sh
-+# postrm script for initramfs-config
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+case "$1" in
-+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-+ # back to the debian defaults
-+ INITRAMFS_CONF=/etc/initramfs-tools/initramfs.conf
-+ sed -i -E 's/(^MODULES=).*/\1most/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^BUSYBOX=).*/\1auto/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^COMPRESS=).*/\1gzip/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^KEYMAP=).*/\1n/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^DEVICE=).*/\1/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^NFSROOT=).*/\1auto/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^RUNSIZE=).*/\110%/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^ROOT=).*//' ${INITRAMFS_CONF}
-+
-+ # remove the added modules
-+ MODULES_LIST_FILE=/etc/initramfs-tools/modules
-+ for modname in ${INITRAMFS_MODULE_LIST}; do
-+ sed -i -E 's/$modname//'
-+ done
-+
-+ update-initramfs -v -u
-+ ;;
-+
-+ *)
-+ echo "postrm called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
-diff --git a/meta/recipes-support/initramfs-config/initramfs-config.inc b/meta/recipes-support/initramfs-config/initramfs-config.inc
-new file mode 100644
-index 0000000..16049a9
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/initramfs-config.inc
-@@ -0,0 +1,32 @@
-+# This software is a part of ISAR.
-+# Copyright (C) 2020 Siemens AG
-+#
-+# SPDX-License-Identifier: MIT
-+inherit dpkg-raw
-+inherit template
-+DESCRIPTION = "Recipe to set the initramfs configuration and generate a new ramfs"
-+
-+FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:"
-+
-+SRC_URI = "file://postinst.tmpl \
-+ file://postrm.tmpl \
-+ file://control.tmpl \
-+ "
-+
-+INITRAMFS_MODULES ?= "most"
-+INITRAMFS_BUSYBOX ?= "auto"
-+INITRAMFS_COMPRESS ?= "gzip"
-+INITRAMFS_KEYMAP ?= "n"
-+INITRAMFS_NET_DEVICE ?= ""
-+INITRAMFS_NFSROOT ?= "auto"
-+INITRAMFS_RUNSIZE ?= "10%"
-+INITRAMFS_ROOT ?= ""
-+INITRAMFS_MODULE_LIST ?= ""
-+CREATE_NEW_INITRAMFS ?= "n"
-+KERNEL_PACKAGE = "${@ ("linux-image-" + d.getVar("KERNEL_NAME", True)) if d.getVar("KERNEL_NAME", True) else ""}"
-+DEBIAN_DEPENDS += ", ${KERNEL_PACKAGE}"
-+TEMPLATE_FILES = "postinst.tmpl control.tmpl postrm.tmpl"
-+TEMPLATE_VARS += "INITRAMFS_MODULES INITRAMFS_BUSYBOX INITRAMFS_COMPRESS \
-+ INITRAMFS_KEYMAP INITRAMFS_NET_DEVICE INITRAMFS_NFSROOT \
-+ INITRAMFS_RUNSIZE INITRAMFS_ROOT INITRAMFS_MODULE_LIST \
-+ CREATE_NEW_INITRAMFS DEBIAN_DEPENDS PN"
---
-2.20.1
-
diff --git a/kas-cip.yml b/kas-cip.yml
index 8fb9004..8522957 100644
--- a/kas-cip.yml
+++ b/kas-cip.yml
@@ -25,10 +25,6 @@ repos:
refspec: 03124cca669f50b682336a0bdf4ede5a4238e144
layers:
meta:
- patches:
- 02-initramfs:
- path: isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
- repo: cip-core

bblayers_conf_header:
standard: |
diff --git a/recipes-support/initramfs-config/files/postinst b/recipes-support/initramfs-config/files/postinst
new file mode 100644
index 0000000..2d4256d
--- /dev/null
+++ b/recipes-support/initramfs-config/files/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# patch local script
+patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/secureboot/secure-boot-debian-local.patch
+
+update-initramfs -v -u
diff --git a/recipes-support/initramfs-config/files/postinst.ext b/recipes-support/initramfs-config/files/postinst.ext
deleted file mode 100644
index cdafa74..0000000
--- a/recipes-support/initramfs-config/files/postinst.ext
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -d /usr/share/secureboot ]; then
- patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/secureboot/secure-boot-debian-local.patch
-fi
diff --git a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
index f84f76f..4b257fa 100644
--- a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
+++ b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
@@ -8,24 +8,21 @@
#
# SPDX-License-Identifier: MIT

-require recipes-support/initramfs-config/initramfs-config.inc
+
+inherit dpkg-raw

DEBIAN_DEPENDS += ", busybox, patch"

-SRC_URI += "file://postinst.ext \
+SRC_URI += "file://postinst \
file://initramfs.lsblk.hook \
file://initramfs.image_uuid.hook \
file://secure-boot-debian-local-patch"

-INITRAMFS_BUSYBOX = "y"
-
do_install() {
# add patch for local to /usr/share/secure boot
TARGET=${D}/usr/share/secureboot
install -m 0755 -d ${TARGET}
install -m 0644 ${WORKDIR}/secure-boot-debian-local-patch ${TARGET}/secure-boot-debian-local.patch
- # patch postinst
- sed -i -e '/configure)/r ${WORKDIR}/postinst.ext' ${WORKDIR}/postinst

# add hooks for secure boot
HOOKS=${D}/etc/initramfs-tools/hooks
Thanks, applied to next.

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


[isar-cip-core][PATCH] initramfs-config: Remove dependency to patch

Quirin Gylstorff
 

From: Quirin Gylstorff <quirin.gylstorff@...>

The solution proposed by the patch[1] is not longer necessary.
Remove the patch and rework initramfs-config.

[1]: isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
---
...-support-Generate-a-custom-initramfs.patch | 207 ------------------
kas-cip.yml | 4 -
.../initramfs-config/files/postinst | 6 +
.../initramfs-config/files/postinst.ext | 3 -
.../initramfs-abrootfs-secureboot_0.1.bb | 9 +-
5 files changed, 9 insertions(+), 220 deletions(-)
delete mode 100644 isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
create mode 100644 recipes-support/initramfs-config/files/postinst
delete mode 100644 recipes-support/initramfs-config/files/postinst.ext

diff --git a/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch b/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
deleted file mode 100644
index f8fb28e..0000000
--- a/isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
+++ /dev/null
@@ -1,207 +0,0 @@
-From 7c85e2e363fd39e60bf5041d02e14e8bd62c1a68 Mon Sep 17 00:00:00 2001
-From: Quirin Gylstorff <quirin.gylstorff@...>
-Date: Tue, 24 Mar 2020 17:58:08 +0100
-Subject: [PATCH v7 1/3] meta/support: Generate a custom initramfs
-
-This package sets the Parameters for mkinitramfs/update-intramfs
-before it regenerates the initrd.img of debian with a modified version.
-
-Use cases are the remove unnecessary kernel modules to reduce the
-size of the initrd by using the parameters:
-```
-INITRAMFS_MODULES = "list"
-INITRAMFS_MODULE_LIST += "ext4"
-```
-
-Set the boot root during the initrd generation by setting `INITRAMFS_ROOT`.
-
-see also man pages of mkinitramfs and initramfs.conf.
-
-Signed-off-by: Quirin Gylstorff <quirin.gylstorff@...>
----
- .../initramfs-config/initramfs-config_0.1.bb | 6 +++
- .../initramfs-config/files/control.tmpl | 12 +++++
- .../initramfs-config/files/postinst.tmpl | 50 +++++++++++++++++++
- .../initramfs-config/files/postrm.tmpl | 41 +++++++++++++++
- .../initramfs-config/initramfs-config.inc | 32 ++++++++++++
- 5 files changed, 141 insertions(+)
- create mode 100644 meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
- create mode 100644 meta/recipes-support/initramfs-config/files/control.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/files/postinst.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/files/postrm.tmpl
- create mode 100644 meta/recipes-support/initramfs-config/initramfs-config.inc
-
-diff --git a/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb b/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
-new file mode 100644
-index 0000000..c951e8a
---- /dev/null
-+++ b/meta-isar/recipes-support/initramfs-config/initramfs-config_0.1.bb
-@@ -0,0 +1,6 @@
-+#
-+# Copyright (C) Siemens AG, 2020
-+#
-+# SPDX-License-Identifier: MIT
-+
-+require recipes-support/initramfs-config/initramfs-config.inc
-diff --git a/meta/recipes-support/initramfs-config/files/control.tmpl b/meta/recipes-support/initramfs-config/files/control.tmpl
-new file mode 100644
-index 0000000..66984eb
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/control.tmpl
-@@ -0,0 +1,12 @@
-+Source: ${PN}
-+Section: misc
-+Priority: optional
-+Standards-Version: 3.9.6
-+Maintainer: isar-users <isar-users@...>
-+Build-Depends: debhelper (>= 9)
-+
-+
-+Package: ${PN}
-+Architecture: any
-+Depends: ${shlibs:Depends}, ${misc:Depends}, initramfs-tools-core, ${DEBIAN_DEPENDS}
-+Description: Configuration files for a custom initramfs
-diff --git a/meta/recipes-support/initramfs-config/files/postinst.tmpl b/meta/recipes-support/initramfs-config/files/postinst.tmpl
-new file mode 100644
-index 0000000..e523906
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/postinst.tmpl
-@@ -0,0 +1,50 @@
-+#!/bin/sh
-+# postinst script for initramfs-config
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+case "$1" in
-+ configure)
-+ INITRAMFS_CONF=/etc/initramfs-tools/initramfs.conf
-+ if [ -f ${INITRAMFS_CONF} ]; then
-+ sed -i -E 's/(^MODULES=).*/\1${INITRAMFS_MODULES}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^BUSYBOX=).*/\1${INITRAMFS_BUSYBOX}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^COMPRESS=).*/\1${INITRAMFS_COMPRESS}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^KEYMAP=).*/\1${INITRAMFS_KEYMAP}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^DEVICE=).*/\1${INITRAMFS_NET_DEVICE}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^NFSROOT=).*/\1${INITRAMFS_NFSROOT}/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^RUNSIZE=).*/\1${INITRAMFS_RUNSIZE}/' ${INITRAMFS_CONF}
-+ if grep -Fxq "ROOT=" "${INITRAMFS_CONF}"; then
-+ sed -i -E 's/(^ROOT=).*/\1${INITRAMFS_ROOT}/' ${INITRAMFS_CONF}
-+ else
-+ sed -i -E "\$aROOT=${INITRAMFS_ROOT}" ${INITRAMFS_CONF}
-+ fi
-+ fi
-+
-+ MODULES_LIST_FILE=/etc/initramfs-tools/modules
-+ if [ -f ${MODULES_LIST_FILE} ]; then
-+ for modname in ${INITRAMFS_MODULE_LIST}; do
-+ if ! grep -Fxq "$modname" "${MODULES_LIST_FILE}"; then
-+ echo "$modname" >> "${MODULES_LIST_FILE}"
-+ fi
-+ done
-+ fi
-+
-+ update-initramfs -v -u
-+
-+ ;;
-+ abort-upgrade|abort-remove|abort-deconfigure)
-+ ;;
-+
-+ *)
-+ echo "postinst called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+#DEBHELPER#
-+
-+exit 0
-diff --git a/meta/recipes-support/initramfs-config/files/postrm.tmpl b/meta/recipes-support/initramfs-config/files/postrm.tmpl
-new file mode 100644
-index 0000000..115d9b6
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/files/postrm.tmpl
-@@ -0,0 +1,41 @@
-+#!/bin/sh
-+# postrm script for initramfs-config
-+#
-+# see: dh_installdeb(1)
-+
-+set -e
-+
-+case "$1" in
-+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-+ # back to the debian defaults
-+ INITRAMFS_CONF=/etc/initramfs-tools/initramfs.conf
-+ sed -i -E 's/(^MODULES=).*/\1most/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^BUSYBOX=).*/\1auto/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^COMPRESS=).*/\1gzip/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^KEYMAP=).*/\1n/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^DEVICE=).*/\1/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^NFSROOT=).*/\1auto/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^RUNSIZE=).*/\110%/' ${INITRAMFS_CONF}
-+ sed -i -E 's/(^ROOT=).*//' ${INITRAMFS_CONF}
-+
-+ # remove the added modules
-+ MODULES_LIST_FILE=/etc/initramfs-tools/modules
-+ for modname in ${INITRAMFS_MODULE_LIST}; do
-+ sed -i -E 's/$modname//'
-+ done
-+
-+ update-initramfs -v -u
-+ ;;
-+
-+ *)
-+ echo "postrm called with unknown argument \`$1'" >&2
-+ exit 1
-+ ;;
-+esac
-+
-+# dh_installdeb will replace this with shell code automatically
-+# generated by other debhelper scripts.
-+
-+#DEBHELPER#
-+
-+exit 0
-diff --git a/meta/recipes-support/initramfs-config/initramfs-config.inc b/meta/recipes-support/initramfs-config/initramfs-config.inc
-new file mode 100644
-index 0000000..16049a9
---- /dev/null
-+++ b/meta/recipes-support/initramfs-config/initramfs-config.inc
-@@ -0,0 +1,32 @@
-+# This software is a part of ISAR.
-+# Copyright (C) 2020 Siemens AG
-+#
-+# SPDX-License-Identifier: MIT
-+inherit dpkg-raw
-+inherit template
-+DESCRIPTION = "Recipe to set the initramfs configuration and generate a new ramfs"
-+
-+FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:"
-+
-+SRC_URI = "file://postinst.tmpl \
-+ file://postrm.tmpl \
-+ file://control.tmpl \
-+ "
-+
-+INITRAMFS_MODULES ?= "most"
-+INITRAMFS_BUSYBOX ?= "auto"
-+INITRAMFS_COMPRESS ?= "gzip"
-+INITRAMFS_KEYMAP ?= "n"
-+INITRAMFS_NET_DEVICE ?= ""
-+INITRAMFS_NFSROOT ?= "auto"
-+INITRAMFS_RUNSIZE ?= "10%"
-+INITRAMFS_ROOT ?= ""
-+INITRAMFS_MODULE_LIST ?= ""
-+CREATE_NEW_INITRAMFS ?= "n"
-+KERNEL_PACKAGE = "${@ ("linux-image-" + d.getVar("KERNEL_NAME", True)) if d.getVar("KERNEL_NAME", True) else ""}"
-+DEBIAN_DEPENDS += ", ${KERNEL_PACKAGE}"
-+TEMPLATE_FILES = "postinst.tmpl control.tmpl postrm.tmpl"
-+TEMPLATE_VARS += "INITRAMFS_MODULES INITRAMFS_BUSYBOX INITRAMFS_COMPRESS \
-+ INITRAMFS_KEYMAP INITRAMFS_NET_DEVICE INITRAMFS_NFSROOT \
-+ INITRAMFS_RUNSIZE INITRAMFS_ROOT INITRAMFS_MODULE_LIST \
-+ CREATE_NEW_INITRAMFS DEBIAN_DEPENDS PN"
---
-2.20.1
-
diff --git a/kas-cip.yml b/kas-cip.yml
index 8fb9004..8522957 100644
--- a/kas-cip.yml
+++ b/kas-cip.yml
@@ -25,10 +25,6 @@ repos:
refspec: 03124cca669f50b682336a0bdf4ede5a4238e144
layers:
meta:
- patches:
- 02-initramfs:
- path: isar-patches/v7-0001-meta-support-Generate-a-custom-initramfs.patch
- repo: cip-core

bblayers_conf_header:
standard: |
diff --git a/recipes-support/initramfs-config/files/postinst b/recipes-support/initramfs-config/files/postinst
new file mode 100644
index 0000000..2d4256d
--- /dev/null
+++ b/recipes-support/initramfs-config/files/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# patch local script
+patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/secureboot/secure-boot-debian-local.patch
+
+update-initramfs -v -u
diff --git a/recipes-support/initramfs-config/files/postinst.ext b/recipes-support/initramfs-config/files/postinst.ext
deleted file mode 100644
index cdafa74..0000000
--- a/recipes-support/initramfs-config/files/postinst.ext
+++ /dev/null
@@ -1,3 +0,0 @@
-if [ -d /usr/share/secureboot ]; then
- patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/secureboot/secure-boot-debian-local.patch
-fi
diff --git a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
index f84f76f..4b257fa 100644
--- a/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
+++ b/recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
@@ -8,24 +8,21 @@
#
# SPDX-License-Identifier: MIT

-require recipes-support/initramfs-config/initramfs-config.inc
+
+inherit dpkg-raw

DEBIAN_DEPENDS += ", busybox, patch"

-SRC_URI += "file://postinst.ext \
+SRC_URI += "file://postinst \
file://initramfs.lsblk.hook \
file://initramfs.image_uuid.hook \
file://secure-boot-debian-local-patch"

-INITRAMFS_BUSYBOX = "y"
-
do_install() {
# add patch for local to /usr/share/secure boot
TARGET=${D}/usr/share/secureboot
install -m 0755 -d ${TARGET}
install -m 0644 ${WORKDIR}/secure-boot-debian-local-patch ${TARGET}/secure-boot-debian-local.patch
- # patch postinst
- sed -i -e '/configure)/r ${WORKDIR}/postinst.ext' ${WORKDIR}/postinst

# add hooks for secure boot
HOOKS=${D}/etc/initramfs-tools/hooks
--
2.20.1


New CVE entries this week

Masami Ichikawa
 

Hi!

These are the new issues this week:

* 2021/06/30

CVE-2020-28097 -- vgacon_scrolldelta out-of-bounds read

This commit removes software scrollback support. So,
CONFIG_VGACON_SOFT_SCROLLBACK option is removed from kernel.
Accoring to the cip-kernel-config repo, following configs set
CONFIG_VGACON_SOFT_SCROLLBACK option.

- 4.19.y-cip/x86/cip_qemu_defconfig
- 4.19.y-cip/x86/plathome_obsvx2.config
- 4.19.y-cip-rt/x86/siemens_i386-rt.config
- 4.4.y-cip/x86/cip_qemu_defconfig

This vulnerability affects before Linux 5.8.10 therefore Linux 5.10.y
series do not affect.

CVE-2020-36387 -- fs/io_uring.c has a use-after-free related to
io_async_task_func and ctx reference holding

This CVE affects before Linux 5.8.2. However io_uring was introduced
at Linux 5.1 so that CIP kernels aren't affected by this
vulnerability.

CVE-2021-29256.yml -- Mali GPU Kernel Driver elevates CPU RO pages to writable

Following GPU architectures are affected.

- Bifrost r16p0 through r29p0 before r30p0
- Valhall r19p0 through r29p0 before r30p0
- Midgard r28p0 through r30p0

CVE-2021-31615 -- InjectaBLE: Injecting malicious traffic into
established Bluetooth Low Energy connections

Unencrypted Bluetooth Low Energy baseband links in Bluetooth Core
Specifications 4.0 through 5.2 are affected.

* 2021/07/08

CVE-2021-35039 -- Without CONFIG_MODULE_SIG, verification that a
kernel module is signed, for loading via init_module, does not occur
for a module.sig_enforce=1 command-line argument.

This CVE affects v4.15 to v5.12, so v4.4 kernel doesn't affect.

Regards,

--
Masami Ichikawa
Cybertrust Japan Co., Ltd.

Email :masami.ichikawa@...
:masami.ichikawa@...


CIP IRC weekly meeting today on libera.chat

masashi.kudo@cybertrust.co.jp <masashi.kudo@...>
 

Hi all,

 

Kindly be reminded to attend the weekly meeting through IRC to discuss technical topics with CIP kernel today.

 

Please note that we already moved from Freenode to libera.chat, and our channel is the following:

              irc:irc.libera.chat:6667/cip

 

*Please note that the IRC meeting was rescheduled to UTC (GMT) 09:00 starting from the first week of Apr. according to TSC meeting*

https://www.timeanddate.com/worldclock/meetingdetails.html?year=2021&month=7&day=8&hour=9&min=0&sec=0&p1=224&p2=179&p3=136&p4=37&p5=241&p6=248

 

USWest USEast  UK         DE         TW        JP

02:00     05:00     10:00     11:00     17:00     18:00

 

 

Last meeting minutes:

https://irclogs.baserock.org/meetings/cip/2021/07/cip.2021-07-01-09.00.log.html

 

* Action item

  1. Combine root filesystem with kselftest binary - iwamatsu & alicef

  2. Do some experiment to lower burdens on CI - patersonc

  3. Update Testing table below with 5.10 info - patersonc

https://wiki.linuxfoundation.org/civilinfrastructureplatform/ciptesting/centalisedtesting/cioverview

 

 

* Kernel maintenance updates

* Kernel testing

* AOB

 

The meeting will take 30 min, although it can be extended to an hour if it makes sense and those involved in the topics can stay. Otherwise, the topic will be taken offline or in the next meeting.

 

Best regards,

--

M. Kudo

Cybertrust Japan Co., Ltd.


[isar-cip-core][PATCH 9/9] wic: Address y2038 warnings of latest Isar

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Set ext4 defaults that prevent generating y2038-affected filesystems.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
wic/bbb.wks | 2 +-
wic/simatic-ipc227e.wks | 2 +-
wic/swupdate-partition.inc | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/wic/bbb.wks b/wic/bbb.wks
index 12930a3..17b85f1 100644
--- a/wic/bbb.wks
+++ b/wic/bbb.wks
@@ -9,6 +9,6 @@
part --source rawcopy --sourceparams "file=/usr/lib/u-boot/am335x_boneblack/MLO" --no-table --align 128
part --source rawcopy --sourceparams "file=/usr/lib/u-boot/am335x_boneblack/u-boot.img" --no-table --align 384

-part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --label platform --align 1024 --active
+part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --active

bootloader --append "rootwait console=ttyO,115200"
diff --git a/wic/simatic-ipc227e.wks b/wic/simatic-ipc227e.wks
index 5d335a1..d0081f7 100644
--- a/wic/simatic-ipc227e.wks
+++ b/wic/simatic-ipc227e.wks
@@ -8,6 +8,6 @@

part /boot --source bootimg-efi-isar --sourceparams "loader=grub-efi" --ondisk sda --label efi --part-type EF00 --align 1024

-part / --source rootfs --ondisk sda --fstype ext4 --label platform --align 1024 --use-uuid
+part / --source rootfs --ondisk sda --fstype ext4 --mkfs-extraopts "-T default" --label platform --align 1024 --use-uuid

bootloader --ptable gpt --timeout 2 --append "console=ttyS0,115200"
diff --git a/wic/swupdate-partition.inc b/wic/swupdate-partition.inc
index 7bec9d7..6912542 100644
--- a/wic/swupdate-partition.inc
+++ b/wic/swupdate-partition.inc
@@ -1,2 +1,2 @@
-part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000001" --size 1000M --extra-space 128M --overhead-factor 1 --label systema --align 1024 --fstype=ext4
-part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000002" --size 1000M --extra-space 128M --overhead-factor 1 --label systemb --align 1024 --fstype=ext4
+part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000001" --size 1000M --extra-space 128M --overhead-factor 1 --label systema --align 1024 --fstype=ext4 --mkfs-extraopts "-T default"
+part --source rootfs --uuid "fedcba98-7654-3210-cafe-5e0710000002" --size 1000M --extra-space 128M --overhead-factor 1 --label systemb --align 1024 --fstype=ext4 --mkfs-extraopts "-T default"
--
2.26.2


[isar-cip-core][PATCH 8/9] linux-cip: Update to latest releases

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
...19.160-cip39-rt17.bb => linux-cip-rt_4.19.195-cip52-rt20.bb} | 2 +-
...4.4.244-cip51-rt32.bb => linux-cip-rt_4.4.262-cip55-rt34.bb} | 2 +-
...{linux-cip_4.19.165-cip41.bb => linux-cip_4.19.195-cip52.bb} | 2 +-
.../{linux-cip_4.4.249-cip53.bb => linux-cip_4.4.272-cip58.bb} | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
rename recipes-kernel/linux/{linux-cip-rt_4.19.160-cip39-rt17.bb => linux-cip-rt_4.19.195-cip52-rt20.bb} (68%)
rename recipes-kernel/linux/{linux-cip-rt_4.4.244-cip51-rt32.bb => linux-cip-rt_4.4.262-cip55-rt34.bb} (68%)
rename recipes-kernel/linux/{linux-cip_4.19.165-cip41.bb => linux-cip_4.19.195-cip52.bb} (68%)
rename recipes-kernel/linux/{linux-cip_4.4.249-cip53.bb => linux-cip_4.4.272-cip58.bb} (68%)

diff --git a/recipes-kernel/linux/linux-cip-rt_4.19.160-cip39-rt17.bb b/recipes-kernel/linux/linux-cip-rt_4.19.195-cip52-rt20.bb
similarity index 68%
rename from recipes-kernel/linux/linux-cip-rt_4.19.160-cip39-rt17.bb
rename to recipes-kernel/linux/linux-cip-rt_4.19.195-cip52-rt20.bb
index 3c0aea5..4c9a735 100644
--- a/recipes-kernel/linux/linux-cip-rt_4.19.160-cip39-rt17.bb
+++ b/recipes-kernel/linux/linux-cip-rt_4.19.195-cip52-rt20.bb
@@ -11,4 +11,4 @@

require linux-cip-rt-common.inc

-SRC_URI[sha256sum] = "c2e0f50670c298aed94c35628caf4ddf0eefc20d2f17e0a5f024bf4d99a38460"
+SRC_URI[sha256sum] = "fee95d77599f5a0321ae818f63bf595f5e3015e674f2f428503267b8471379fb"
diff --git a/recipes-kernel/linux/linux-cip-rt_4.4.244-cip51-rt32.bb b/recipes-kernel/linux/linux-cip-rt_4.4.262-cip55-rt34.bb
similarity index 68%
rename from recipes-kernel/linux/linux-cip-rt_4.4.244-cip51-rt32.bb
rename to recipes-kernel/linux/linux-cip-rt_4.4.262-cip55-rt34.bb
index 6679144..37f2018 100644
--- a/recipes-kernel/linux/linux-cip-rt_4.4.244-cip51-rt32.bb
+++ b/recipes-kernel/linux/linux-cip-rt_4.4.262-cip55-rt34.bb
@@ -11,4 +11,4 @@

require linux-cip-rt-common.inc

-SRC_URI[sha256sum] = "070dc2084d2a64c1c8d64382978ec01ed7875b012401d09f37428a9c8c52b9c3"
+SRC_URI[sha256sum] = "5f8c3fe1ec1cb82e12a6929945f29bfd7dd432a81ad9891cd7490e86d7d91d7a"
diff --git a/recipes-kernel/linux/linux-cip_4.19.165-cip41.bb b/recipes-kernel/linux/linux-cip_4.19.195-cip52.bb
similarity index 68%
rename from recipes-kernel/linux/linux-cip_4.19.165-cip41.bb
rename to recipes-kernel/linux/linux-cip_4.19.195-cip52.bb
index f19b4c3..05dc765 100644
--- a/recipes-kernel/linux/linux-cip_4.19.165-cip41.bb
+++ b/recipes-kernel/linux/linux-cip_4.19.195-cip52.bb
@@ -11,4 +11,4 @@

require linux-cip-common.inc

-SRC_URI[sha256sum] = "c1404d0a0a1ba71656c237d6d606714d34364814dc9a3998add93fe1749cb27d"
+SRC_URI[sha256sum] = "9eb4fb2a9b0065e3c8ac2a1045da7bc6377309dd7c01292985c3e978b8d61d8f"
diff --git a/recipes-kernel/linux/linux-cip_4.4.249-cip53.bb b/recipes-kernel/linux/linux-cip_4.4.272-cip58.bb
similarity index 68%
rename from recipes-kernel/linux/linux-cip_4.4.249-cip53.bb
rename to recipes-kernel/linux/linux-cip_4.4.272-cip58.bb
index 03b1a04..e883794 100644
--- a/recipes-kernel/linux/linux-cip_4.4.249-cip53.bb
+++ b/recipes-kernel/linux/linux-cip_4.4.272-cip58.bb
@@ -11,4 +11,4 @@

require linux-cip-common.inc

-SRC_URI[sha256sum] = "f8a6eba35572da13c81fec6c2d451db8f75b0ab4a5b6b80113523fbb035bf384"
+SRC_URI[sha256sum] = "e8300f194bd99866d5d1b467475270f2739aaf1e87536097465f636d37437ff9"
--
2.26.2


[isar-cip-core][PATCH 6/9] Add bullseye image option

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

This allows to build isar-cip-core for upcoming Debian 11. Default
remains Debian 10 for now.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
conf/distro/cip-core-bullseye.conf | 16 ++++++++++++++++
kas/opt/bullseye.yml | 15 +++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 conf/distro/cip-core-bullseye.conf
create mode 100644 kas/opt/bullseye.yml

diff --git a/conf/distro/cip-core-bullseye.conf b/conf/distro/cip-core-bullseye.conf
new file mode 100644
index 0000000..38014b4
--- /dev/null
+++ b/conf/distro/cip-core-bullseye.conf
@@ -0,0 +1,16 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2021
+#
+# Authors:
+# Jan Kiszka <jan.kiszka@...>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require conf/distro/debian-bullseye.conf
+require cip-core-common.inc
+
+PREFERRED_VERSION_linux-cip ?= "4.19.%"
+PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
diff --git a/kas/opt/bullseye.yml b/kas/opt/bullseye.yml
new file mode 100644
index 0000000..24a4c84
--- /dev/null
+++ b/kas/opt/bullseye.yml
@@ -0,0 +1,15 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2021
+#
+# Authors:
+# Jan Kiszka <jan.kiszka@...>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+ version: 10
+
+distro: cip-core-bullseye
--
2.26.2


[isar-cip-core][PATCH 7/9] ci: Add bullseye targets

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Build the physical targets for bullseye as well in order to test this
early.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
.gitlab-ci.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a9ae22..161916f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,7 @@ variables:
wic_targz: enable
targz: disable
dtb: none
+ bullseye: disable
deploy: enable

stages:
@@ -34,6 +35,7 @@ default:
- if [ "${extention}" != "base" ]; then base_yaml="${base_yaml}:kas/opt/${extention}.yml"; fi;
- if [ "${wic_targz}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/wic-targz-img.yml"; fi;
- if [ "${targz}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/targz-img.yml"; fi;
+ - if [ "${bullseye}" = "enable" ]; then base_yaml="${base_yaml}:kas/opt/bullseye.yml"; fi;
- kas build ${base_yaml}
- if [ "${deploy}" = "enable" ]; then scripts/deploy-cip-core.sh ${release} ${target} ${extention} ${dtb}; fi

@@ -154,6 +156,7 @@ build:qemu-arm-test:
wic_targz: disable
targz: enable

+# secure boot images
build:qemu-amd64-secure-boot:
extends:
- .build_base
@@ -186,3 +189,35 @@ build:qemu-amd64-secure-boot-swu:
wic_targz: disable
targz: disable
deploy: disable
+
+# bullseye images
+build:simatic-ipc227e-bullseye:
+ extends:
+ - .build_base
+ variables:
+ target: simatic-ipc227e
+ bullseye: enable
+
+build:bbb-bullseye:
+ extends:
+ - .build_base
+ variables:
+ target: bbb
+ dtb: am335x-boneblack.dtb
+ bullseye: enable
+
+build:iwg20m-bullseye:
+ extends:
+ - .build_base
+ variables:
+ target: iwg20m
+ dtb: r8a7743-iwg20d-q7-dbcm-ca.dtb
+ bullseye: enable
+
+build:hihope-rzg2m-bullseye:
+ extends:
+ - .build_base
+ variables:
+ target: hihope-rzg2m
+ dtb: renesas/r8a774a1-hihope-rzg2m-ex.dtb
+ bullseye: enable
--
2.26.2


[isar-cip-core][PATCH 5/9] conf: Drop no longer needed DISTRO_APT_SOURCES settings

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Isar changed its debian.conf files again to make this obsolete.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
conf/distro/cip-core-buster.conf | 2 --
conf/distro/cip-core-stretch.conf | 2 --
2 files changed, 4 deletions(-)

diff --git a/conf/distro/cip-core-buster.conf b/conf/distro/cip-core-buster.conf
index ef60d24..c5cb39c 100644
--- a/conf/distro/cip-core-buster.conf
+++ b/conf/distro/cip-core-buster.conf
@@ -12,7 +12,5 @@
require conf/distro/debian-buster.conf
require cip-core-common.inc

-DISTRO_APT_SOURCES = "conf/distro/debian-buster.list"
-
PREFERRED_VERSION_linux-cip ?= "4.19.%"
PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
diff --git a/conf/distro/cip-core-stretch.conf b/conf/distro/cip-core-stretch.conf
index ad185dd..31900fa 100644
--- a/conf/distro/cip-core-stretch.conf
+++ b/conf/distro/cip-core-stretch.conf
@@ -12,7 +12,5 @@
require conf/distro/debian-stretch.conf
require cip-core-common.inc

-DISTRO_APT_SOURCES = "conf/distro/debian-stretch.list"
-
PREFERRED_VERSION_linux-cip ?= "4.19.%"
PREFERRED_VERSION_linux-cip-rt ?= "4.19.%"
--
2.26.2


[isar-cip-core][PATCH 1/9] ci: Select large runner

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Needed since we now have multiple options, and the smaller one is not
even compatible with Isar.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9d9ced0..823160f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,6 +24,8 @@ default:

.build_base:
stage: build
+ tags:
+ - large
variables:
base_yaml: "kas-cip.yml:kas/board/${target}.yml"
script:
--
2.26.2


[isar-cip-core][PATCH 4/9] Update Isar revision

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Move to latest master. The only patch we have still applied, could be
replaced by an upstream mechanism now, but that can come separately.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
kas-cip.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kas-cip.yml b/kas-cip.yml
index 9514083..8fb9004 100644
--- a/kas-cip.yml
+++ b/kas-cip.yml
@@ -22,7 +22,7 @@ repos:

isar:
url: https://github.com/ilbers/isar.git
- refspec: cd1327a47a7b00df98eded582aaf5b1ebdd45628
+ refspec: 03124cca669f50b682336a0bdf4ede5a4238e144
layers:
meta:
patches:
--
2.26.2


[isar-cip-core][PATCH 3/9] swupdate: Do not add .ini file to SRC_URI if SWUPDATE_BOOTLOADER is not set

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

This prevents false warning during the parsing stage when swupdate is
not used, thus SWUPDATE_BOOTLOADER is not configured.

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
recipes-core/swupdate/swupdate.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/swupdate/swupdate.bb b/recipes-core/swupdate/swupdate.bb
index 4984a63..8bef9ab 100644
--- a/recipes-core/swupdate/swupdate.bb
+++ b/recipes-core/swupdate/swupdate.bb
@@ -30,7 +30,7 @@ inherit dpkg
inherit swupdate-config

SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG ?= "swupdate.handler.${SWUPDATE_BOOTLOADER}.ini"
-SRC_URI += "file://${SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG}"
+SRC_URI += "${@('file://' + d.getVar('SWUPDATE_ROUND_ROBIN_HANDLER_CONFIG')) if d.getVar('SWUPDATE_BOOTLOADER') else ''}"
KFEATURES += "luahandler"

S = "${WORKDIR}/git"
--
2.26.2


[isar-cip-core][PATCH 2/9] Update to kas 2.5

Jan Kiszka
 

From: Jan Kiszka <jan.kiszka@...>

Signed-off-by: Jan Kiszka <jan.kiszka@...>
---
.gitlab-ci.yml | 2 +-
README.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 823160f..2a9ae22 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: ghcr.io/siemens/kas/kas-isar:2.3.3
+image: ghcr.io/siemens/kas/kas-isar:2.5

variables:
GIT_STRATEGY: clone
diff --git a/README.md b/README.md
index f038db3..32812a2 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ from scratch.

Install `kas-container` from the [kas project](https://github.com/siemens/kas):

- wget https://raw.githubusercontent.com/siemens/kas/2.3.3/kas-container
+ wget https://raw.githubusercontent.com/siemens/kas/2.5/kas-container
chmod a+x kas-container

Furthermore, install docker and make sure you have required permissions to
--
2.26.2


[isar-cip-core][PATCH 0/9] Varions Updates: bullseye, kernel, kas, isar

Jan Kiszka
 

See patches for Details.

Jan


CC: Quirin Gylstorff <quirin.gylstorff@...>

Jan Kiszka (9):
ci: Select large runner
Update to kas 2.5
swupdate: Do not add .ini file to SRC_URI if SWUPDATE_BOOTLOADER is
not set
Update Isar revision
conf: Drop no longer needed DISTRO_APT_SOURCES settings
Add bullseye image option
ci: Add bullseye targets
linux-cip: Update to latest releases
wic: Address y2038 warnings of latest Isar

.gitlab-ci.yml | 39 ++++++++++++++++++-
README.md | 2 +-
...ore-buster.conf => cip-core-bullseye.conf} | 6 +--
conf/distro/cip-core-buster.conf | 2 -
conf/distro/cip-core-stretch.conf | 2 -
kas-cip.yml | 2 +-
kas/opt/bullseye.yml | 15 +++++++
recipes-core/swupdate/swupdate.bb | 2 +-
...bb => linux-cip-rt_4.19.195-cip52-rt20.bb} | 2 +-
....bb => linux-cip-rt_4.4.262-cip55-rt34.bb} | 2 +-
...9-cip53.bb => linux-cip_4.19.195-cip52.bb} | 2 +-
...65-cip41.bb => linux-cip_4.4.272-cip58.bb} | 2 +-
wic/bbb.wks | 2 +-
wic/simatic-ipc227e.wks | 2 +-
wic/swupdate-partition.inc | 4 +-
15 files changed, 66 insertions(+), 20 deletions(-)
copy conf/distro/{cip-core-buster.conf => cip-core-bullseye.conf} (64%)
create mode 100644 kas/opt/bullseye.yml
rename recipes-kernel/linux/{linux-cip-rt_4.19.160-cip39-rt17.bb => linux-cip-rt_4.19.195-cip52-rt20.bb} (68%)
rename recipes-kernel/linux/{linux-cip-rt_4.4.244-cip51-rt32.bb => linux-cip-rt_4.4.262-cip55-rt34.bb} (68%)
rename recipes-kernel/linux/{linux-cip_4.4.249-cip53.bb => linux-cip_4.19.195-cip52.bb} (68%)
rename recipes-kernel/linux/{linux-cip_4.19.165-cip41.bb => linux-cip_4.4.272-cip58.bb} (68%)

--
2.26.2


Re: isar-cip-core unhappy with our current runners

Michael Adler
 

Hi Jan,

Shouldn't we add tags to our .gitlab-ci.yml then? The group runners
cannot be individually selected for a repo, thus isar-cip-core will pick
from both, I think.
yes, absolutely!

This is already the case for the kernel CI pipelines, e.g. https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml

Kind Regards,
Michael

--
Michael Adler

Siemens AG
T RDA IOT SES-DE
Otto-Hahn-Ring 6
81739 München, Deutschland

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Roland Busch, Vorsitzender; Klaus Helmrich, Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322


Re: isar-cip-core unhappy with our current runners

Jan Kiszka
 

On 07.07.21 08:14, Michael Adler wrote:
Hi Jan,

maybe someone has a clue: isar-cip-core does not build anymore with the
current runners, see e.g.
yes, I might have a clue: I upgraded the runners to v14 two weeks ago [1]. I have downgraded our runners back to v13
[2]. Please let me know if that does the trick. Then either we found a regression in the v14 runner (which might
already be fixed by now) or we need to adjust the configuration (I have a feeling that the privileged flag is not
propagated correctly).
Yes, looks better again:
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/jobs/1404904190

I'm also not sure, given that we have two group runners available now,
if they differ and if isar-cip-core will use the right one. Maybe
additional tags are needed?
I think it was the correct runner. We have a large (tag 'large') and small (tag 'small') runner: The large runner allows
privileged, the small one doesn't (anymore).
Shouldn't we add tags to our .gitlab-ci.yml then? The group runners
cannot be individually selected for a repo, thus isar-cip-core will pick
from both, I think.

Jan

Kind Regards,
Michael

[1] https://gitlab.com/cip-project/cip-testing/gitlab-cloud-ci/-/commit/7920a9105743c96db548c06faac28243d7cd9c96
[2] https://gitlab.com/cip-project/cip-testing/gitlab-cloud-ci/-/commit/6e9b58da1a557be4ca602822ad4b8f23f172a2d3
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux


Re: isar-cip-core unhappy with our current runners

Michael Adler
 

Hi Jan,

maybe someone has a clue: isar-cip-core does not build anymore with the
current runners, see e.g.
yes, I might have a clue: I upgraded the runners to v14 two weeks ago [1]. I have downgraded our runners back to v13
[2]. Please let me know if that does the trick. Then either we found a regression in the v14 runner (which might
already be fixed by now) or we need to adjust the configuration (I have a feeling that the privileged flag is not
propagated correctly).

I'm also not sure, given that we have two group runners available now,
if they differ and if isar-cip-core will use the right one. Maybe
additional tags are needed?
I think it was the correct runner. We have a large (tag 'large') and small (tag 'small') runner: The large runner allows
privileged, the small one doesn't (anymore).

Kind Regards,
Michael

[1] https://gitlab.com/cip-project/cip-testing/gitlab-cloud-ci/-/commit/7920a9105743c96db548c06faac28243d7cd9c96
[2] https://gitlab.com/cip-project/cip-testing/gitlab-cloud-ci/-/commit/6e9b58da1a557be4ca602822ad4b8f23f172a2d3

--
Michael Adler

Siemens AG
T RDA IOT SES-DE
Otto-Hahn-Ring 6
81739 München, Deutschland

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Jim Hagemann Snabe; Vorstand: Roland Busch, Vorsitzender; Klaus Helmrich, Cedrik Neike, Matthias Rebellius, Ralf P. Thomas, Judith Wiese; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin-Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322

2961 - 2980 of 9573