From 1e7f8ce4ab7dbfe8160f2ef54fe830334e79c6b7 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 25 Jul 2019 11:19:01 -0500 Subject: Fix openembedded busybox RPC issue --- recipes-core/busybox/busybox_%.bbappend | 4 ++++ recipes-core/busybox/files/defconfig | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'recipes-core/busybox') diff --git a/recipes-core/busybox/busybox_%.bbappend b/recipes-core/busybox/busybox_%.bbappend index b8bbdf7..31b58fa 100644 --- a/recipes-core/busybox/busybox_%.bbappend +++ b/recipes-core/busybox/busybox_%.bbappend @@ -2,6 +2,7 @@ PR .= ".mlinux3" PACKAGES =+ "busybox-ifplugd" FILESEXTRAPATHS_prepend := ":${THISDIR}/files:" RDEPENDS_${PN} += "bash" +DEPENDS += "libtirpc" SRC_URI += "file://udhcpd.conf.example \ file://ifplugd.action \ @@ -24,6 +25,9 @@ do_install_append () { install -m 644 ${WORKDIR}/eth1.conf.example ${D}${sysconfdir}/ifplugd } +export EXTRA_CFLAGS += "-I${STAGING_INCDIR}/tirpc" + + RDEPENDS_${PN}-ifplugd += "bash" # PACKAGES =+ "${PN}-ifplugd" inherit update-rc.d diff --git a/recipes-core/busybox/files/defconfig b/recipes-core/busybox/files/defconfig index a24c108..b022456 100644 --- a/recipes-core/busybox/files/defconfig +++ b/recipes-core/busybox/files/defconfig @@ -16,13 +16,13 @@ CONFIG_HAVE_DOT_CONFIG=y # CONFIG_EXTRA_COMPAT is not set # CONFIG_INCLUDE_SUSv2 is not set # CONFIG_USE_PORTABLE_CODE is not set -CONFIG_PLATFORM_LINUX=y CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set CONFIG_SHOW_USAGE=y CONFIG_FEATURE_VERBOSE_USAGE=y CONFIG_FEATURE_COMPRESS_USAGE=y +CONFIG_BUSYBOX=y # CONFIG_FEATURE_INSTALLER is not set # CONFIG_INSTALL_NO_USR is not set # CONFIG_LOCALE_SUPPORT is not set @@ -42,6 +42,7 @@ CONFIG_FEATURE_DEVPTS=y CONFIG_FEATURE_UTMP=y # CONFIG_FEATURE_WTMP is not set CONFIG_FEATURE_PIDFILE=y +CONFIG_PID_FILE_PATH="/var/run" CONFIG_FEATURE_SUID=y CONFIG_FEATURE_SUID_CONFIG=y CONFIG_FEATURE_SUID_CONFIG_QUIET=y @@ -50,6 +51,7 @@ CONFIG_FEATURE_SUID_CONFIG_QUIET=y CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" CONFIG_FEATURE_SYSLOG=y CONFIG_FEATURE_HAVE_RPC=y +CONFIG_PLATFORM_LINUX=y # # Build Options @@ -64,7 +66,7 @@ CONFIG_LFS=y # CONFIG_CROSS_COMPILER_PREFIX is not set CONFIG_SYSROOT="" # CONFIG_EXTRA_CFLAGS is not set -CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDFLAGS="-ltirpc" CONFIG_EXTRA_LDLIBS="" # -- cgit v1.2.3