mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
rootfs: Fix MULTILIB_RE_ALLOW to be inherit order independent
This variable is only used by the ipk backend with multilibs. In order to make it work correctly regardless of inherit order, change the string to be space delimeted, set using += and add in the regex '|' sperator at the end of processing. (From OE-Core rev: 72befdb12568fbc642022ef0a23b269c5b37a638) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
55eaa3eb3f
commit
12619deabd
|
@ -609,7 +609,7 @@ python create_symlinks() {
|
|||
bb.note("Skipping symlink, source does not exist: %s -> %s" % (dst, src))
|
||||
}
|
||||
|
||||
MULTILIBRE_ALLOW_REP =. "${base_bindir}|${base_sbindir}|${bindir}|${sbindir}|${libexecdir}|${sysconfdir}|${nonarch_base_libdir}/udev|/lib/modules/[^/]*/modules.*|"
|
||||
MULTILIBRE_ALLOW_REP += "${base_bindir} ${base_sbindir} ${bindir} ${sbindir} ${libexecdir} ${sysconfdir} ${nonarch_base_libdir}/udev /lib/modules/[^/]*/modules.*"
|
||||
MULTILIB_CHECK_FILE = "${WORKDIR}/multilib_check.py"
|
||||
MULTILIB_TEMP_ROOTFS = "${WORKDIR}/multilib"
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ OPKG_POSTPROCESS_COMMANDS = ""
|
|||
|
||||
OPKGLIBDIR ??= "${localstatedir}/lib"
|
||||
|
||||
MULTILIBRE_ALLOW_REP = "${OPKGLIBDIR}/opkg|/usr/lib/opkg"
|
||||
MULTILIBRE_ALLOW_REP += "${OPKGLIBDIR}/opkg /usr/lib/opkg"
|
||||
|
||||
python () {
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ class PkgRootfs(DpkgOpkgRootfs):
|
|||
"""
|
||||
def _multilib_sanity_test(self, dirs):
|
||||
|
||||
allow_replace = self.d.getVar("MULTILIBRE_ALLOW_REP")
|
||||
allow_replace = "|".join((self.d.getVar("MULTILIBRE_ALLOW_REP") or "").split())
|
||||
if allow_replace is None:
|
||||
allow_replace = ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user