gotthardp / meta-lorawan

OpenEmbedded/Yocto Project layer with LoRaWAN tools
5 stars 3 forks source link

V0.6.7 fire an error building for Lorix One #6

Closed hallard closed 5 years ago

hallard commented 5 years ago
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: lorawan-server-0.6.70-r0 do_package: QA Issue: lorawan-server: Files/directories were installed but not shipped in any package:
  /etc
  /etc/init.d
  /etc/default
  /etc/init.d/lorawan-server
  /etc/default/lorawan-server
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lorawan-server: 5 installed and not shipped files. [installed-vs-shipped]
ERROR: lorawan-server-0.6.70-r0 do_package: Fatal QA errors found, failing task.
ERROR: lorawan-server-0.6.70-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/lorix/lorix/poky/build/tmp/work/cortexa5hf-neon-poky-linux-gnueabi/lorawan-server/0.6.70-r0/temp/log.do_package.27709
ERROR: Task 11 (/home/lorix/lorix/meta-lorawan/recipes-core/lorawan-server/lorawan-server_0.6.70.bb, do_package) failed with exit code '1'

removing erlang from line

#inherit useradd update-rc.d erlang npm
inherit useradd update-rc.d npm

fixed this issue, don't understand why.

gotthardp commented 5 years ago

Thanks for reporting this. Adding one of the inherit commands somehow confused the packaging. I believe I just fixed that. (Tested on my environment.)