diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 0248c646b6..768ca61b93 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -56,10 +56,10 @@ python populate_packages_prepend () { | |||
56 | prerm = '#!/bin/sh\n' | 56 | prerm = '#!/bin/sh\n' |
57 | prerm += bb.data.getVar('updatercd_prerm', localdata, 1) | 57 | prerm += bb.data.getVar('updatercd_prerm', localdata, 1) |
58 | bb.data.setVar('pkg_prerm_%s' % pkg, prerm, d) | 58 | bb.data.setVar('pkg_prerm_%s' % pkg, prerm, d) |
59 | postrm = bb.data.getVar('pkg_postrm', localdata, 1) | 59 | postrm = bb.data.getVar('pkg_postrm', localdata, 1) |
60 | if not postrm: | 60 | if not postrm: |
61 | postrm = '#!/bin/sh\n' | 61 | postrm = '#!/bin/sh\n' |
62 | postrm += bb.data.getVar('updatercd_postrm', localdata, 1) | 62 | postrm += bb.data.getVar('updatercd_postrm', localdata, 1) |
63 | bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d) | 63 | bb.data.setVar('pkg_postrm_%s' % pkg, postrm, d) |
64 | 64 | ||
65 | pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1) | 65 | pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1) |