meta-openembedded/meta-oe
Ioan-Adrian Ratiu 5e2bb87e66 syslog-ng.inc: fix prerm script & class includes
The order of class includes is very important because it's the order in
which classes are evaluated. Both update-rc.d and update-alternatives
write to the prerm script, so the class order decides the script code
ordering. As they are now, prerm is:

 #!/bin/sh
        update-alternatives --remove  syslog-init /etc/init.d/syslog.syslog-ng
if [ -z "$D" ]; then
        /etc/init.d/syslog stop
fi

This causes errors because when syslog-ng is the only alternative it is
removed and then the script tries to stop it (No such file or directory)
but even if there are other alternatives, the script tries to stop
something other than syslog-ng which was removed.

By reversing the include order, prerm gets generated correctly and it
tries to stop syslog-ng before removing it:

if [ -z "$D" ]; then
        /etc/init.d/syslog stop
fi
update-alternatives --remove  syslog-init /etc/init.d/syslog.syslog-ng

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-09 19:05:03 -07:00
..
classes waf-samba.bbclass: move to meta-networking 2016-04-01 12:05:27 -04:00
conf waf-samba.bbclass: move to meta-networking 2016-04-01 12:05:27 -04:00
licenses flite: fix license issue. 2016-05-02 14:03:02 -07:00
recipes-benchmark meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-connectivity krb5-CVE-2016-3119.patch 2016-05-02 14:03:04 -07:00
recipes-core meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-devtools meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-extended sblim-sfcb: add missing dependency on unzip-native 2016-05-09 19:05:03 -07:00
recipes-gnome libunique: fix gobject introspection support 2016-03-14 12:15:31 +01:00
recipes-graphics fbida: use separate builddir 2016-05-09 19:05:03 -07:00
recipes-kernel meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-multimedia meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-navigation meta-oe: use bb.utils.contains() instead of base_contains() 2016-05-02 14:03:03 -07:00
recipes-sato/claws-mail libetpan, claws*: blacklist because of gnutls upgrade 2016-01-06 13:25:59 +01:00
recipes-support syslog-ng.inc: fix prerm script & class includes 2016-05-09 19:05:03 -07:00
recipes-test gtest, gmock: allow building gtest-native and gmock-native 2016-05-02 14:03:03 -07:00
site
COPYING.MIT
README README: update maintainers list for krogoth 2016-04-12 11:50:37 +02:00

This layer depends on:

URI: git://github.com/openembedded/oe-core.git
branch: krogoth
revision: HEAD

Send pull requests to openembedded-devel@lists.openembedded.org with '[meta-oe][krogoth]' in the subject'

When sending single patches, please use something like:
'git send-email -M -1 --to openembedded-devel@lists.openembedded.org --subject-prefix=meta-oe][krogoth][PATCH'

You are encouraged to fork the mirror on github https://github.com/openembedded/meta-oe/ to share your patches, this is preferred for patch sets consisting of more than one patch. Other services like gitorious, repo.or.cz or self hosted setups are of course accepted as well, 'git fetch <remote>' works the same on all of them. We recommend github because it is free, easy to use, has been proven to be reliable and has a really good web GUI.

krogoth Branch Maintainer:
Armin Kuster <akuster808@gmail.com>