[yocto-builds] auto startup script for raspberry pi using yocto

Ramji Wagmode wagmode.ramji at gmail.com
Thu Feb 7 22:45:40 PST 2019


Hi,
if I run like:*bitbake rpi-basic-image*
**ERROR: dl-mgr-0.1-r0 do_install: Function failed: do_install (log file is
located at
/home/chandra/yoctorpi/mender-raspberrypi/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/dl-mgr/0.1-r0/temp/log.do_install.3881)
ERROR: Logfile of failure stored in:
/home/chandra/yoctorpi/mender-raspberrypi/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/dl-mgr/0.1-r0/temp/log.do_install.3881
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are
[’/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-core/glibc/glibc_2.28.bb:do_populate_sysroot’,
‘/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_8.2.bb:do_populate_sysroot’,
‘/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-devtools/gcc/gcc-cross_8.2.bb:do_populate_sysroot’,
‘virtual:native:/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’,
‘/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot’,
‘/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-core/systemd/systemd-systemctl-native.bb:
do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘glibc’, ‘gcc-runtime’,
‘gcc-cross-arm’, ‘pseudo-native’, ‘quilt-native’,
‘systemd-systemctl-native’, ‘linux-libc-headers’, ‘libgcc’,
‘libtool-native’, ‘gmp-native’, ‘autoconf-native’, ‘libmpc-native’,
‘texinfo-dummy-native’, ‘zlib-native’, ‘xz-native’, ‘flex-native’,
‘gnu-config-native’, ‘mpfr-native’, ‘automake-native’,
‘binutils-cross-arm’, ‘m4-native’, ‘gettext-minimal-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
*| install: cannot stat ‘dl-mgr.sh’: No such file or directory*
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/home/chandra/yoctorpi/mender-raspberrypi/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/dl-mgr/0.1-r0/temp/log.do_install.3881)
ERROR: Task
(/home/chandra/yoctorpi/mender-raspberrypi/build/…/sources/poky/meta/recipes-core/dl-mgr/dl-mgr_0.1.bb:do_install)
failed with exit code ‘1’
**
*dl-mgr_0.1.bb <http://dl-mgr_0.1.bb> contains:*
**LICENSE=“CLOSED”

SRC_URI = "file://dl-mgr.sh
file://dl-mgr.service
"

inherit systemd

SYSTEMD_SERVICE_${PN} = “dl-mgr.service”

FILES_{PN} = " {systemd_unitdir}/system/dl-mgr.service ${sbindir}/dl-mgr/sh"

do_install() {
install -d {D}/{sbindir}
install -m 0755 dl-mgr.sh {D}/{sbindir}
Copy

    install -d ${D}${systemd_unitdir}/system
    install -c -m 0644 ${WORKDIR}/dl-mgr.service ${D}${systemd_unitdir}/system

}
**
help me out.
Thanks…
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto-builds/attachments/20190208/4578db62/attachment.html>


More information about the yocto-builds mailing list