[meta-arago] [dunfell/master 1/2] recipes-tisdk: tisdk-makefile: Remove Jailhouse snippet
Jailhouse support is dropped for K3 platforms. This will not be packaged in the SDK any more. Drop the Makefile snippet for Jailhouse. Signed-off-by: Nikhil Devshatwar --- .../ti-tisdk-makefile/Makefile_jailhouse | 44 --- 1 file changed, 44 deletions(-) delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse deleted file mode 100644 index 8e70fd9d.. --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse +++ /dev/null @@ -1,44 +0,0 @@ -# jailhouse module -JH_ARCH = "__KERNEL_ARCH__" -JH_PLATFORM = "__JH_PLATFORM__" - -jailhouse_config: - @echo = - @echo Configuring jailhouse - @echo = - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \ - echo "#define CONFIG_TRACE_ERROR1" >> include/jailhouse/config.h - -jailhouse: linux jailhouse_config - @echo = - @echo Building jailhouse - @echo = - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \ - make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR} - -jailhouse_clean: - @echo = - @echo Cleaning jailhouse - @echo = - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \ - make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR} clean - -jailhouse_distclean: jailhouse_clean - @echo = - @echo Distclean jailhouse - @echo = - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \ - rm -vf ./hypervisor/include/jailhouse/config.h - -jailhouse_install: - @echo - @echo Installing jailhouse - @echo - @cd board-support/extra-drivers; \ - cd `find . -maxdepth 1 -name "jailhouse*" -type d`; \ - make ARCH=$(JH_ARCH) KDIR=${LINUXKERNEL_INSTALL_DIR} DESTDIR=$(DESTDIR) INSTALL_MOD_STRIP=$(INSTALL_MOD_STRIP) prefix=/usr install - -- 2.17.1 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [dunfell/master 2/2] conf: arago: Remove jailhouse references
Jailhouse support for K3 platforms is dropped. Remove the refences to Jailhouse and IVSHMEM in the arago conf files. Signed-off-by: Nikhil Devshatwar --- meta-arago-distro/conf/distro/arago.conf | 3 --- meta-arago-distro/conf/distro/include/arago-source-ipk.inc | 7 --- 2 files changed, 10 deletions(-) diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf index 206e65ef..508b636d 100644 --- a/meta-arago-distro/conf/distro/arago.conf +++ b/meta-arago-distro/conf/distro/arago.conf @@ -158,9 +158,6 @@ PACKAGECONFIG_append_pn-openssl = " cryptodev-linux" PACKAGECONFIG_remove_pn-alsa-plugins = "pulseaudio" RDEPENDS_pulseaudio-server_remove = "alsa-plugins-pulseaudio-conf" -# Configure RAMFS for jailhouse linux-demo -JH_RAMFS_IMAGE = "tisdk-tiny-image" - # Enable UI and scripting for perf PERF_FEATURES_ENABLE ?= "perf-scripting perf-tui" diff --git a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc index 232cd4c3..d4122339 100644 --- a/meta-arago-distro/conf/distro/include/arago-source-ipk.inc +++ b/meta-arago-distro/conf/distro/include/arago-source-ipk.inc @@ -373,10 +373,6 @@ SRCIPK_INSTALL_DIR_pn-hplib-mod ?= "board-support/extra-drivers/${PN}-${PV}" CREATE_SRCIPK_pn-uio-module-drv ?= "1" SRCIPK_INSTALL_DIR_pn-uio-module-drv ?= "board-support/extra-drivers/${PN}-${PV}" -CREATE_SRCIPK_pn-ivshmem-uio-driver ?= "1" -SRCIPK_INSTALL_DIR_pn-ivshmem-uio-driver ?= "board-support/extra-drivers/${PN}-${PV}" -SRCIPK_PRESERVE_GIT_pn-ivshmem-uio-driver ?= "true" - CREATE_SRCIPK_pn-ipsecmgr-mod ?= "1" SRCIPK_INSTALL_DIR_pn-ipsecmgr-mod ?= "board-support/extra-drivers/${PN}-${PV}" @@ -397,6 +393,3 @@ SRCIPK_INSTALL_DIR_pn-vlib-c66x ?= "component-sources/vlib_c66x_${PV}" CREATE_SRCIPK_pn-big-data-ipc-demo-linux ?= "1" SRCIPK_INSTALL_DIR_pn-big-data-ipc-demo-linux ?= "example-applications/${PN}-${PV}" - -CREATE_SRCIPK_pn-jailhouse ?= "1" -SRCIPK_INSTALL_DIR_pn-jailhouse ?= "board-support/extra-drivers/${PN}-${PV}" -- 2.17.1 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [dunfell/master 0/2] Remove Jailhouse support
This series removes the Jailhouse and corresponding recipes from meta-arago Nikhil Devshatwar (2): recipes-tisdk: tisdk-makefile: Remove Jailhouse snippet conf: arago: Remove jailhouse references meta-arago-distro/conf/distro/arago.conf | 3 -- .../conf/distro/include/arago-source-ipk.inc | 7 --- .../ti-tisdk-makefile/Makefile_jailhouse | 44 --- 3 files changed, 54 deletions(-) delete mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_jailhouse -- 2.17.1 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [PATCH 1/2] linux-ti-staging: enable necessary configs for running docker containers
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- meta-arago-distro/recipes-kernel/linux/docker.inc| 2 ++ .../linux/linux-ti-staging-rt_%.bbappend | 1 + .../linux/linux-ti-staging-systest_%.bbappend| 1 + .../recipes-kernel/linux/linux-ti-staging/docker.cfg | 20 .../recipes-kernel/linux/linux-ti-staging_%.bbappend | 1 + 5 files changed, 25 insertions(+) create mode 100644 meta-arago-distro/recipes-kernel/linux/docker.inc create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg diff --git a/meta-arago-distro/recipes-kernel/linux/docker.inc b/meta-arago-distro/recipes-kernel/linux/docker.inc new file mode 100644 index 000..63a01ba --- /dev/null +++ b/meta-arago-distro/recipes-kernel/linux/docker.inc @@ -0,0 +1,2 @@ +SRC_URI += "file://docker.cfg" +KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/docker.cfg" diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend index 7d03f8e..165e86f 100644 --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend @@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago1" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" require copy-defconfig.inc +require docker.inc ALLOW_EMPTY_kernel-devicetree = "1" diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend index 7d03f8e..165e86f 100644 --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend @@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago1" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" require copy-defconfig.inc +require docker.inc ALLOW_EMPTY_kernel-devicetree = "1" diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg new file mode 100644 index 000..9ac604b --- /dev/null +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg @@ -0,0 +1,20 @@ +CONFIG_VETH=m +CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +CONFIG_NETFILTER_XT_MATCH_IPVS=m +CONFIG_NET_CLS_CGROUP=m +CONFIG_IP_VS=m +CONFIG_IP_VS_RR=m +CONFIG_VXLAN=m +CONFIG_IPVLAN=m +CONFIG_MACVLAN=m +CONFIG_DUMMY=m +CONFIG_NF_NAT_FTP=m +CONFIG_NF_CONNTRACK_FTP=m +CONFIG_NF_NAT_TFTP=m +CONFIG_NF_CONNTRACK_TFTP=m +CONFIG_AUFS_FS=m +CONFIG_BTRFS_FS=m +CONFIG_BLK_DEV_DM=m +CONFIG_DM_THIN_PROVISIONING=m +CONFIG_OVERLAY_FS=m diff --git a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend index 5bddbef..31940e3 100644 --- a/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend +++ b/meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend @@ -3,5 +3,6 @@ MACHINE_KERNEL_PR_append = ".arago5" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" require copy-defconfig.inc +require docker.inc ALLOW_EMPTY_kernel-devicetree = "1" -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [PATCH 0/2] RFC: Add global Docker container runtime
From: Denys Dmytriyenko This patchset adds Docker container runtime to both base and default rootfs images for all platforms. Patch 1 enables necessary kernel configs through docker.cfg config fragment. This fragment can later be added to ti-linux-kernel/ti_config_fragments. Denys Dmytriyenko (2): linux-ti-staging: enable necessary configs for running docker containers packagegroup-arago-base: add docker runtime to the base and default rootfs .../packagegroups/packagegroup-arago-base.bb | 1 + meta-arago-distro/recipes-kernel/linux/docker.inc| 2 ++ .../linux/linux-ti-staging-rt_%.bbappend | 1 + .../linux/linux-ti-staging-systest_%.bbappend| 1 + .../recipes-kernel/linux/linux-ti-staging/docker.cfg | 20 .../recipes-kernel/linux/linux-ti-staging_%.bbappend | 1 + 6 files changed, 26 insertions(+) create mode 100644 meta-arago-distro/recipes-kernel/linux/docker.inc create mode 100644 meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [PATCH 2/2] packagegroup-arago-base: add docker runtime to the base and default rootfs
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb index 2ebe5f9..2284210 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb @@ -36,6 +36,7 @@ ARAGO_EXTRA = "\ kms++ \ kms++-python \ can-utils \ +docker \ " ARAGO_EXTRA_append_keystone = "\ -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [PATCH 0/2] RFC: Add global Docker container runtime
On Wed, Jun 16, 2021 at 04:14:07PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > This patchset adds Docker container runtime to both base and default rootfs > images for all platforms. > > Patch 1 enables necessary kernel configs through docker.cfg config fragment. > This fragment can later be added to ti-linux-kernel/ti_config_fragments. > > Denys Dmytriyenko (2): > linux-ti-staging: enable necessary configs for running docker > containers > packagegroup-arago-base: add docker runtime to the base and default > rootfs > > .../packagegroups/packagegroup-arago-base.bb | 1 + > meta-arago-distro/recipes-kernel/linux/docker.inc| 2 ++ > .../linux/linux-ti-staging-rt_%.bbappend | 1 + > .../linux/linux-ti-staging-systest_%.bbappend| 1 + > .../recipes-kernel/linux/linux-ti-staging/docker.cfg | 20 > > .../recipes-kernel/linux/linux-ti-staging_%.bbappend | 1 + > 6 files changed, 26 insertions(+) > create mode 100644 meta-arago-distro/recipes-kernel/linux/docker.inc > create mode 100644 > meta-arago-distro/recipes-kernel/linux/linux-ti-staging/docker.cfg > > -- > 2.7.4 Besides docker itself and containerd, it pulls the entire util-linux package in place of those provided by busybox. Here's the size increase of the base image: commit 2b3d94352436af56dbed776ba3f094637fa72efc Author: buildhistory Date: Tue Jun 15 22:28:30 2021 + Build 20210615221326 of arago 2020.09 for machine j7-evm on gimli cmd: bitbake tisdk-base-image result: succeeded metadata revisions: meta-arago-distro = dunfell:3a199c9117b2c7ff10fae8cc2f8813586f3d241d -- modified meta-arago-extras = dunfell:3a199c9117b2c7ff10fae8cc2f8813586f3d241d -- modified meta-qt5 = dunfell:b4d24d70aca75791902df5cd59a4f4a54aa4a125 meta-virtualization = dunfell:8be0bc1480e649b2df5f9f8e87e01c5acbe61182 meta-networking = dunfell:c38d2a74f762a792046f3d3c377827b08aade513 meta-python = dunfell:c38d2a74f762a792046f3d3c377827b08aade513 meta-oe = dunfell:c38d2a74f762a792046f3d3c377827b08aade513 meta-gnome= dunfell:c38d2a74f762a792046f3d3c377827b08aade513 meta-filesystems = dunfell:c38d2a74f762a792046f3d3c377827b08aade513 meta-ti = dunfell:02a2433c47bf41fcd5d212a1f2dd9371e90bfe0a meta-arm = HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63 meta-arm-toolchain = HEAD:c4f04f3fb66f8f4365b08b553af8206372e90a63 meta = dunfell:2246b0d7a71c69eb2e89c55991d1387069895466 diff --git a/images/j7_evm/glibc/tisdk-base-image/installed-package-sizes.txt b/images/j7_evm/glibc/tisdk-base-image/installed-package-sizes.txt index 56d326d..2f207e7 100644 --- a/images/j7_evm/glibc/tisdk-base-image/installed-package-sizes.txt +++ b/images/j7_evm/glibc/tisdk-base-image/installed-package-sizes.txt @@ -1,8 +1,11 @@ +119448 KiB docker-ce +57709 KiB containerd-opencontainers 18556 KiB kernel-image-image-5.10.41-g3314837930 9425 KiB python3-core -8709 KiB kernel-image-vmlinux.gz-5.10.41-g3314837930 +8717 KiB kernel-image-vmlinux.gz-5.10.41-g3314837930 7318 KiB systemd 6664 KiB udev-hwdb +6354 KiB runc-docker 3478 KiB libglib-2.0-0 3130 KiB libpython3.8-1.0 2624 KiB libc6 @@ -26,7 +29,7 @@ 827KiB libvorbis 805KiB busybox 796KiB kernel-module-mac80211-5.10.41-g3314837930 -750KiB kernel-module-ipv6-5.10.41-g3314837930 +755KiB kernel-module-ipv6-5.10.41-g3314837930 725KiB libsystemd0 657KiB kernel-module-bluetooth-5.10.41-g3314837930 631KiB libfreetype6 @@ -41,6 +44,7 @@ 538KiB libsolv1 499KiB kbd-keymaps 498KiB kernel-module-cfg80211-5.10.41-g3314837930 +497KiB tini 491KiB kernel-module-sctp-5.10.41-g3314837930 473KiB kms++-python 471KiB kernel-module-mpt3sas-5.10.41-g3314837930 @@ -97,6 +101,7 @@ 199KiB libpng16-16 196KiB libncursesw5 191KiB kernel-module-nf-conntrack-5.10.41-g3314837930 +191KiB kernel-module-ip-vs-5.10.41-g3314837930 190KiB iptables 186KiB libudev1 184KiB kernel-module-overlay-5.10.41-g3314837930 @@ -119,7 +124,7 @@ 146KiB kernel-module-musb-hdrc-5.10.41-g3314837930 145KiB kernel-module-usb-storage-5.10.41-g3314837930 144KiB alsa-topology-conf -142KiB kernel-5.10.41-g3314837930 +143KiB kernel-5.10.41-g3314837930 142KiB alsa-utils-aplay 141KiB kernel-module-dwc3-5.10.41-g3314837930 140KiB avahi-daemon @@ -135,6 +140,7 @@ 125KiB alsa-utils-alsactl 125KiB alsa-ucm-conf 124KiB util-linux-sfdisk +123KiB util-linux-lsblk 123KiB kernel-module-hci-uart-5.10.41-g3314837930 121KiB e2fsprogs-mke2fs 120KiB kernel-module-nvme-core-5.10.41-g3314837930 @@
[meta-arago] [dunfell][PATCH] ltp-ddt:Update to 20210524
Updated ltp to 20210524 on dunfell Signed-off-by: Yogesh Siraswar --- ...001-Remove-OOM-tests-from-runtest-mm.patch | 31 + .../ltp/ltp/disable_hanging_tests.patch | 45 +++ .../ltp/ltp_20210524.bbappend | 27 +++ ...tp-ddt_20200120.bb => ltp-ddt_20210524.bb} | 4 +- 4 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch create mode 100644 meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend rename meta-arago-extras/recipes-devtools/ltp-ddt/{ltp-ddt_20200120.bb => ltp-ddt_20210524.bb} (94%) diff --git a/meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch b/meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch new file mode 100644 index ..e51950f1 --- /dev/null +++ b/meta-arago-distro/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch @@ -0,0 +1,31 @@ +From 93772c511d954d755cc9128c58ed8968a5af541b Mon Sep 17 00:00:00 2001 +From: "Mingde (Matthew) Zeng" +Date: Wed, 29 Jul 2020 08:47:09 -0400 +Subject: [PATCH] Remove OOM tests from runtest/mm + +Disable OOM tests, as they might cause oeqa ssh connection lost + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Mingde (Matthew) Zeng + +--- + runtest/mm | 6 -- + 1 file changed, 6 deletions(-) + +diff --git a/runtest/mm b/runtest/mm +index 481d39691..cf207d10e 100644 +--- a/runtest/mm b/runtest/mm +@@ -74,12 +74,6 @@ ksm06_2 ksm06 -n 1 + + cpuset01 cpuset01 + +-oom01 oom01 +-oom02 oom02 +-oom03 oom03 +-oom04 oom04 +-oom05 oom05 +- + swapping01 swapping01 -i 5 + + thp01 thp01 -I 120 diff --git a/meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch b/meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch new file mode 100644 index ..113ac0fe --- /dev/null +++ b/meta-arago-distro/recipes-extended/ltp/ltp/disable_hanging_tests.patch @@ -0,0 +1,45 @@ +This patch disables tests which we've found "hang" on our infrastructure. + +cgroup_xattr: +https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1926 (x86) +https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1898 (x86) +https://autobuilder.yoctoproject.org/typhoon/#/builders/95/builds/1916 (x86) + +proc01: +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1748 (arm) +https://autobuilder.yoctoproject.org/typhoon/#/builders/96/builds/1781 (arm) +(in the latter was trying to read /proc/kmsg) +(the above test looks horrible anyway) + +Upstream-Status: Inappropriate [OE Configuration] +Signed-off-by: Richard Purdie + +Index: git/runtest/controllers +=== +--- git.orig/runtest/controllers git/runtest/controllers +@@ -352,8 +352,6 @@ cpuset_memory_spread cpuset_memory_sprea + + cpuset_regression_test cpuset_regression_test.sh + +-cgroup_xattr cgroup_xattr +- + pids_1_1 pids.sh 1 1 0 + pids_1_2 pids.sh 1 2 0 + pids_1_10 pids.sh 1 10 0 +Index: git/runtest/fs +=== +--- git.orig/runtest/fs git/runtest/fs +@@ -64,11 +64,6 @@ writetest01 writetest + #Also run the fs_di (Data Integrity tests) + fs_di fs_di -d $TMPDIR + +-# Read every file in /proc. Not likely to crash, but does enough +-# to disturb the kernel. A good kernel latency killer too. +-# Was not sure why it should reside in runtest/crashme and won't get tested ever +-proc01 proc01 -m 128 +- + read_all_dev read_all -d /dev -p -q -r 3 + read_all_proc read_all -d /proc -q -r 3 + read_all_sys read_all -d /sys -q -r 3 diff --git a/meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend b/meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend new file mode 100644 index ..bfe4ddb0 --- /dev/null +++ b/meta-arago-distro/recipes-extended/ltp/ltp_20210524.bbappend @@ -0,0 +1,27 @@ +SRCREV = "0fb171f2beddaf64bd27597577c206c0f892b3cd" + +SRC_URI = "git://github.com/linux-test-project/ltp.git \ + file://0001-Remove-OOM-tests-from-runtest-mm.patch \ + file://disable_hanging_tests.patch \ + " +remove_broken_musl_sources() { + [ "${TCLIBC}" = "musl" ] || return 0 + + cd ${S} + echo "WARNING: remove unsupported tests (until they're fixed)" + + # sync with upstream + # https://github.com/linux-test-project/ltp/blob/master/travis/alpine.sh#L33 + rm -rfv \ + testcases/kernel/sched/process_stress/process.c \ + testcases/kernel/syscalls/confstr/confstr01.c \ + testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ + testcases/kernel/syscalls/getcontext/getcontext01.c \ +