diff options
author | John Bowler <jbowler@nslu2-linux.org> | 2005-06-06 21:28:20 +0000 |
---|---|---|
committer | John Bowler <jbowler@nslu2-linux.org> | 2005-06-06 21:28:20 +0000 |
commit | bf3b5d6d8c0556fc1f00283d4afb058ee91da1c1 (patch) | |
tree | ab35e9956376b77d2bd7f7dc023d71290db0a173 /classes/update-rc.d.bbclass | |
parent | 9233844e3d866b4b8b01248be163658f59dc9bbb (diff) |
Build fix for busybox (and other?) packages which inherit
update-rc.d.bbclass
BKrev: 42a4bff4MUETw0IzxDhGlJU8F87N2Q
Diffstat (limited to 'classes/update-rc.d.bbclass')
-rw-r--r-- | classes/update-rc.d.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass index e3f7963baa..7583c88f83 100644 --- a/classes/update-rc.d.bbclass +++ b/classes/update-rc.d.bbclass @@ -44,11 +44,11 @@ python populate_packages_prepend () { postinst = '#!/bin/sh\n' postinst += bb.data.getVar('updatercd_postinst', localdata, 1) bb.data.setVar('pkg_postinst_%s' % pkg, postinst, d) - postrm = bb.data.getVar('pkg_postrm', localdata, 1) - if not postrm: - postrm = '#!/bin/sh\n' - postrm += bb.data.getVar('updatercd_postrm', localdata, 1) - bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d) + prerm = bb.data.getVar('pkg_prerm', localdata, 1) + if not prerm: + prerm = '#!/bin/sh\n' + prerm += bb.data.getVar('updatercd_prerm', localdata, 1) + bb.data.setVar('pkg_prerm%s' % pkg, prerm, d) pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1) if pkgs == None: |