mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 00:49:33 +02:00
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -34,7 +34,7 @@ else
|
||||
fi
|
||||
}
|
||||
|
||||
python populate_packages_append () {
|
||||
python populate_packages:append () {
|
||||
packages = d.getVar('PACKAGES').split()
|
||||
pkgdest = d.getVar('PKGDEST')
|
||||
desktop_base = d.getVar('DESKTOPDIR')
|
||||
@@ -59,16 +59,16 @@ python populate_packages_append () {
|
||||
break
|
||||
if desktops_with_mime_found:
|
||||
bb.note("adding mime-xdg postinst and postrm scripts to %s" % pkg)
|
||||
postinst = d.getVar('pkg_postinst_%s' % pkg)
|
||||
postinst = d.getVar('pkg_postinst:%s' % pkg)
|
||||
if not postinst:
|
||||
postinst = '#!/bin/sh\n'
|
||||
postinst += d.getVar('mime_xdg_postinst')
|
||||
d.setVar('pkg_postinst_%s' % pkg, postinst)
|
||||
postrm = d.getVar('pkg_postrm_%s' % pkg)
|
||||
d.setVar('pkg_postinst:%s' % pkg, postinst)
|
||||
postrm = d.getVar('pkg_postrm:%s' % pkg)
|
||||
if not postrm:
|
||||
postrm = '#!/bin/sh\n'
|
||||
postrm += d.getVar('mime_xdg_postrm')
|
||||
d.setVar('pkg_postrm_%s' % pkg, postrm)
|
||||
d.setVar('pkg_postrm:%s' % pkg, postrm)
|
||||
bb.note("adding desktop-file-utils dependency to %s" % pkg)
|
||||
d.appendVar('RDEPENDS_' + pkg, " " + d.getVar('MLPREFIX')+"desktop-file-utils")
|
||||
d.appendVar('RDEPENDS:' + pkg, " " + d.getVar('MLPREFIX')+"desktop-file-utils")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user