Skip to contentSkip to conversation

meta-openembedded: fix QA issues

PATCH Superseded Robert Yang 2 participants 15 messages Nov 20, 2015 – Dec 11, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover meta-openembedded: fix QA issues

The following changes since commit ea319464b673cbf9a416b582dc4766faeb998430:

vlc: add PACKAGECONFIG for samba, upnp, dvdnav, sftp, vorbis, dc1394, dv1394, svg, svgdec (2015-11-16 21:50:11 +0100)

are available in the git repository at:

git://git.openembedded.org/meta-openembedded-contrib rbt/8fixes
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=rbt/8fixes

Robert Yang (8):
netmap-modules: fix for --no-drivers
lldpad: fix installed-vs-shipped
nbd: use BPN in Files
dracut: fix host-user-contaminated
cim-schema-exper: fix host-user-contaminated
ctdb: RDEPENDS on bash
ctdb: add PACKAGECONFIG for libtdb
netkit-ftp: fixed invalid symlink

 .../recipes-devtools/dracut/dracut_git.bb          |    3 +++
 .../recipes-daemons/lldpad/lldpad_0.9.46.bb        |    2 +-
 .../recipes-kernel/netmap/netmap-modules_git.bb    |    2 +-
 .../recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb   |    2 +-
 .../cim-schema/cim-schema-exper_2.39.0.bb          |    1 +
 .../cim-schema/cim-schema-final_2.40.0.bb          |    1 +
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |    4 ++++
 meta-networking/recipes-support/nbd/nbd_3.11.bb    |    6 +++---
 8 files changed, 15 insertions(+), 6 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/8 netmap-modules: fix for --no-drivers

Issue: LIN8-1697

The --no-drivers=virtio_net.c overrided --no-drivers=ixgbe, then errors:
git/LINUX/ixgbe_netmap_linux.h:52:2: error: #error "unsupported ixgbe driver version"
#error "unsupported ixgbe driver version"
^

(LOCAL REV: NOT UPSTREAM) -- Jackie will will merge into his netmap-modules work and send.

---
 .../recipes-kernel/netmap/netmap-modules_git.bb    |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +1 -1
index 6365fee..628c870 100644
@@ -15,7 +15,7 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
                 --driver-suffix="-netmap" \
                 "
 
-EXTRA_OECONF += "--no-drivers=ixgbe --no-drivers=virtio_net.c"
+EXTRA_OECONF += "--no-drivers=ixgbe,virtio_net.c"
 
 LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}"
 LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}"
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 1/8] netmap-modules: fix for --no-drivers

Quoted 6 lines · Robert Yang

Issue: LIN8-1697

The --no-drivers=virtio_net.c overrided --no-drivers=ixgbe, then errors:
git/LINUX/ixgbe_netmap_linux.h:52:2: error: #error "unsupported ixgbe driver version"
#error "unsupported ixgbe driver version"
^

There is better fix for this on ML already.

Quoted 3 lines

(LOCAL REV: NOT UPSTREAM) -- Jackie will will merge into his netmap-modules work and send.

Next time don't include this.

Quoted 27 lines
---
 .../recipes-kernel/netmap/netmap-modules_git.bb    |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +1 -1
index 6365fee..628c870 100644
@@ -15,7 +15,7 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
                 --driver-suffix="-netmap" \
                 "
 
-EXTRA_OECONF += "--no-drivers=ixgbe --no-drivers=virtio_net.c"
+EXTRA_OECONF += "--no-drivers=ixgbe,virtio_net.c"
 
 LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}"
 LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}"
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [PATCH 1/8] netmap-modules: fix for --no-drivers

Quoted 9 lines · Martin Jansa
Quoted 6 lines · Robert Yang

Issue: LIN8-1697

The --no-drivers=virtio_net.c overrided --no-drivers=ixgbe, then errors:
git/LINUX/ixgbe_netmap_linux.h:52:2: error: #error "unsupported ixgbe driver version"
#error "unsupported ixgbe driver version"
^

