Hello,
I have written a shell script to change the password for my root user.
I want to execute this script file after board boots
So i created .bb file as follows:
*SUMMARY = "Initscript for enabling root pwd"
LICENSE = "GPLv2"
#LIC_FILES_CHKSUM = "file://${WORKDIR}/root_vpd; md5=
bc4963ad2e7baa1c3bdfc9031d8453 f0"
PR = "r0"
SRC_URI = "file://root_vpd"
S = "${WORKDIR}"
do_install() {
install -d ${D}${sysconfdir}
install -d ${D}${sysconfdir}/init.d
install -m 0755 root_vpd ${D}${sysconfdir}/init.d
}
inherit update-rc.d allarch
INITSCRIPT_NAME = "root-vpd"
INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."*
and i copied the script file in the sam efolder
BUt when i do bitbake of above recipew i get this error :
Parsing recipes: 100% |#############################
############################## ##############################
############################## | Time: 0:00:01
Parsing of 1992 .bb files complete (1982 cached, 10 parsed). 4688 targets, 384
skipped, 1 masked, 0 errors.
ERROR: Nothing PROVIDES pwd.bb ( http://pwd.bb/ )
--
Thanks,
raghu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48982): https://lists.yoctoproject.org/g/yocto/message/48982
Mute This Topic: https://lists.yoctoproject.org/mt/72645052/21656
Mute #yocto: https://lists.yoctoproject.org/mk?hashtag=yocto&subid=6691583
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-