summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity
diff options
context:
space:
mode:
authorZelan Zou <zelan.zou@nxp.com>2026-07-24 14:25:49 +0800
committerZelan Zou <zelan.zou@nxp.com>2026-07-24 14:35:11 +0800
commit4bc71fe5a339b2b629d33e11a3a505f1ffff81fb (patch)
treec029670750c41ffe8e55552e97905bef05a94632 /recipes-connectivity
parent13939a7628c447317d41c791d89dde53d562bd8c (diff)
downloadmeta-freescale-4bc71fe5a339b2b629d33e11a3a505f1ffff81fb.tar.gz
iproute2: Fix v6.19.0 install issue
1,Operation not permitted after adjustments to the install path Errors were encountered while processing: ``` /tmp/apt-dpkg-install-swecwu/293-iproute2-dev_6.19.0-r0_arm64.deb W: chown to _apt:root of directory /.../yocto/build/tmp/work/imx8mqevk-poky-linux/test-internal-qt6/1.0/recipe-sysroot-native/var/cache/apt/archives/partial failed - SetupAPTPartialDirectory (1: Operation not permitted) W: chown to _apt:root of directory /.../yocto/build/tmp/work/imx8mqevk-poky-linux/test-internal-qt6/1.0/apt/lists/auxfiles failed - SetupAPTPartialDirectory (1: Operation not permitted) W: chown to root:adm of file /.../yocto/build/tmp/work/imx8mqevk-poky-linux/test-internal-qt6/1.0/recipe-sysroot-native/var/log/apt/term.log failed - OpenLog (1: Operation not permitted) E: Sub-process dpkg returned an error code (1) ``` 2,Remove conflict files with glibc ``` do_prepare_recipe_sysroot: The file /usr/include/dlfcn.h is installed by both glibc and iproute2, aborting ``` Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Diffstat (limited to 'recipes-connectivity')
-rw-r--r--recipes-connectivity/iproute2/iproute2_%.bbappend10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
index 8e0f8972a..ba8e8df40 100644
--- a/recipes-connectivity/iproute2/iproute2_%.bbappend
+++ b/recipes-connectivity/iproute2/iproute2_%.bbappend
@@ -1,11 +1,21 @@
1do_install:append:imx-generic-bsp () { 1do_install:append:imx-generic-bsp () {
2 cp -Rf --no-preserve=ownership ${B}/include/* ${D}${includedir}
2 install -d ${D}${includedir}/tc 3 install -d ${D}${includedir}/tc
3 cp -R ${B}/include/* ${D}${includedir} 4 cp -R ${B}/include/* ${D}${includedir}
4 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc 5 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
6 # Remove files that conflict with glibc
7 rm -f ${D}${includedir}/dlfcn.h
8 rm -f ${D}${includedir}/netinet/tcp.h
9 rm -f ${D}${includedir}/xtables.h
5} 10}
6 11
7do_install:append:qoriq-generic-bsp () { 12do_install:append:qoriq-generic-bsp () {
13 cp -Rf --no-preserve=ownership ${B}/include/* ${D}${includedir}
8 install -d ${D}${includedir}/tc 14 install -d ${D}${includedir}/tc
9 cp -R ${B}/include/* ${D}${includedir} 15 cp -R ${B}/include/* ${D}${includedir}
10 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc 16 install -m 0644 ${B}/tc/*.h ${D}${includedir}/tc
17 # Remove files that conflict with glibc
18 rm -f ${D}${includedir}/dlfcn.h
19 rm -f ${D}${includedir}/netinet/tcp.h
20 rm -f ${D}${includedir}/xtables.h
11} 21}