Hi Everone,
We are using AM335X board with krikstone yocto framework.
we created our own 2 custom recipie 1st recepie is for compiling our custom application which.
below is the code core-app.bb,
DEPENDS = “log4c openssl sqlite3 curl json-c dhcp lldpd mindconnect bluez5 fwupgrader”
RDEPENDS_${PN} += “bash”
emphasized text
#inherit externalsrc
S = “${OEBASE}/application/”
CRYPTO_PATH=“${OEBASE}/extras/package/”
BUILD_DIR = “${WORKDIR}/core-app”
SEM3_DIR = “${D}${prefix}/sem3”
SEM3_CNFG_DIR = “${SEM3_DIR}/config”
SEM3_BIN_DIR = “${SEM3_DIR}/bin”
SEM3_LIB_DIR = “${SEM3_DIR}/lib”
SEM3_BKUP_DIR = “${SEM3_DIR}/backup/”
INSANE_SKIP_${PN} = “ldflags”
INHIBIT_PACKAGE_DEBUG_SPLIT = “1”
INHIBIT_PACKAGE_STRIP = “1”
do_clean_core_app() {
- cd ${S}*
- echo
pwd
* - make clean VERBOSE=1 *
}
addtask clean_core_app before do_clean
do_fetch[noexec] = “1”
do_unpack[noexec] = “1”
*do_compile() { *
-
echo `pwd`*
- make APP=${APL} ARCH=arm SYSROOT=${TMPDIR}/sysroots/${MACHINE} VERBOSE=1 OUTDIR=${BUILD_DIR} ${PARALLEL_MAKE}*
}
do_install() {
-
install -d ${SEM3_BIN_DIR}*
-
make ARCH=arm install VERBOSE=1 OUTDIR=${BUILD_DIR} INSTALL_PREFIX=${SEM3_DIR}*
-
mkdir -p ${D}${sysconfdir}/lighttpd*
-
cp ${SEM3_CNFG_DIR}/lighttpd.conf ${D}${sysconfdir}/lighttpd*
}
1 more recipe custom-image.bb as below.
this contains below code,
*DEPENDS = "core-image-minimal *
-
core-app \*
-
lighttpd" *
*IMAGE_INSTALL:append = "core-app *
-
lighttpd"*
with the above changes if build “bitbake custom-image” i getting below error,
**ERROR: Unable to install packages “core-app lighttpd” **
Downloading file:/home/sem3user/111324/Trial/build/arago-tmp-default-glibc/work/am335x_evm-oe-linux-gnueabi/Custom-image/1.0-r0/oe-rootfs-repo/armv7at2hf-neon/lighttpd-module-accesslog_1.4.67-r0.0_armv7at2hf-neon.ipk.
Installing lighttpd-module-dirlisting (1.4.67) on root… etc.,
NOTE: dbus: Performing useradd with [–root /home/sem3user/111324/Trial/build/arago-tmp-default-glibc/work/am335x_evm-oe-linux-gnueabi/Custom-image/1.0-r0/rootfs --system --home /var/lib/dbus --no-create-home --shell /bin/false --user-group messagebus]
configuration error - unknown item ‘SYSLOG_SU_ENAB’ (notify administrator)
configuration error - unknown item ‘SYSLOG_SG_ENAB’ (notify administrator)
useradd: Warning: missing or non-executable shell ‘/bin/false’
Running useradd commands…
NOTE: ntp: Performing useradd with [–root /home/sem3user/111324/Trial/build/arago-tmp-default-glibc/work/am335x_evm-oe-linux-gnueabi/Custom-image/1.0-r0/rootfs --system --home-dir /var/lib/ntp --no-create-home --shell /bin/false --user-group ntp]
configuration error - unknown item ‘SYSLOG_SU_ENAB’ (notify administrator)
configuration error - unknown item ‘SYSLOG_SG_ENAB’ (notify administrator)
useradd: Warning: missing or non-executable shell ‘/bin/false’
Note: if i remove lighttpd build is fine…
what causes adding lighttpd to get above error?
How to overcome the above errors?