diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager/__init__.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/package_manager/deb/__init__.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/packagedata.py | 2 | ||||
-rw-r--r-- | meta/lib/oe/recipeutils.py | 16 | ||||
-rw-r--r-- | meta/lib/oe/sstatesig.py | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/meta/lib/oe/package_manager/__init__.py b/meta/lib/oe/package_manager/__init__.py index de5916d7d8..8f7b60e077 100644 --- a/meta/lib/oe/package_manager/__init__.py +++ b/meta/lib/oe/package_manager/__init__.py | |||
@@ -90,7 +90,7 @@ def opkg_query(cmd_output): | |||
90 | 90 | ||
91 | def failed_postinsts_abort(pkgs, log_path): | 91 | def failed_postinsts_abort(pkgs, log_path): |
92 | bb.fatal("""Postinstall scriptlets of %s have failed. If the intention is to defer them to first boot, | 92 | bb.fatal("""Postinstall scriptlets of %s have failed. If the intention is to defer them to first boot, |
93 | then please place them into pkg_postinst_ontarget_${PN} (). | 93 | then please place them into pkg_postinst_ontarget:${PN} (). |
94 | Deferring to first boot via 'exit 1' is no longer supported. | 94 | Deferring to first boot via 'exit 1' is no longer supported. |
95 | Details of the failure are in %s.""" %(pkgs, log_path)) | 95 | Details of the failure are in %s.""" %(pkgs, log_path)) |
96 | 96 | ||
diff --git a/meta/lib/oe/package_manager/deb/__init__.py b/meta/lib/oe/package_manager/deb/__init__.py index a4b6b6f647..9f112ae25b 100644 --- a/meta/lib/oe/package_manager/deb/__init__.py +++ b/meta/lib/oe/package_manager/deb/__init__.py | |||
@@ -422,7 +422,7 @@ class DpkgPM(OpkgDpkgPM): | |||
422 | multilib_variants = self.d.getVar("MULTILIB_VARIANTS"); | 422 | multilib_variants = self.d.getVar("MULTILIB_VARIANTS"); |
423 | for variant in multilib_variants.split(): | 423 | for variant in multilib_variants.split(): |
424 | localdata = bb.data.createCopy(self.d) | 424 | localdata = bb.data.createCopy(self.d) |
425 | variant_tune = localdata.getVar("DEFAULTTUNE_virtclass-multilib-" + variant, False) | 425 | variant_tune = localdata.getVar("DEFAULTTUNE:virtclass-multilib-" + variant, False) |
426 | orig_arch = localdata.getVar("DPKG_ARCH") | 426 | orig_arch = localdata.getVar("DPKG_ARCH") |
427 | localdata.setVar("DEFAULTTUNE", variant_tune) | 427 | localdata.setVar("DEFAULTTUNE", variant_tune) |
428 | variant_arch = localdata.getVar("DPKG_ARCH") | 428 | variant_arch = localdata.getVar("DPKG_ARCH") |
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index a82085a792..22261d271e 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py | |||
@@ -19,7 +19,7 @@ def read_pkgdatafile(fn): | |||
19 | import re | 19 | import re |
20 | with open(fn, 'r') as f: | 20 | with open(fn, 'r') as f: |
21 | lines = f.readlines() | 21 | lines = f.readlines() |
22 | r = re.compile("([^:]+):\s*(.*)") | 22 | r = re.compile("(^.+?):\s+(.*)") |
23 | for l in lines: | 23 | for l in lines: |
24 | m = r.match(l) | 24 | m = r.match(l) |
25 | if m: | 25 | if m: |
diff --git a/meta/lib/oe/recipeutils.py b/meta/lib/oe/recipeutils.py index 407d168894..a66bb92823 100644 --- a/meta/lib/oe/recipeutils.py +++ b/meta/lib/oe/recipeutils.py | |||
@@ -414,7 +414,7 @@ def copy_recipe_files(d, tgt_dir, whole_dir=False, download=True, all_variants=F | |||
414 | 414 | ||
415 | fetch_urls(d) | 415 | fetch_urls(d) |
416 | if all_variants: | 416 | if all_variants: |
417 | # Get files for other variants e.g. in the case of a SRC_URI_append | 417 | # Get files for other variants e.g. in the case of a SRC_URI:append |
418 | localdata = bb.data.createCopy(d) | 418 | localdata = bb.data.createCopy(d) |
419 | variants = (localdata.getVar('BBCLASSEXTEND') or '').split() | 419 | variants = (localdata.getVar('BBCLASSEXTEND') or '').split() |
420 | if variants: | 420 | if variants: |
@@ -753,7 +753,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False, | |||
753 | 753 | ||
754 | destsubdir = rd.getVar('PN') | 754 | destsubdir = rd.getVar('PN') |
755 | if srcfiles: | 755 | if srcfiles: |
756 | bbappendlines.append(('FILESEXTRAPATHS_prepend', ':=', '${THISDIR}/${PN}:')) | 756 | bbappendlines.append(('FILESEXTRAPATHS:prepend', ':=', '${THISDIR}/${PN}:')) |
757 | 757 | ||
758 | appendoverride = '' | 758 | appendoverride = '' |
759 | if machine: | 759 | if machine: |
@@ -772,7 +772,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False, | |||
772 | # FIXME do we care if the entry is added by another bbappend that might go away? | 772 | # FIXME do we care if the entry is added by another bbappend that might go away? |
773 | if not srcurientry in rd.getVar('SRC_URI').split(): | 773 | if not srcurientry in rd.getVar('SRC_URI').split(): |
774 | if machine: | 774 | if machine: |
775 | appendline('SRC_URI_append%s' % appendoverride, '=', ' ' + srcurientry) | 775 | appendline('SRC_URI:append%s' % appendoverride, '=', ' ' + srcurientry) |
776 | else: | 776 | else: |
777 | appendline('SRC_URI', '+=', srcurientry) | 777 | appendline('SRC_URI', '+=', srcurientry) |
778 | copyfiles[newfile] = srcfile | 778 | copyfiles[newfile] = srcfile |
@@ -786,7 +786,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False, | |||
786 | instfunclines.append(instdirline) | 786 | instfunclines.append(instdirline) |
787 | instfunclines.append('install -m %s ${WORKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath)) | 787 | instfunclines.append('install -m %s ${WORKDIR}/%s ${D}%s' % (perms, os.path.basename(srcfile), instdestpath)) |
788 | if instfunclines: | 788 | if instfunclines: |
789 | bbappendlines.append(('do_install_append%s()' % appendoverride, '', instfunclines)) | 789 | bbappendlines.append(('do_install:append%s()' % appendoverride, '', instfunclines)) |
790 | 790 | ||
791 | if redirect_output: | 791 | if redirect_output: |
792 | bb.note('Writing append file %s (dry-run)' % appendpath) | 792 | bb.note('Writing append file %s (dry-run)' % appendpath) |
@@ -804,15 +804,15 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False, | |||
804 | extvars = {'destsubdir': destsubdir} | 804 | extvars = {'destsubdir': destsubdir} |
805 | 805 | ||
806 | def appendfile_varfunc(varname, origvalue, op, newlines): | 806 | def appendfile_varfunc(varname, origvalue, op, newlines): |
807 | if varname == 'FILESEXTRAPATHS_prepend': | 807 | if varname == 'FILESEXTRAPATHS:prepend': |
808 | if origvalue.startswith('${THISDIR}/'): | 808 | if origvalue.startswith('${THISDIR}/'): |
809 | popline('FILESEXTRAPATHS_prepend') | 809 | popline('FILESEXTRAPATHS:prepend') |
810 | extvars['destsubdir'] = rd.expand(origvalue.split('${THISDIR}/', 1)[1].rstrip(':')) | 810 | extvars['destsubdir'] = rd.expand(origvalue.split('${THISDIR}/', 1)[1].rstrip(':')) |
811 | elif varname == 'PACKAGE_ARCH': | 811 | elif varname == 'PACKAGE_ARCH': |
812 | if machine: | 812 | if machine: |
813 | popline('PACKAGE_ARCH') | 813 | popline('PACKAGE_ARCH') |
814 | return (machine, None, 4, False) | 814 | return (machine, None, 4, False) |
815 | elif varname.startswith('do_install_append'): | 815 | elif varname.startswith('do_install:append'): |
816 | func = popline(varname) | 816 | func = popline(varname) |
817 | if func: | 817 | if func: |
818 | instfunclines = [line.strip() for line in origvalue.strip('\n').splitlines()] | 818 | instfunclines = [line.strip() for line in origvalue.strip('\n').splitlines()] |
@@ -824,7 +824,7 @@ def bbappend_recipe(rd, destlayerdir, srcfiles, install=None, wildcardver=False, | |||
824 | splitval = split_var_value(origvalue, assignment=False) | 824 | splitval = split_var_value(origvalue, assignment=False) |
825 | changed = False | 825 | changed = False |
826 | removevar = varname | 826 | removevar = varname |
827 | if varname in ['SRC_URI', 'SRC_URI_append%s' % appendoverride]: | 827 | if varname in ['SRC_URI', 'SRC_URI:append%s' % appendoverride]: |
828 | removevar = 'SRC_URI' | 828 | removevar = 'SRC_URI' |
829 | line = popline(varname) | 829 | line = popline(varname) |
830 | if line: | 830 | if line: |
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index 47f3ca4efb..f460c50c10 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -59,7 +59,7 @@ def sstate_rundepfilter(siggen, fn, recipename, task, dep, depname, dataCaches): | |||
59 | return False | 59 | return False |
60 | 60 | ||
61 | # Kernel modules are well namespaced. We don't want to depend on the kernel's checksum | 61 | # Kernel modules are well namespaced. We don't want to depend on the kernel's checksum |
62 | # if we're just doing an RRECOMMENDS_xxx = "kernel-module-*", not least because the checksum | 62 | # if we're just doing an RRECOMMENDS:xxx = "kernel-module-*", not least because the checksum |
63 | # is machine specific. | 63 | # is machine specific. |
64 | # Therefore if we're not a kernel or a module recipe (inheriting the kernel classes) | 64 | # Therefore if we're not a kernel or a module recipe (inheriting the kernel classes) |
65 | # and we reccomend a kernel-module, we exclude the dependency. | 65 | # and we reccomend a kernel-module, we exclude the dependency. |