[yocto-security] [OE-core CVE] branch master-next updated. uninative-2.2-232-gde8020a

cve-notice at lists.openembedded.org cve-notice at lists.openembedded.org
Mon Aug 13 07:01:39 PDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".

The branch, master-next has been updated
  discards  b47df700e56c6c30219efe0593fd3527b43b0509 (commit)
  discards  13f3ecc3dde6f0fa4a828d64aa8b7995fca2b3de (commit)
  discards  3195cea56ccd814e253ff5cd92b5bc9ddc88a008 (commit)
  discards  35e73c18a481979bc1fd2b0da8440304bb150a8d (commit)
  discards  99bf899448c765b5153cb023bd74e46d16fd8872 (commit)
  discards  45b2683fe7c273a25c9e2d7fb6b89031d091663c (commit)
  discards  41e1d5d9574ccd2012df87acb0df18b5062bd987 (commit)
  discards  e206035db35c664101f74ef04905c4d60f4ebdc6 (commit)
  discards  148fcd1365ece758d863cd90a21916498eef61f1 (commit)
  discards  2c29d635f820cb87973a7792a32331edbe246dc5 (commit)
  discards  f02f6b8409780c940fdb309514ae4129d4ebf747 (commit)
  discards  ac1a05de6e0ccaed7c2701522d5dcdf8bdeee5cd (commit)
  discards  784e39794f2b5867b35bc873711bdc8b70f589e6 (commit)
  discards  cbeeecf552fd70cd555acbd1b46ff6d6d5d90512 (commit)
  discards  ecf8470fbb18163efaa44ea7f10afed53c4dda47 (commit)
  discards  b4a1cc1d265bcec2b87f22206a5508f40a67cf26 (commit)
  discards  80f3dd34c854e2c8f229e2fb998ab827b1accabe (commit)
  discards  65690f8cd03e5e86bb12350071ffc397606f320c (commit)
  discards  653bf10847b42b3f06130fac8d4b3dabd7bcf63f (commit)
  discards  327807134d1a039ee99acf75a54b76c27a74c195 (commit)
  discards  342f1c3e53c541ff13483891409b4f2e0a9256c4 (commit)
  discards  54d11034e5df52079d2b354bdff82da18fc6688e (commit)
       via  de8020a0296c3cccbf7c26967c2049f01abdd8fa (commit)
       via  b4992195be03bbaafcae958e18a55cb33f09eb1a (commit)
       via  42e57f15f366e93e75d10eff2ffcd356254ae0ac (commit)
       via  f77062c5f886a98dedc593ac2241fef58729bf93 (commit)
       via  4984bba981e396e09edb38ef6ff78ae152186297 (commit)
       via  94f1c3615be929a4607f645478972087cb07c4ed (commit)
       via  f415f5293de455dadd98ab36723ce2638f66e774 (commit)
       via  74172e3a406b56cb9a041965df87d7a5b55b03bb (commit)
       via  0a520ba4f5d86b28eb858f7e1e9e80501a0686f9 (commit)
       via  b4b893f01d230943bf4d6fa151162eb6d2b4e91c (commit)
       via  20e79586465b1dd17cf908cf91bdf6e1d3610f31 (commit)
       via  96099a83ee9db2237c4256f37e41b137c5809f30 (commit)
       via  e51ef5963797b6bd503797f46e5ff6fe48b7fb41 (commit)
       via  00d99f103310ba09c10c4da83f742959d73b69c3 (commit)
       via  d1ffb81fed804536e8b8a4b03ad83e54582ac490 (commit)
       via  34d4569690b9f08b54fd46115bcca94462997811 (commit)
       via  d722097d06892f59bee19e024c3434dc3c70b706 (commit)
       via  4f994cd44d8d51e23bd6eff8a4e180e91b135ab5 (commit)
       via  c9ee65e397abb56d9eb506f9608ef242061479cc (commit)
       via  8e35a771909805fed53b145607faaa3d06faba7d (commit)
       via  3fd99d5a295d179862172278b442b49a2119cb57 (commit)
       via  909539bc3d10aa86ad79e9894aa57c0c51311e7f (commit)
       via  eacf40dc0c53aad011324191e06f7e7cb6fd9b1f (commit)
       via  6a8d3dba3dd737faadfee34df560a06e7deefd80 (commit)
       via  1afe5987f1486ec62ef8562e3d24f24f7ae76a33 (commit)
       via  8ffe08ce63f1f0fbe72504c64bca37acd9849ee0 (commit)
       via  f7ee98927810bd0efb59f17c24b6ae53d2d3272f (commit)
       via  de56eb3423461852fe91ba64abadf3855771a3c2 (commit)
       via  1d3458c42261c313f892ee37990e73938681f6a1 (commit)
       via  253ab402527293d09622d21f167c0fc97048015f (commit)
       via  fd4f61b8b7a91f642310504f8ed554a1b563fc28 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (b47df700e56c6c30219efe0593fd3527b43b0509)
            \
             N -- N -- N (de8020a0296c3cccbf7c26967c2049f01abdd8fa)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit de8020a0296c3cccbf7c26967c2049f01abdd8fa
Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Aug 11 09:54:00 2018 -0700

    devtool: Use ConfigParser instead of SafeConfigParser
    
    The SafeConfigParser class has been renamed to ConfigParser in Python
    3.2+ see
    
    http://bugs.python.org/issue10627
    
    This alias will be removed in future versions.So we can use
    ConfigParser directly instead.
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit b4992195be03bbaafcae958e18a55cb33f09eb1a
Author: Mikko Rapeli <mikko.rapeli at bmw.de>
Date:   Mon Aug 13 12:42:17 2018 +0300

    perf: fail if src path does not exist
    
    A missing src directory from a broken kernel recipe resulted
    only in a warning:
    
    WARNING: copyfile: stat of /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch failed ([Errno 2] No such file or directory: '/home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch')
    
    and the build failed horribly.
    
    With this change it's an error which can not be missed:
    
    ERROR: perf-1.0-r9 do_configure: Path does not exist: /home/builder/src/tmp-glibc/work-shared/target/kernel-source/tools/arch. Maybe PERF_SRC does not match the kernel version.
    ERROR: perf-1.0-r9 do_configure: Function failed: copy_perf_source_from_kernel
    ERROR: Logfile of failure stored in: /home/builder/src/tmp-glibc/work/target-linux/perf/1.0-r9/temp/log.do_configure.21083
    NOTE: recipe perf-1.0-r9: task do_configure: Failed
    ERROR: Task (/home/builder/src/poky/meta/recipes-kernel/perf/perf.bb:do_configure) failed with exit code '1'
    
    To get get perf compiling from a custom kernel, a perf.bbappend can be
    created which defines PERF_SRC as list of files and directories needed
    from kernel source tree to compile perf. This varies between kernel
    versions.
    
    Signed-off-by: Mikko Rapeli <mikko.rapeli at bmw.de>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 42e57f15f366e93e75d10eff2ffcd356254ae0ac
Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Aug 13 16:54:37 2018 +0800

    parselogs.py: output correct log location
    
    The log entry in results is altered to remove 'target_logs'. This
    causes wrong log location in output.
    
    e.g.
       AssertionError: 1 != 0 : Log: /path/to/image/1.0-r0/postinstall.log
    
    But when user wants to check the log, the user will find the log is
    not present. The actual log file is /path/to/image/1.0-r0/target_logs/postinstall.log.
    
    So fix to use the correct log location.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit f77062c5f886a98dedc593ac2241fef58729bf93
Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Aug 13 17:43:23 2018 +0800

    man-db: rdepend on base-passwd to ensure installation order
    
    Make man-db rdepend on base-passwd to ensure that base-passwd is
    installed before man-db at rootfs time. This is to avoid the following
    warning at rootfs time.
    
      warning: user man does not exist - using root
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 4984bba981e396e09edb38ef6ff78ae152186297
Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Aug 13 17:43:22 2018 +0800

    man-db: add volatile configuration file for sysvinit
    
    Add volatile configuraiton file for man-db so that in sysvinit systems
    we don't get failure when running `mandb'. The error message is like
    below.
    
      mandb: can't create index cache /var/cache/man/579: No such file or
      directory
    
    [YOCTO #12872]
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 94f1c3615be929a4607f645478972087cb07c4ed
Author: Zhixiong Chi <zhixiong.chi at windriver.com>
Date:   Mon Aug 13 00:04:25 2018 -0700

    mobile-broadband-provider-info: fix .pc file conflict
    
    Issue: LIN10-4485
    
    Error: Transaction check error:
      file /usr/share/pkgconfig/mobile-broadband-provider-info.pc from install of \
      lib32-mobile-broadband-provider-info-dev.core2_32 conflicts with file from package \
      mobile-broadband-provider-info-dev.core2_64
    
    Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit f415f5293de455dadd98ab36723ce2638f66e774
Author: Zhixiong Chi <zhixiong.chi at windriver.com>
Date:   Mon Aug 13 00:04:24 2018 -0700

    nspr: fix script conflict for multilib
    
    Stop the nspr-config scripts conflicting in a multilib case.
    
    Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 74172e3a406b56cb9a041965df87d7a5b55b03bb
Author: Zhixiong Chi <zhixiong.chi at windriver.com>
Date:   Mon Aug 13 00:04:23 2018 -0700

    libevent: fix the multilib header conflict
    
    Error: Transaction check error:
      file /usr/include/event2/event-config.h conflicts between attempted installs of libevent-dev-2.1.8-r0.skylake_64 and lib32-libevent-dev-2.1.8-r0.x86
    
    The conflict is the size macro definition between 32bit and 64bit
    such as:
    < #define EVENT__SIZEOF_LONG 8
    > #define EVENT__SIZEOF_LONG 4
    < #define EVENT__SIZEOF_PTHREAD_T 8
    > #define EVENT__SIZEOF_PTHREAD_T 4
    
    Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 0a520ba4f5d86b28eb858f7e1e9e80501a0686f9
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Aug 13 12:44:05 2018 +0000

    glibc: Fix locale archive path patch
    
    The locale code uses the archive location in two places, ensure both are
    corrected to use the environment variable which avoids nasty build
    failures when archiving locales in images.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit b4b893f01d230943bf4d6fa151162eb6d2b4e91c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Aug 13 11:40:03 2018 +0000

    image: Add locale archive optimisation
    
    Refactor the locale archive function from the SDK to also make it work during
    general image creation. This reduces the size of the locales from 900MB to 220MB
    in core-image-lsb-sdk.
    
    The exception handling around subprocess was dropped as the standard subprocess
    exception printing is better handled than the catchall exception.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 20e79586465b1dd17cf908cf91bdf6e1d3610f31
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Aug 12 22:29:18 2018 +0000

    selftest/package: Add test to ensure sparse files are preserved
    
    Add a new element to the hardlink test to check we also preseve file
    sparseness during the packing process. This should ensure we don't regress this
    issue again.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 96099a83ee9db2237c4256f37e41b137c5809f30
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sun Aug 12 22:29:49 2018 +0000

    package: Fix file copying to preserve sparse files
    
    We want to preserve sparse files when building the system, add the option
    to tar to ensure we do this when copying files.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit e51ef5963797b6bd503797f46e5ff6fe48b7fb41
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Aug 11 16:07:18 2018 +0000

    xf86-video-intel: Fix for glibc
    
    It fails to build wi9th glibc 2.28, add the missing required header inclusion.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 00d99f103310ba09c10c4da83f742959d73b69c3
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Aug 11 16:06:54 2018 +0000

    screen: Add virtual/crypt dependency
    
    screen uses crypt() so add the missing DEPENDS triggered by glibc 2.28.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit d1ffb81fed804536e8b8a4b03ad83e54582ac490
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Aug 11 11:30:28 2018 +0100

    glibc: Add make-native depends
    
    glibc needs make >= 4 yet some of our build workers have older versions of
    make. Add a make-native dependency to work around this until all our supported
    distros have a recent version of make.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 34d4569690b9f08b54fd46115bcca94462997811
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Jul 10 18:57:56 2018 +0100

    oe-selftest: quick hack to test
    
    (From OE-Core rev: aa5fd58151b4bee84ebdb3e93fec8960312acd5d)
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit d722097d06892f59bee19e024c3434dc3c70b706
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:25 2018 -0700

    sysvinit: Fix build with glibc 2.28 + libxcrypt
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 4f994cd44d8d51e23bd6eff8a4e180e91b135ab5
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:24 2018 -0700

    ppp, libpam: Add missing dep on virtual/crypt
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit c9ee65e397abb56d9eb506f9608ef242061479cc
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:22 2018 -0700

    glibc: Disable crypt support in glibc
    
    Drop packaging libcrypt from 2.28+ onwards
    We have independent crypt implementation coming from libxcrypt
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 8e35a771909805fed53b145607faaa3d06faba7d
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:21 2018 -0700

    libxcrypt: Upgrade to 4.1.1
    
    license update: Remove CDDL code with Public Domain pieces
    
    https://github.com/besser82/libxcrypt/commit/c76847e3be40c4ac0d78bc8518502418c6207144#diff-fdcb2380ff1eeea2e5795ec115ba1c0d
    
    inherit pkgconfig as it uses pkg-config during build
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 3fd99d5a295d179862172278b442b49a2119cb57
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:20 2018 -0700

    libxcrypt: Provide virtual/crypt for target and native as well
    
    virtual/crypt for musl will come from libc itself
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 909539bc3d10aa86ad79e9894aa57c0c51311e7f
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:19 2018 -0700

    cross-localedef-native: Update to build with glibc 2.28
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit eacf40dc0c53aad011324191e06f7e7cb6fd9b1f
Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Aug 8 10:04:18 2018 -0700

    glibc: Upgrade to 2.28
    
    License-Update: libidn is dropped from glibc and a testcase that was a particular contributor copyrighted
    
    see
    
    https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=LICENSES;h=0e3a9fe39b26e97038d92f904508a4c3aa1bb43b;hp=b29efe01084af28cc40953d7317f22927c0ee3b7;hb=5a357506659f9a00fcf5bc9c5d8fc676175c89a7;hpb=7279af007c420a9d5f88a6909d11e7cb712c16a4
    https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=LICENSES;h=b29efe01084af28cc40953d7317f22927c0ee3b7;hp=80f7f1487947f57815b9fe076fadc8c7f94eeb8e;hb=7f9f1ecb710eac4d65bb02785ddf288cac098323;hpb=5f7b841d3aebdccc2baed27cb4b22ddb08cd7c0c
    
    Drop upstreamed and backported patches
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 6a8d3dba3dd737faadfee34df560a06e7deefd80
Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Wed Aug 1 13:25:35 2018 +0800

    base-files: fix handling of resize
    
    The current handling of resize is incorrect. Using `resize > /dev/null
    2>&1 && resize > /dev/null' will cause the second resize command to not
    execute because 'resize > /dev/null 2>&1' will fail for resize utility
    from busybox.
    
    What we really should do is just to check whether ${bindir}/resize
    is executable and execute it if so. Using '-x' is sufficient.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 1afe5987f1486ec62ef8562e3d24f24f7ae76a33
Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Mon Jul 30 17:41:57 2018 +0800

    busybox: move init related configs to init.cfg
    
    Move init related configs to init.cfg.
    
    These config items do not make much sense unless busybox is selected
    as the init manager. They should belong to init.cfg.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 8ffe08ce63f1f0fbe72504c64bca37acd9849ee0
Author: Andrej Valek <andrej.valek at siemens.com>
Date:   Thu Aug 9 10:06:37 2018 +0200

    libxml2: Fix CVE-2018-14404
    
    Fix nullptr deref with XPath logic ops
    
    If the XPath stack is corrupted, for example by a misbehaving extension
    function, the "and" and "or" XPath operators could dereference NULL
    pointers. Check that the XPath stack isn't empty and optimize the
    logic operators slightly.
    
    CVE: CVE-2018-14404
    Signed-off-by: Andrej Valek <andrej.valek at siemens.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit f7ee98927810bd0efb59f17c24b6ae53d2d3272f
Author: Changqing Li <changqing.li at windriver.com>
Date:   Fri Aug 10 17:35:55 2018 +0800

    curl: support multilib installation of curl-config
    
    Signed-off-by: Changqing Li <changqing.li at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit de56eb3423461852fe91ba64abadf3855771a3c2
Author: Zhixiong Chi <zhixiong.chi at windriver.com>
Date:   Fri Aug 10 00:31:34 2018 -0700

    multilib-script: Fix ALTERNATIVE_${PN} overwrite issue
    
    If multilib scripts handle more than one file per package, the variable
    ALTERNATIVE_${PN} will be overwritten and there will be only one symbol
    link file. Append to the variable to avoid this.
    
    Signed-off-by: Zhixiong Chi <zhixiong.chi at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 1d3458c42261c313f892ee37990e73938681f6a1
Author: Christopher Clark <christopher.w.clark at gmail.com>
Date:   Thu Aug 9 18:32:01 2018 -0700

    libjpeg-turbo: fix timezone of reproducible build timestamp
    
    Avoids producing different build results in different timezones.
    Uses UTC with SOURCE_DATE_EPOCH.
    
    Signed-off-by: Christopher Clark <christopher.clark6 at baesystems.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit 253ab402527293d09622d21f167c0fc97048015f
Author: Jaewon Lee <jaewon.lee at xilinx.com>
Date:   Mon Jul 30 14:21:53 2018 -0700

    kernel-yocto.bbclass: Adds oe-local-files path (devtool) to include directives
    
    The devtool-source class moves all local files specified in SRC_URI to
    an oe-local-files directory. When using devtool and a recipe space kernel-meta,
    devtool modify throws an error because the paths the kernel-yocto class
    is looking for feature directories in, don't include the oe-local-files
    directory which devtool is using.
    
    This patch checks for feature directories in oe-local-files,
    and if present, adds that path to include directives.
    
    [YOCTO #12855]
    
    Signed-off-by: Jaewon Lee <jaewon.lee at xilinx.com>
    Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

commit fd4f61b8b7a91f642310504f8ed554a1b563fc28
Author: Jaewon Lee <jaewon.lee at xilinx.com>
Date:   Thu Aug 9 16:41:29 2018 -0700

    devtool-source.bbclass: Support kernel-fragments/patch not in SRC_URI
    
    When using a recipe space kernel-meta, scc files are added through
    SRC_URI, but they may include corresponding kernel fragments or patches
    that are not necessarily in SRC_URI.
    
    For bitbake, this is not a problem because the kernel-yocto class adds
    the path where the .scc file was found to includes which consequentially
    makes the .cfg, .patch file available to the kernel build.
    
    However, when using devtool, only files specified in SRC_URI are copied
    to oe-local-files in devtool's workspace. So if the cfg/patch file is not in
    SRC_URI, it won't be copied, causing a kernel build failure when trying
    to find it.
    
    This fix parses local .scc files in SRC_URI, copies the corresponding
    .cfg/.patch file to devtool's workdir, and also adds it to local_files
    so it is available when doing a devtool build for the kernel.
    
    [YOCTO #12858]
    
    v2: also supporting patch not in SRC_URI
    v3: fix spacing issues
    
    Signed-off-by: Jaewon Lee <jaewon.lee at xilinx.com>
    Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

-----------------------------------------------------------------------

Summary of changes:
 meta/classes/image.bbclass                         |  2 +-
 meta/lib/oe/package_manager.py                     | 49 ++++++++++++++++++++
 meta/lib/oe/sdk.py                                 | 45 +-----------------
 meta/lib/oeqa/runtime/cases/parselogs.py           |  4 +-
 .../multilibfix.patch                              | 17 +++++++
 .../mobile-broadband-provider-info_git.bb          |  4 +-
 ...dd-to-archive-uses-a-hard-coded-locale-pa.patch | 54 ++++++++++++++++++----
 meta/recipes-extended/man-db/files/99_mandb        |  1 +
 meta/recipes-extended/man-db/man-db_2.8.3.bb       | 13 +++++-
 .../xorg-driver/xf86-video-intel/glibc.patch       | 13 ++++++
 meta/recipes-kernel/perf/perf.bb                   |  2 +-
 meta/recipes-support/libevent/libevent_2.1.8.bb    |  6 ++-
 meta/recipes-support/nspr/nspr_4.19.bb             |  4 +-
 scripts/devtool                                    |  2 +-
 14 files changed, 155 insertions(+), 61 deletions(-)
 create mode 100644 meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info/multilibfix.patch
 create mode 100644 meta/recipes-extended/man-db/files/99_mandb


hooks/post-receive
-- 



More information about the yocto-security mailing list