mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
classes: Drop none package specific packaging variable accesses
(From OE-Core rev: 24cbe88429ba021d7c461e0271b67106d11d5eb2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -324,12 +324,12 @@ python populate_packages_updatealternatives () {
|
||||
|
||||
bb.note('adding update-alternatives calls to postinst/postrm for %s' % pkg)
|
||||
bb.note('%s' % alt_setup_links)
|
||||
postinst = (d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)) or '#!/bin/sh\n'
|
||||
postinst = d.getVar('pkg_postinst_%s' % pkg, True) or '#!/bin/sh\n'
|
||||
postinst += alt_setup_links
|
||||
d.setVar('pkg_postinst_%s' % pkg, postinst)
|
||||
|
||||
bb.note('%s' % alt_remove_links)
|
||||
postrm = (d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)) or '#!/bin/sh\n'
|
||||
postrm = d.getVar('pkg_postrm_%s' % pkg, True) or '#!/bin/sh\n'
|
||||
postrm += alt_remove_links
|
||||
d.setVar('pkg_postrm_%s' % pkg, postrm)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user