public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Anuj Mittal" <anuj.mittal@intel.com>
To: "steve@sakoman.com" <steve@sakoman.com>
Cc: "openembedded-core@lists.openembedded.org"
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [gatesgarth][PATCH 22/22] update_udev_hwdb: clean hwdb.bin
Date: Fri, 6 Nov 2020 16:04:36 +0000	[thread overview]
Message-ID: <9f21fe25eee1d915590f9398a8e91d67feb5c00f.camel@intel.com> (raw)
In-Reply-To: <CAOSpxdbqAbYhhHfR3sHUzOMakcvcECmM6UpjHUdKYw-Vi+_wmw@mail.gmail.com>

Hi Steve,

On Fri, 2020-11-06 at 05:45 -1000, Steve Sakoman wrote:
> This is another patch I don't see in master -- just in case there is
> a
> "master first" policy for gatesgarth.
> 

Yes, it should be master first. I can see it here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=994ca65e6f828dd38e0d7d09fb5243147ba4e36b

Thanks,

Anuj

> Steve
> 
> On Thu, Nov 5, 2020 at 8:29 PM Anuj Mittal <anuj.mittal@intel.com>
> wrote:
> > 
> > From: Mingli Yu <mingli.yu@windriver.com>
> > 
> > Steps to reproduce:
> > echo "IMAGE_INSTALL_append = \" udev-hwdb lib32-udev-hwdb\"" >>
> > conf/local.conf
> > 
> > When install both udev-hwdb and lib32-udev-hwdb as above,
> > there comes below do_populate_sdk error:
> >  $ bitbake core-image-sato  -c populate_sdk
> >  ERROR: Task (/path/core-image-sato.bb:do_populate_sdk) failed with
> > exit code '134'
> >  NOTE: Tasks Summary: Attempted 5554 tasks of which 0 didn't need
> > to be rerun and 1 failed.
> > 
> >  $ cat /path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-
> > r5/pseudo/pseudo.log
> >  [snip]
> >  inode mismatch: '/path/tmp/work/qemux86_64-poky-linux/core-image-
> > sato/1.0-r5/sdk/image/usr/local/oecore-x86_64/sysroots/core2-64-
> > poky-linux/lib/udev/hwdb.bin' ino 427383040 in db, 427383042 in
> > request.
> >  [snip]
> > 
> > It is because both udev-hwdb and lib32-udev-hwdb will generate
> > ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/udev/hwdb.bin during
> > do_populate_sdk
> > and it triggers pseudo error.
> > 
> > So clean hwdb.bin before generate hwdb.bin to avoid conflict to
> > fix the above do_populate_sdk error.
> > 
> > (From OE-Core rev: c7472925feb53ce92c1799feba2b7a9104e3f38f)
> > 
> > Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > (cherry picked from commit
> > 994ca65e6f828dd38e0d7d09fb5243147ba4e36b)
> > Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
> > ---
> >  scripts/postinst-intercepts/update_udev_hwdb | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/scripts/postinst-intercepts/update_udev_hwdb
> > b/scripts/postinst-intercepts/update_udev_hwdb
> > index 102e99b947..8076b8ae6f 100644
> > --- a/scripts/postinst-intercepts/update_udev_hwdb
> > +++ b/scripts/postinst-intercepts/update_udev_hwdb
> > @@ -17,5 +17,6 @@ case "${PREFERRED_PROVIDER_udev}" in
> >                 ;;
> >  esac
> > 
> > +rm -f $D${UDEVLIBDIR}/udev/hwdb.bin
> >  PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D
> > $D${libexecdir}/${binprefix}udevadm hwdb --update --root $D
> > ${UDEV_EXTRA_ARGS}
> >  chown root:root $D${UDEVLIBDIR}/udev/hwdb.bin
> > --
> > 2.28.0
> > 
> > 
> > 
> > 
> 
> 
> 


  reply	other threads:[~2020-11-06 16:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06  6:27 [gatesgarth][PATCH 00/22] gatesgarth review request Anuj Mittal
2020-11-06  6:27 ` [gatesgarth][PATCH 01/22] gstreamer1.0: Fix reproducibility issue around libcap Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 02/22] gstreamer1.0: Update 1.16.2 -> Update 1.16.3 Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 03/22] gstreamer1.0-plugins-base: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 04/22] gstreamer1.0-plugins-good: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 05/22] gstreamer1.0-plugins-bad: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 06/22] gstreamer1.0-plugins-ugly: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 07/22] gstreamer1.0-libav: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 08/22] gstreamer1.0-vaapi: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 09/22] gstreamer1.0-rtsp-server: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 10/22] gstreamer1.0-omx: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 11/22] gstreamer1.0-python: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 12/22] gst-validate: " Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 13/22] bluez5: fix CVE-2020-27153 Anuj Mittal
2020-11-06 15:12   ` [OE-core] " Steve Sakoman
2020-11-11  7:06     ` Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 14/22] ruby: fix CVE-2020-25613 Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 15/22] libsdl2: Fix directfb syntax error Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 16/22] libsdl2: Fix directfb SDL_RenderFillRect Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 17/22] grub: clean up CVE patches Anuj Mittal
2020-11-06 15:14   ` [OE-core] " Steve Sakoman
2020-11-06 16:07     ` Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 18/22] qemuboot.bbclass: Fix a typo Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 19/22] common-licenses: add bzip2-1.0.4 Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 20/22] recipes-core/busybox: fixup licensing information Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 21/22] apt: remove host contamination with gtest Anuj Mittal
2020-11-06  6:28 ` [gatesgarth][PATCH 22/22] update_udev_hwdb: clean hwdb.bin Anuj Mittal
2020-11-06 15:45   ` [OE-core] " Steve Sakoman
2020-11-06 16:04     ` Anuj Mittal [this message]
2020-11-06 16:30       ` Steve Sakoman

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=9f21fe25eee1d915590f9398a8e91d67feb5c00f.camel@intel.com \
    --to=anuj.mittal@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=steve@sakoman.com \
    /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