There is better fix for this on ML already.

I had sent a V2, and this had been drop in V2.

// Robert

Quoted 37 lines
Quoted 4 lines

(LOCAL REV: NOT UPSTREAM) -- Jackie will will merge into his netmap-modules work and send.

Next time don't include this.

Quoted 27 lines
---
  .../recipes-kernel/netmap/netmap-modules_git.bb    |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +1 -2
index 6365fee..628c870 100644
@@ -15,7 +15,7 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
                  --driver-suffix="-netmap" \
                  "
 
-EXTRA_OECONF += "--no-drivers=ixgbe --no-drivers=virtio_net.c"
+EXTRA_OECONF += "--no-drivers=ixgbe,virtio_net.c"
 
  LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}"
  LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}"
--

1.7.9.5

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

PATCH 2/8 lldpad: fix installed-vs-shipped

In reply to Robert Yang

Issue: LIN8-1622

Fixed when multilib:
lldpad-0.9.46: lldpad: Files/directories were installed but not shipped in any package:
/usr/lib
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lldpad: 1 installed and not shipped files. [installed-vs-shipped]

This is because /usr/lib/systemd has been moved, but /usr/lib was left in multilib, use "rmdir -p" to fix the problem.

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 .../recipes-daemons/lldpad/lldpad_0.9.46.bb        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb +1 -1
index b191df5..b66344f 100644
@@ -23,7 +23,7 @@ do_configure_prepend() {
 do_install_append () {
     install -m 0755 -d ${D}${systemd_unitdir}
     mv ${D}${prefix}${systemd_unitdir}/* ${D}${systemd_unitdir}/
-    rmdir ${D}${prefix}${systemd_unitdir}
+    rmdir -p --ignore-fail-on-non-empty ${D}${prefix}${systemd_unitdir}
 }
 
 FILES_${PN} += "${systemd_unitdir}"
Signature · 1 line
1.7.9.5
#5 lore raw

Re: [PATCH 2/8] lldpad: fix installed-vs-shipped

Quoted 8 lines · Robert Yang

Issue: LIN8-1622

Fixed when multilib:
lldpad-0.9.46: lldpad: Files/directories were installed but not shipped in any package:
/usr/lib
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lldpad: 1 installed and not shipped files. [installed-vs-shipped]

Quoted 4 lines

This is because /usr/lib/systemd has been moved, but /usr/lib was left in multilib, use "rmdir -p" to fix the problem.

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

doesn't apply because it was removed a while back:

commit 1a57f561caea01e6a19313af019138c783e9f964

Author: Joe MacDonald <[email protected]>
Date:   Thu Oct 22 09:46:48 2015 -0400

lldpad: remove obsolete recipe

Quoted 27 lines
---
 .../recipes-daemons/lldpad/lldpad_0.9.46.bb        |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/lldpad/lldpad_0.9.46.bb +1 -1
index b191df5..b66344f 100644
@@ -23,7 +23,7 @@ do_configure_prepend() {
 do_install_append () {
     install -m 0755 -d ${D}${systemd_unitdir}
     mv ${D}${prefix}${systemd_unitdir}/* ${D}${systemd_unitdir}/
-    rmdir ${D}${prefix}${systemd_unitdir}
+    rmdir -p --ignore-fail-on-non-empty ${D}${prefix}${systemd_unitdir}
 }
 
 FILES_${PN} += "${systemd_unitdir}"
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw

PATCH 3/8 nbd: use BPN in Files

In reply to Robert Yang

Issue: LIN8-1626

Fixed when build with multilib:
lib32-nbd-3.11: lib32-nbd: Files/directories were installed but not shipped in any package:
/usr/sbin/nbd-client
/usr/bin/nbd-trdump
/usr/bin/nbd-server
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-nbd: 3 installed and not shipped files. [installed-vs-shipped]

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 meta-networking/recipes-support/nbd/nbd_3.11.bb |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/recipes-support/nbd/nbd_3.11.bb +3 -3
index 70dc7e9..0f0ae8e 100644
@@ -14,6 +14,6 @@ inherit autotools pkgconfig
 
 PACKAGES = "${PN}-client ${PN}-server ${PN}-dbg ${PN}-trdump ${PN}-doc"
 
-FILES_${PN}-client = "${sbindir}/${PN}-client"
-FILES_${PN}-server = "${bindir}/${PN}-server"
-FILES_${PN}-trdump = "${bindir}/${PN}-trdump"
+FILES_${PN}-client = "${sbindir}/${BPN}-client"
+FILES_${PN}-server = "${bindir}/${BPN}-server"
+FILES_${PN}-trdump = "${bindir}/${BPN}-trdump"
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH 4/8 dracut: fix host-user-contaminated

In reply to Robert Yang

Issue: LIN8-1629

Fixed:
dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: dracut: /dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-dracut-043+giteab03540cd695d940062af5b55c02e8829aaa526: lib32-dracut: /lib32-dracut/usr/lib/dracut/modules.d/99img-lib/img-lib.sh is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Its Makefile uses cp -arx to install modules.d, so fix the owner to root:root

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 .../recipes-devtools/dracut/dracut_git.bb          |    3 +++
 1 file changed, 3 insertions(+)
meta-initramfs/recipes-devtools/dracut/dracut_git.bb +3 -0
index 91a8321..e026da7 100644
@@ -36,6 +36,9 @@ do_configure() {
 
 do_install() {
     oe_runmake install DESTDIR=${D}
+    # Its Makefile uses cp -arx to install modules.d, so fix the owner
+    # to root:root
+    chown -R root:root ${D}/${prefix}/lib/dracut/modules.d
 }
 
 PACKAGES =+ "${PN}-bash-completion"
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH 5/8 cim-schema-exper: fix host-user-contaminated

In reply to Robert Yang

Issue: LIN8-1632

Fixed:
cim-schema-exper-2.39.0: cim-schema-exper: /cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] cim-schema-final-2.40.0: cim-schema-final: /cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-exper-2.39.0: lib32-cim-schema-exper: /lib32-cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-final-2.40.0: lib32-cim-schema-final: /lib32-cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

It uses cp -a to install the files, so fix the owner to root:root

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 .../cim-schema/cim-schema-exper_2.39.0.bb          |    1 +
 .../cim-schema/cim-schema-final_2.40.0.bb          |    1 +
 2 files changed, 2 insertions(+)
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +1 -0
index 62e50df..e4ed7b3 100644
@@ -17,6 +17,7 @@ do_install() {
         install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
         cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}
         for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                 sed -i -e 's/\r//g' $i
         done
meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb +1 -0
index 1694f31..7ab9c4d 100644
@@ -22,6 +22,7 @@ do_install() {
         install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
         cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}/
         for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                 sed -i -e 's/\r//g' $i
         done
Signature · 1 line
1.7.9.5
#9 lore raw

Re: [PATCH 5/8] cim-schema-exper: fix host-user-contaminated

Quoted 23 lines · Robert Yang

Issue: LIN8-1632

Fixed:
cim-schema-exper-2.39.0: cim-schema-exper: /cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] cim-schema-final-2.40.0: cim-schema-final: /cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-exper-2.39.0: lib32-cim-schema-exper: /lib32-cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-final-2.40.0: lib32-cim-schema-final: /lib32-cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

It uses cp -a to install the files, so fix the owner to root:root

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 .../cim-schema/cim-schema-exper_2.39.0.bb          |    1 +
 .../cim-schema/cim-schema-final_2.40.0.bb          |    1 +
 2 files changed, 2 insertions(+)
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +0 -0
index 62e50df..e4ed7b3 100644

meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb do_install() { · line 20

Quoted 4 lines
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +1 -0
@@ -17,6 +17,7 @@ do_install() {
         install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
         cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}

Why don't you fix it to use install instead of cp -a + chown?

Quoted 23 lines
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +0 -0
         for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                 sed -i -e 's/\r//g' $i
         done
meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb +1 -0
index 1694f31..7ab9c4d 100644
@@ -22,6 +22,7 @@ do_install() {
         install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
         cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}/
         for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                 sed -i -e 's/\r//g' $i
         done
Signature · 7 lines
1.7.9.5

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#10 lore raw

Re: [PATCH 5/8] cim-schema-exper: fix host-user-contaminated

Quoted 26 lines · Martin Jansa
Quoted 25 lines · Robert Yang

Issue: LIN8-1632

Fixed:
cim-schema-exper-2.39.0: cim-schema-exper: /cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] cim-schema-final-2.40.0: cim-schema-final: /cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-exper-2.39.0: lib32-cim-schema-exper: /lib32-cim-schema-exper/usr/share/mof/cimv2.39.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] lib32-cim-schema-final-2.40.0: lib32-cim-schema-final: /lib32-cim-schema-final/usr/share/mof/cimv2.40.0/Network/CIM_IPAddressRange.mof is owned by uid 15220, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

It uses cp -a to install the files, so fix the owner to root:root

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
  .../cim-schema/cim-schema-exper_2.39.0.bb          |    1 +
  .../cim-schema/cim-schema-final_2.40.0.bb          |    1 +
  2 files changed, 2 insertions(+)
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +0 -0
index 62e50df..e4ed7b3 100644
@@ -17,6 +17,7 @@ do_install() {
          install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
Quoted 4 lines

meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb do_install() { · line 20

Quoted 2 lines
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +1 -0
          cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}

Why don't you fix it to use install instead of cp -a + chown?

Because there are a lot of files and directories:

$ find cim-schema-exper/image/usr/share/mof/cimv2.39.0/ -type f |wc -l
1816
$ find cim-schema-exper/image/usr/share/mof/cimv2.39.0/ -type d |wc -l
15

I think that's why it used cp -a before. And we did use chown to fix such issues for several recipes in oe-core and meta-openembedded.

// Robert

Quoted 27 lines
Quoted 24 lines
meta-networking/recipes-support/cim-schema/cim-schema-exper_2.39.0.bb +0 -0
          for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                  sed -i -e 's/\r//g' $i
          done
meta-networking/recipes-support/cim-schema/cim-schema-final_2.40.0.bb +1 -1
index 1694f31..7ab9c4d 100644
@@ -22,6 +22,7 @@ do_install() {
          install -m 644 ${WORKDIR}/LICENSE ${D}${datadir}/doc/cim-schema-${PV}
 
          cp -a ${S}/* ${D}${datadir}/mof/cimv${PV}/	
+        chown -R root:root ${D}${datadir}/mof/cimv${PV}/
          for i in `find ${D}${datadir}/mof/cimv${PV} -name "*.mof"`; do
                  sed -i -e 's/\r//g' $i
          done
--

1.7.9.5

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#11 lore raw

PATCH 6/8 ctdb: RDEPENDS on bash

In reply to Robert Yang

Issue: LIN8-1636

Fixed:
ctdb-2.5.1: /usr/bin/onnode_ctdb contained in package ctdb requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]

And really bashisms there:

$ checkbashisms usr/bin/onnode
possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 186 (<<< here string):
        done <<<"$ctdb_status_output"
possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 250 (<<< here string):
    done <<<"$out"
possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 284 (${parm/?/pat[/str]}):
                echo "${all_nodes//#DEAD/}"
possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 337 (${parm/?/pat[/str]}):

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |    1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +1 -0
index 3731efd..70bdfb1 100644
@@ -27,6 +27,7 @@ inherit autotools-brokensep pkgconfig systemd
 PARALLEL_MAKE = ""
 
 DEPENDS += "popt libtevent talloc"
+RDEPENDS_${PN} += "bash"
 
 do_configure() {
     oe_runconf
Signature · 1 line
1.7.9.5
#12 lore raw

PATCH 7/8 ctdb: add PACKAGECONFIG for libtdb

In reply to Robert Yang

Issue: LIN8-1713

Fixed:
WARNING: QA Issue: ctdb rdepends on libtdb, but it isn't a build dependency? [build-deps]

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |    3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +3 -0
index 70bdfb1..c19916c 100644
@@ -24,6 +24,9 @@ SRC_URI[sha256sum] = "d5bf3f674cae986bb6178b1db215a703ac94adc5f75fadfdcff63dcbb5
 
 inherit autotools-brokensep pkgconfig systemd
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[libtdb] = "--without-included-tdb,--with-included-tdb,libtdb"
+
 PARALLEL_MAKE = ""
 
 DEPENDS += "popt libtevent talloc"
Signature · 1 line
1.7.9.5
#13 lore raw
In reply to Robert Yang

Sorry, please ignore this thread, some commit message should not be there, I will send a V2.

// Robert

Quoted 29 lines · Robert Yang

The following changes since commit ea319464b673cbf9a416b582dc4766faeb998430:

vlc: add PACKAGECONFIG for samba, upnp, dvdnav, sftp, vorbis, dc1394, dv1394, svg, svgdec (2015-11-16 21:50:11 +0100)

are available in the git repository at:

git://git.openembedded.org/meta-openembedded-contrib rbt/8fixes
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=rbt/8fixes

Robert Yang (8):
netmap-modules: fix for --no-drivers
lldpad: fix installed-vs-shipped
nbd: use BPN in Files
dracut: fix host-user-contaminated
cim-schema-exper: fix host-user-contaminated
ctdb: RDEPENDS on bash
ctdb: add PACKAGECONFIG for libtdb
netkit-ftp: fixed invalid symlink

  .../recipes-devtools/dracut/dracut_git.bb          |    3 +++
  .../recipes-daemons/lldpad/lldpad_0.9.46.bb        |    2 +-
  .../recipes-kernel/netmap/netmap-modules_git.bb    |    2 +-
  .../recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb   |    2 +-
  .../cim-schema/cim-schema-exper_2.39.0.bb          |    1 +
  .../cim-schema/cim-schema-final_2.40.0.bb          |    1 +
  meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |    4 ++++
  meta-networking/recipes-support/nbd/nbd_3.11.bb    |    6 +++---
  8 files changed, 15 insertions(+), 6 deletions(-)
#14 lore raw

PATCH 8/8 netkit-ftp: fixed invalid symlink

In reply to Robert Yang

Issue: LIN8-1635

netkit-ftp-0.17: Symlink /usr/bin/pftp in netkit-ftp points to TMPDIR [symlink-to-sysroot] lib32-netkit-ftp-0.17: Symlink /usr/bin/pftp in lib32-netkit-ftp points to TMPDIR [symlink-to-sysroot]

(LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20151120

---
 .../recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb   |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-netkit/netkit-ftp/netkit-ftp_0.17.bb +1 -1
index 2f227a6..37f5bc7 100644
@@ -31,7 +31,7 @@ do_install () {
     install -d ${D}${mandir}/man5
 
     install -m${BINMODE} ${S}/ftp/ftp ${D}${bindir}
-    ln -sf ${D}${bindir}/ftp ${D}${bindir}/pftp
+    ln -sf ftp ${D}${bindir}/pftp
     install -m${MANMODE} ${S}/ftp/ftp.1 ${D}${mandir}/man1
     ln -sf ftp.1 ${D}${mandir}/man1/pftp.1
     install -m${MANMODE} ${S}/ftp/netrc.5 ${D}${mandir}/man5
Signature · 1 line
1.7.9.5