On Mon, Jul 23, 2018 at 1:29 PM, Simon Chamlian <simon.chaml...@mpbc.ca> wrote: > Hi, > > In order to remove package from busybox, I used: > > $ bitbake -c menuconfig busybox > > Under 'System Logging Itilities -->' I unchecked syslogd > > Then ran > $ bitbake busybox > > and I get the following error: > > WARNING: busybox-1.24.1-r0 do_package: busybox: alternative target > (/etc/syslog.conf or /etc/syslog.conf.busybox) does not exist, skipping... > WARNING: busybox-1.24.1-r0 do_package: busybox: NOT adding alternative > provide /etc/syslog.conf: /etc/syslog.conf.busybox does not exist > > ERROR: busybox-1.24.1-r0 do_package: SYSTEMD_SERVICE_busybox-syslog value > busybox-syslog.service does not exist > > > ERROR: busybox-1.24.1-r0 do_package: Function failed: > systemd_populate_packages > > > ERROR: Logfile of failure stored in: > /opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/busybox/1.24.1-r0/temp/log.do_package.30881 > > ERROR: Task > (/opt/PHYTEC_BSPs/yocto_imx7/sources/poky/meta/recipes-core/busybox/busybox_1.24.1.bb:do_package) > failed with exit code '1' > > NOTE: Tasks Summary: Attempted 711 tasks of which 705 didn't need to be > rerun and 1 failed. > > What am I doing wrong?
The "correct" way to disable syslog support in busybox would probably be to create a .bbappend which contains: SRC_URI_remove = "file://syslog.conf" ie you would remove the config fragment which enables syslog from SRC_URI. However, customising busybox like that gets almost no testing, so there could certainly still be bugs. -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto