I would like to setup my slp650 printer on my tx6s-8035 KARO Board using yocto. I add the cups package on my local.conf and i create a recipe for the slp650 driver that i add as a package too in my local.conf file. The build work well and when i verify cups service afater starting kernel on my board, i realize that there is no cups service on my system. In the cups recipe, in do_install task, it precise that if there is no sysvint on the distro, it will remove service but in my distro, i use sysvinit. Anyone could help me to activate cups service on my embedded linux system? I use Ka-ro NXP/Freescale Yocto Project Community BSP recipe layers for yocto distro krogoth.
Asked
Active
Viewed 968 times
0
-
Did you look at https://stackoverflow.com/questions/45220470/cups-web-interface-on-yocto ? – Nayfe Mar 22 '18 at 14:32
-
Also, see: https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#new-recipe-enabling-system-services – Stephano Mar 22 '18 at 16:04
-
Thanks for all ! – vlad zouth Mar 26 '18 at 09:17
1 Answers
1
You need to add something like this to cups bbappend file
inherit update-rc.d
INITSCRIPT_NAME = "cups"
INITSCRIPT_PARAMS = "defaults"
SRC_URI += "file://cups.initd"
do_install_append () {
install -d -m 0755 ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/cups.initd ${D}${sysconfdir}/init.d/cups
}
with cups.initd the shell script to launch cups

Nayfe
- 2,130
- 13
- 18