All of lore.kernel.org
 help / color / mirror / Atom feed
* Add a customised shell script to be invked after board bootso #yocto
@ 2020-03-30  3:16 Raghu Icecraft Software Trainings
  0 siblings, 0 replies; only message in thread
From: Raghu Icecraft Software Trainings @ 2020-03-30  3:16 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3106 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-30  3:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30  3:16 Add a customised shell script to be invked after board bootso #yocto Raghu Icecraft Software Trainings

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.