kselftests: add libpcap-ng dependency
PATCH 1/2 kselftests: add libpcap-ng dependency
libpcap-ng is required to build capabilities tests.
--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
recipes-kernel/kselftests/kselftests_4.9.bb +1 -3
@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native" inherit kernel-arch
@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash"
Signature · 1 line
2.11.0
PATCH 2/2 kselftests: fix seccomp test build failure
Use the same fixup as used for timers test:
use LDLIBS to properly link against libpthread.
--- recipes-kernel/kselftests/kselftests_4.9.bb | 1 + 1 file changed, 1 insertion(+)
recipes-kernel/kselftests/kselftests_4.9.bb +1 -0
@@ -59,6 +59,7 @@ do_configure () { sed "s|^CC = .*||g" -i ${S}/tools/testing/selftests/memfd/Makefile sed "s|^CC := .*||g" -i ${S}/tools/testing/selftests/powerpc/switch_endian/Makefile sed "s|gcc|\$(CC)|g" -i ${S}/tools/testing/selftests/breakpoints/Makefile + sed "s|^LDFLAGS += -lpthread|LDLIBS += -lpthread|g" -i ${S}/tools/testing/selftests/seccomp/Makefile sed "s|^LDFLAGS += -lrt -lpthread|LDLIBS += -lrt -lpthread|g" -i ${S}/tools/testing/selftests/timers/Makefile sed "s|BINARIES|TEST_PROGS|g" -i ${S}/tools/testing/selftests/sigaltstack/Makefile }
Signature · 1 line
2.11.0
Quoted 13 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 5 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"
Would ng replace old libcap
Quoted 22 lines
recipes-kernel/kselftests/kselftests_4.9.bb +0
-3inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"
Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes cap-ng.h header file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.html
Fathi's fix is indeed better, even though adding another dependency.
Quoted 26 lines
Quoted 20 lines
recipes-kernel/kselftests/kselftests_4.9.bb +0
-3inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-tiSignature · 4 lines
_______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 26 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Quoted 7 lines
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlFathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
recipes-kernel/kselftests/kselftests_4.9.bb +0
-3inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 33 lines · Fathi Boudra
Quoted 32 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.html
Quoted 6 lines
Quoted 1 line
Fathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.
What the status of the old libcap? Is it being deprecated everywhere?
Quoted 21 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
recipes-kernel/kselftests/kselftests_4.9.bb +0
-3inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 34 lines · Denys Dmytriyenko
Quoted 33 lines · Fathi Boudra
Quoted 32 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.html
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Fathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
recipes-kernel/kselftests/kselftests_4.9.bb +0
-3inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 42 lines · Fathi Boudra
Quoted 41 lines · Denys Dmytriyenko
Quoted 39 lines · Fathi Boudra
Quoted 26 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Quoted 7 lines
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlFathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.
Quoted 5 lines
Quoted 1 line
What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
can both libs live together without stepping on each other ?
Quoted 43 lines · Khem Raj
Quoted 42 lines · Fathi Boudra
Quoted 41 lines · Denys Dmytriyenko
Quoted 39 lines · Fathi Boudra
Quoted 26 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Quoted 7 lines
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlFathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
can both libs live together without stepping on each other ?
FWIW, I haven't tested on all platforms yet (still crunching), but the initial results I'm getting here show no build, stage or run-time issues with images that include both kselftests and systemd...
Signature · 1 line
Denys
Quoted 50 lines · Denys Dmytriyenko
Quoted 49 lines · Khem Raj
Quoted 47 lines · Fathi Boudra
Quoted 34 lines · Denys Dmytriyenko
Quoted 33 lines · Fathi Boudra
Quoted 32 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlQuoted 8 lines
Quoted 6 lines
Quoted 1 line
Fathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
Quoted 6 lines
Quoted 1 line
can both libs live together without stepping on each other ?
FWIW, I haven't tested on all platforms yet (still crunching), but the initial results I'm getting here show no build, stage or run-time issues with images that include both kselftests and systemd...
OK you might want to compare the contents of both packages and see if there are any changes that can have effect on behavior subtly.
Quoted 2 lines
--
Denys
Quoted 53 lines · Khem Raj
Quoted 52 lines · Denys Dmytriyenko
Quoted 50 lines · Khem Raj
Quoted 42 lines · Fathi Boudra
Quoted 41 lines · Denys Dmytriyenko
Quoted 39 lines · Fathi Boudra
Quoted 26 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Quoted 7 lines
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlFathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.Quoted 5 lines
Quoted 1 line
What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
can both libs live together without stepping on each other ?
Quoted 7 lines
Quoted 4 lines
FWIW, I haven't tested on all platforms yet (still crunching), but the initial results I'm getting here show no build, stage or run-time issues with images that include both kselftests and systemd...
OK you might want to compare the contents of both packages and see if there are any changes that can have effect on behavior subtly.
Looked at all the packaged stuff - cap-ng is very careful to maintain separate namespace. There are no conflicts in packaged files - headers, libraries, aclocal, pkgconfig, etc. all have cap-ng in the name. Even the new API in the header file uses CAPNG_* enums and capng_*() functions:
https://sourcecodebrowser.com/libcap-ng/0.6.5/cap-ng_8h.html
Signature · 1 line
Denys
Quoted 59 lines · Denys Dmytriyenko
Quoted 58 lines · Khem Raj
Quoted 56 lines · Denys Dmytriyenko
Quoted 43 lines · Khem Raj
Quoted 42 lines · Fathi Boudra
Quoted 41 lines · Denys Dmytriyenko
Quoted 39 lines · Fathi Boudra
Quoted 26 lines · Denys Dmytriyenko
Quoted 17 lines · Khem Raj
Quoted 14 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +0
-0@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}"Quoted 7 lines
recipes-kernel/kselftests/kselftests_4.9.bb S = "${WORKDIR}/linux-${PV}" · line 14
Quoted 4 lines
recipes-kernel/kselftests/kselftests_4.9.bb +1
-1PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native"Would ng replace old libcap
Quoted 7 lines
Are you asking in general or in this particular case?
kselftests-capabilities does use libcap-ng and includes
cap-ng.hheader file, as I mentioned here:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-March/009766.htmlFathi's fix is indeed better, even though adding another dependency.
In this particular case, it doesn't replace libcap. Upstream managed to use libcap-ng in capabilities test and libpcap in bpf test...
I'm currently queuing patches for upstream.Quoted 7 lines
Quoted 5 lines
Quoted 1 line
What the status of the old libcap? Is it being deprecated everywhere?
The traditional libcap is still mainly used. I don't think it's going to be deprecated soon, systemd is using it for example.
can both libs live together without stepping on each other ?
FWIW, I haven't tested on all platforms yet (still crunching), but the initial results I'm getting here show no build, stage or run-time issues with images that include both kselftests and systemd...
Quoted 9 lines
Quoted 2 lines
OK you might want to compare the contents of both packages and see if there are any changes that can have effect on behavior subtly.
Looked at all the packaged stuff - cap-ng is very careful to maintain separate namespace. There are no conflicts in packaged files - headers, libraries, aclocal, pkgconfig, etc. all have cap-ng in the name. Even the new API in the header file uses CAPNG_* enums and capng_*() functions:
https://sourcecodebrowser.com/libcap-ng/0.6.5/cap-ng_8h.html
that looks good.
Fathi,
Since I haven't merged morty-next anywhere yet, I can rebase and modify my previous patch to not do a workaround for capabilities tests...
Quoted 38 lines · Fathi Boudra
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +1
-3@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native" inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash"Signature · 7 lines
2.11.0 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 4 lines · Denys Dmytriyenko
Fathi,
Since I haven't merged morty-next anywhere yet, I can rebase and modify my previous patch to not do a workaround for capabilities tests...
works for me. Thanks!
Quoted 38 lines · Fathi Boudra
Quoted 37 lines
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +1
-4@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native" inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Quoted 7 lines · Fathi Boudra
Quoted 4 lines · Denys Dmytriyenko
Fathi,
Since I haven't merged morty-next anywhere yet, I can rebase and modify my previous patch to not do a workaround for capabilities tests...
works for me. Thanks!
And s/libpcap/libcap/g in couple places... :)
Quoted 39 lines
Quoted 38 lines · Fathi Boudra
Quoted 37 lines
libpcap-ng is required to build capabilities tests.
Signed-off-by Fathi Boudra <[email protected]>--- recipes-kernel/kselftests/kselftests_4.9.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)recipes-kernel/kselftests/kselftests_4.9.bb +1
-4@@ -11,7 +11,7 @@ S = "${WORKDIR}/linux-${PV}" PACKAGE_ARCH = "${MACHINE_ARCH}" -DEPENDS = "libcap popt rsync-native" +DEPENDS = "libcap libcap-ng popt rsync-native" inherit kernel-arch@@ -139,8 +139,6 @@ FILES_${PN}-x86 = "${bindir}/kselftests/x86" FILES_${PN}-zram = "${bindir}/kselftests/zram" FILES_${PN}-dbg += "${bindir}/kselftests/*/.debug" -ALLOW_EMPTY_${PN}-capabilities = "1" - RDEPENDS_${PN}-cpu-hotplug += "bash" RDEPENDS_${PN}-efivarfs += "bash" RDEPENDS_${PN}-memory-hotplug += "bash" --2.11.0
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti