I have a yocto image into which I have included the CUPS package (using IMAGE_INSTALL_append
).
While running the OS, I couldn't find the cups file in /etc/init.d
.
I started cups using cupsd
. When I tried accessing the web interface using localhost:631
, I got a not found error
. The console shows that it is not able to load resources on any of those URLS:
http://localhost:631/favicon.ico
The html and related files seem to be listed in the cups.inc
file. Are there additional configuration changes that need be made before doing the YOCTO build or on the CUPS setup?
Since I am very new to yocto and developing in a linux environment, I am not sure if I am missing something obvious.
You made good research pointing to the recipe and were actually close to find the solution.
In the recipe, you can read:
Is
sysvinit
in yourDISTRO_FEATURES
?If you don't know you can do
This question is quite old and already has an accepted answer. Nevertheless, it may be of use for someone else facing the same problem of missing static html content of the CUPS Web interface.
The CUPS recipe packages the static web content into cups-doc. Thus, instead of
it should be
in your conf/local.conf. Then, also the files under /usr/share/doc/cups were added to the rootfs.
Check
that was entirely missing before adding the cups-doc package.