Yes if the links for busybox klogd and syslogd were only generated in busybox-syslog that would fix the problem instead of putting the update-alternative back in sysklogd.
On Tue, May 22, 2018 at 10:41 PM, ChenQi <[email protected]> wrote: > Is it because that these two commands are packaged into busybox instead of > busybox-syslog? > If some layer introduces such change, then a bbappend file in that layer > needs to be added to also modify sysklogd recipe accordingly. > > Anyway, thanks for raising this problem up. When checking the sysklogd > recipe, I found a typo from my previous patch. > I've sent out patch to fix it. > > git://git.pokylinux.org/poky-contrib ChenQi/sysklogd-typo > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/sysklogd-typo > > > > Best Regards, > Chen Qi > > > > On 05/22/2018 11:28 PM, Brian Walsh wrote: > > I have run into an issue building against sumo branch (using opkg if that > matters). This patch removed the update-alternatives for sysklogd. > > https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c83eb10f70b714ce3a8c165fad547d800f3ed27d > > However, busybox is still configured with syslog support. The script that > generates all of the symlinks for busybox runs during the main busybox > package post install. This causes the post install to exit with an error > since it can't create the links for klogd and syslogd if sysklogd is > installed without update alternatives. > > From busybox.postinst: > > update-alternatives --install /sbin/klogd klogd /bin/busybox.nosuid 50 > update-alternatives --install /sbin/syslogd syslogd /bin/busybox.nosuid 50 > > I think that patch needs to be reverted. The rconflicts for busybox-syslog > and sysklogd takes care of the conflicting config file name that is shared > between the two packages but we still need the update-alternatives. Unless > the function that generates the busybox symlinks gets smart enough to > generate the symlinks only in the busybox-syslog package. > > > > > > -- > _______________________________________________ > yocto mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/yocto > -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
