[oe] [meta-webserver][PATCHv4] monkey: new v1.5.1 release.

Martin Jansa martin.jansa at gmail.com
Fri Jul 25 10:05:07 UTC 2014


On Sun, Jul 20, 2014 at 11:47:25PM +0200, Martin Jansa wrote:
> On Sun, Jul 20, 2014 at 03:15:00PM -0600, Eduardo Silva wrote:
> > Hi Martin,
> > 
> > I was trying to reproduce the problem that you faced but here it worked
> > fine. My local.conf looks like this:
> > 
> > --
> > BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
> > PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
> > MACHINE ??= "qemux86"
> > DISTRO ?= "poky"
> > PACKAGE_CLASSES ?= "package_rpm"
> > EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > USER_CLASSES ?= "buildstats image-mklibs image-prelink"
> > PATCHRESOLVE = "noop"
> > BB_DISKMON_DIRS = "\
> >     STOPTASKS,${TMPDIR},1G,100K \
> >     STOPTASKS,${DL_DIR},1G,100K \
> >     STOPTASKS,${SSTATE_DIR},1G,100K \
> >     ABORT,${TMPDIR},100M,1K \
> >     ABORT,${DL_DIR},100M,1K \
> >     ABORT,${SSTATE_DIR},100M,1K"
> > PACKAGECONFIG_pn-qemu-native = "sdl"
> > ASSUME_PROVIDED += "libsdl-native"
> > CONF_VERSION = "1"
> > 
> > INHERIT += ""
> > 
> > IMAGE_INSTALL_append = " monkey dropbear"
> > DISTRO_FEATURES_append = " systemd"
> > VIRTUAL-RUNTIME_init_manager = "systemd"
> > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> > VIRTUAL-RUNTIME_initscripts = ""
> > --
> > 
> > a fresh build of 'bitbake -k core-image-sato' worked with the following .bb:
> > 
> >     b40e6ecaed2b10ba9c9aba4f128b029a  monkey_1.5.1.bb
> > 
> > before the test i make sure to clean the monkey stuff with 'bitbake -c
> > cleanall monkey'.  Do you see any difference between your system and mine
> > ?, i am very interested into reproduce the problem you detected.
> 
> Please see rm_sysvinit_initddir function in systemd.bbclass
> 
> My builds are using "distroless" setup, if you're using poky then it's
> possible that there is still sysvinit added in your DISTRO_FEATURES
> somewhere (check bitbake -e monkay) so the sysv init script isn't
> removed in the end for you.

I've just noticed that CONFFILES is set to
${sysconfdir}/monkey/

so it's not caused by missing init.d script but whole
${sysconfdir}/monkey/ is empty in PN, can you check what's installed
there in your builds?

It's either not installed when some dependency is missing or it's
included in different package in my build (knowing which file to look
for would help).

Thanks

> Thanks
> 
> > On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa <martin.jansa at gmail.com>
> > wrote:
> > 
> > > On Fri, Jul 18, 2014 at 12:19:29PM -0600, Eduardo Silva wrote:
> > > > >
> > > > > Now it failed with:
> > > > >
> > > > > | NOTE: Not creating empty archive for monkey-locale-1.5.1-r0.2
> > > > > | *** Error: CONTROL/conffiles mentions conffile /etc/monkey/ which
> > > does
> > > > > not exist
> > > > > |
> > > > > | opkg-build: Please fix the above errors and try again.
> > > > >
> > > > > I guess it's because sysvinit script was removed by
> > > update-rc.d.bbclass and
> > > > > then nothing was left in /etc/monkey
> > > > >
> > > > >
> > > > thanks for the report. Which specific build options did you use (and
> > > image)
> > > > ?, i would like to be able to reproduce that problem locally, not sure
> > > why
> > > > my tests passed.
> > >
> > > world builds as described on
> > > http://www.openembedded.org/wiki/Bitbake_World_Status
> > >
> > > probably the most important difference is:
> > > # use systemd
> > > DISTRO_FEATURES_append = " systemd"
> > > DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
> > > VIRTUAL-RUNTIME_init_manager = "systemd"
> > > VIRTUAL-RUNTIME_initscripts = ""
> > >
> > > --
> > > Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
> > >
> > 
> > 
> > -- 
> > Eduardo Silva
> > Monkey Software
> > -- 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140725/e5194af6/attachment-0002.sig>


More information about the Openembedded-devel mailing list