git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49867a3
)
try to make update-rc.d play better with kernel
author
Phil Blundell
<philb@gnu.org>
Sat, 28 Aug 2004 23:28:13 +0000
(23:28 +0000)
committer
Phil Blundell
<philb@gnu.org>
Sat, 28 Aug 2004 23:28:13 +0000
(23:28 +0000)
BKrev: 4131150dSxrhZ_HQiwqeHm432HBySA
classes/update-rc.d.oeclass
patch
|
blob
|
history
diff --git
a/classes/update-rc.d.oeclass
b/classes/update-rc.d.oeclass
index
41e78b8
..
6e1ce00
100644
(file)
--- a/
classes/update-rc.d.oeclass
+++ b/
classes/update-rc.d.oeclass
@@
-30,6
+30,9
@@
python __anonymous() {
python populate_packages_prepend () {
pkg = oe.data.getVar('PN', d, 1)
+ packages = (oe.data.getVar('PACKAGES', d, 1) or "").split()
+ if not pkg in packages:
+ pkg = packages[0]
oe.note('adding update-rc.d calls to postinst/postrm for %s' % pkg)
postinst = oe.data.getVar('pkg_postinst_%s' % pkg, d, 1) or oe.data.getVar('pkg_postinst', d, 1)
if not postinst: