I have debugged comparing 3.17.10 and 3.17.11.
hplip-3.17.11 added createPPD.sh.
In yocto, build through the following steps.
do_fetch -> de_unpack -> do_configure -> do_compile -> do_install
It looks like you are running createPPD.sh in the do_compile (make) step.
createPPD.sh edits cups_drv.inc.
The odd thing is that when createPPD.sh is run, "ppd/hpcups/*.ㅔpd.gz" is added to the cups_drv.inc file.
cups_ppd_printers = \
ppd/hpcups/*.ppd.gz \
ppd/hpcups/apollo-2100.ppd.gz \
ppd/hpcups/apollo-2150.ppd.gz \
ppd/hpcups/apollo-2200.ppd.gz \
ppd/hpcups/apollo-2500.ppd.gz \
"ppd/hpcups/*.ppd.gz" is also added to the Makefile.
This causes the "ppd/hpcups/*.ppd.gz" file to be created in the ppd folder in the do_install step.
tykwon:HP$
tykwon:HP$ pwd
/home/tykwon/yocto/build/tmp/work/armv7ahf-vfp-poky-linux-gnueabi/hplip/3.18.6-r1/image/usr/share/ppd/HP
tykwon:HP$ ls
*.ppd.gz hp-deskjet_4530_series.ppd.gz hp-laserjet_5100_series-ps.ppd.gz hp-officejet_7100_series.ppd.gz
apollo-2100.ppd.gz hp-deskjet_460.ppd.gz hp-laserjet_5200-pcl3.ppd.gz hp-officejet_7110_series.ppd.gz
apollo-2150.ppd.gz hp-deskjet_4610_series.ppd.gz hp-laserjet_5200-ps.ppd.gz hp-officejet_7200_series.ppd.gz
apollo-2200.ppd.gz
tykwon:HP$
tykwon:HP$ ls -al \*.ppd.gz
-rw-r--r-- 1 tykwon tykwon 0 6월 26 14:31 *.ppd.gz
tykwon:HP$
I have modified createPPD.sh to solve this problem.
Remove the text "ppd/hpcups/*.ppd.gz" from the cups_drv.inc file.
I have debugged comparing 3.17.10 and 3.17.11.
hplip-3.17.11 added createPPD.sh.
In yocto, build through the following steps.
do_fetch -> de_unpack -> do_configure -> do_compile -> do_install
It looks like you are running createPPD.sh in the do_compile (make) step.
createPPD.sh edits cups_drv.inc.
The odd thing is that when createPPD.sh is run, "ppd/hpcups/ *.ㅔpd.gz" is added to the cups_drv.inc file. hpcups/ *.ppd.gz \ hpcups/ apollo- 2100.ppd. gz \ hpcups/ apollo- 2150.ppd. gz \ hpcups/ apollo- 2200.ppd. gz \ hpcups/ apollo- 2500.ppd. gz \ *.ppd.gz" is also added to the Makefile.
cups_ppd_printers = \
ppd/
ppd/
ppd/
ppd/
ppd/
"ppd/hpcups/
This causes the "ppd/hpcups/ *.ppd.gz" file to be created in the ppd folder in the do_install step. yocto/build/ tmp/work/ armv7ahf- vfp-poky- linux-gnueabi/ hplip/3. 18.6-r1/ image/usr/ share/ppd/ HP 4530_series. ppd.gz hp-laserjet_ 5100_series- ps.ppd. gz hp-officejet_ 7100_series. ppd.gz 460.ppd. gz hp-laserjet_ 5200-pcl3. ppd.gz hp-officejet_ 7110_series. ppd.gz 4610_series. ppd.gz hp-laserjet_ 5200-ps. ppd.gz hp-officejet_ 7200_series. ppd.gz
tykwon:HP$
tykwon:HP$ pwd
/home/tykwon/
tykwon:HP$ ls
*.ppd.gz hp-deskjet_
apollo-2100.ppd.gz hp-deskjet_
apollo-2150.ppd.gz hp-deskjet_
apollo-2200.ppd.gz
tykwon:HP$
tykwon:HP$ ls -al \*.ppd.gz
-rw-r--r-- 1 tykwon tykwon 0 6월 26 14:31 *.ppd.gz
tykwon:HP$
I have modified createPPD.sh to solve this problem. *.ppd.gz" from the cups_drv.inc file.
Remove the text "ppd/hpcups/
Attachments are related pictures and patch files.