diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-03 22:10:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-17 22:32:03 +0000 |
commit | 069a332d1cf0778831673ed4ab5dfadbe2758783 (patch) | |
tree | cac103c685297423bdc5f67f8af9ac8dd64cc699 /meta/classes/update-alternatives.bbclass | |
parent | 68ceb02e98c977dd3eadea2c38b5eb796d6b6db4 (diff) | |
download | poky-069a332d1cf0778831673ed4ab5dfadbe2758783.tar.gz |
classes: Drop none package specific packaging variable accesses
(From OE-Core rev: 24cbe88429ba021d7c461e0271b67106d11d5eb2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-rw-r--r-- | meta/classes/update-alternatives.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index 0cefc51576..f7ad4d434b 100644 --- a/meta/classes/update-alternatives.bbclass +++ b/meta/classes/update-alternatives.bbclass | |||
@@ -324,12 +324,12 @@ python populate_packages_updatealternatives () { | |||
324 | 324 | ||
325 | bb.note('adding update-alternatives calls to postinst/postrm for %s' % pkg) | 325 | bb.note('adding update-alternatives calls to postinst/postrm for %s' % pkg) |
326 | bb.note('%s' % alt_setup_links) | 326 | bb.note('%s' % alt_setup_links) |
327 | postinst = (d.getVar('pkg_postinst_%s' % pkg, True) or d.getVar('pkg_postinst', True)) or '#!/bin/sh\n' | 327 | postinst = d.getVar('pkg_postinst_%s' % pkg, True) or '#!/bin/sh\n' |
328 | postinst += alt_setup_links | 328 | postinst += alt_setup_links |
329 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 329 | d.setVar('pkg_postinst_%s' % pkg, postinst) |
330 | 330 | ||
331 | bb.note('%s' % alt_remove_links) | 331 | bb.note('%s' % alt_remove_links) |
332 | postrm = (d.getVar('pkg_postrm_%s' % pkg, True) or d.getVar('pkg_postrm', True)) or '#!/bin/sh\n' | 332 | postrm = d.getVar('pkg_postrm_%s' % pkg, True) or '#!/bin/sh\n' |
333 | postrm += alt_remove_links | 333 | postrm += alt_remove_links |
334 | d.setVar('pkg_postrm_%s' % pkg, postrm) | 334 | d.setVar('pkg_postrm_%s' % pkg, postrm) |
335 | } | 335 | } |