#yocto #kernel #zeus #yocto #kernel #zeus


Monsees, Steven C (US)
 

 

I seem to have an issue initializing busybox.

I have attached my error log… but basically busybox fails to compile when I set

 

CONFIG_FEATURE_MOUNT_NFS=y

 

If I modify my_cfg.cfg and remove the above parameter it compiles clean ,

(I.E. “# CONFIG_FEATURE_MOUNT_NFS is not set”).

 

I am assuming my bbappend file is at fault, but do not see it. This setup works correctly under “rocko”, and if I disable “CONFIG_FEATURE_MOUNT_NFS” all appears correct…

 

Can someone tell me what is going on and how to correct ?

 

Thanks,

Steve

 

This is my append file:

 

busybox_%.bbappend:

 

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

FILESEXTRAPATHS_prepend := "${THISDIR}/busybox:"

 

SRC_URI_append += " \

                file://inetd.conf \

                file:// my_cfg.cfg \

                file://ftp.cfg \

                file://ftpd.cfg \

                file://hexdump.cfg \

                file://httpd.cfg \

                file://inetd.cfg \

                file://nc.cfg \

                file://telnetd.cfg \

                file://tftpd.cfg \

                file://coreutils.cfg \

                "

 

PACKAGES =+ "${@plnx_enable_busybox_package('inetd', d)}"

 

INITSCRIPT_PACKAGES =+ "${@plnx_enable_busybox_package('inetd', d)}"

 

FILES_${PN}-inetd = "${sysconfdir}/init.d/busybox-inetd ${sysconfdir}/inetd.conf"

INITSCRIPT_NAME_${PN}-inetd = "inetd.busybox"

INITSCRIPT_PARAMS_${PN}-inetd = "start 65 S ."

CONFFILES_${PN}-inetd = "${sysconfdir}/inetd.conf"

 

RRECOMMENDS_${PN} =+ "${@bb.utils.contains('DISTRO_FEATURES', 'busybox-inetd', '${PN}-inetd', '', d)}"

 

def plnx_enable_busybox_package(f, d):

    distro_features = (d.getVar('DISTRO_FEATURES', True) or "").split()

    if "busybox-" + f in distro_features:

        return "${PN}-" + f

    else:

        return ""

 

This is my platform specific config file:

 

my_cfg.cfg:

 

CONFIG_EXTRA_COMPAT=y

CONFIG_INCLUDE_SUSv2=y

CONFIG_FEATURE_VERBOSE_USAGE=y

CONFIG_UNICODE_SUPPORT=y

CONFIG_NICE=y

CONFIG_SHA512SUM=y

CONFIG_MKFS_VFAT=y

CONFIG_FEATURE_TOP_SMP_CPU=y

CONFIG_FEATURE_TOP_DECIMALS=y

CONFIG_FEATURE_TOP_SMP_PROCESS=y

CONFIG_FEATURE_TOPMEM=y

CONFIG_FEATURE_MOUNT_VERBOSE=y

CONFIG_FEATURE_MOUNT_HELPERS=y

CONFIG_FEATURE_MOUNT_NFS=y <<<- if disabled, compiles clean

CONFIG_FEATURE_MOUNT_CIFS=y

CONFIG_WATCHDOG=y

CONFIG_DEVMEM=y

CONFIG_LSPCI=y

# CONFIG_GZIP is not set

# CONFIG_GUNZIP is not set

# CONFIG_UNZIP is not set

 

 

Join yocto@lists.yoctoproject.org to automatically receive all group messages.