Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-webserver][PATCHv4] monkey: new v1.5.1 release.
Date: Sun, 20 Jul 2014 23:47:25 +0200	[thread overview]
Message-ID: <20140720214725.GG22875@jama> (raw)
In-Reply-To: <CAEaCVQjMYWSZQQYj+wueXund=+XRyfnzXtmrg6WW8FyCSztukQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3580 bytes --]

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.

Thanks

> On Fri, Jul 18, 2014 at 12:27 PM, Martin Jansa <martin.jansa@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@gmail.com
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> 
> 
> -- 
> Eduardo Silva
> Monkey Software
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-07-20 21:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-12  6:37 [meta-webserver][PATCHv4] monkey: new v1.5.1 release Eduardo Silva
2014-07-17 17:06 ` Eduardo Silva
2014-07-18 18:15 ` Martin Jansa
2014-07-18 18:19   ` Eduardo Silva
2014-07-18 18:27     ` Martin Jansa
2014-07-20 21:15       ` Eduardo Silva
2014-07-20 21:47         ` Martin Jansa [this message]
2014-07-25 10:05           ` Martin Jansa
2014-07-26 15:03             ` Eduardo Silva
2014-07-30 20:12               ` Directories in CONFFILES Was: " Martin Jansa
2014-08-04 19:57               ` Eduardo Silva
2014-08-05  7:50                 ` Martin Jansa
2014-08-07  4:51                   ` Eduardo Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140720214725.GG22875@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox