Patchwork [meta-oe,for,denzil,3/3] systemd_v189: add D_P=-1

login
register
mail settings
Submitter Eric BENARD
Date Dec. 24, 2012, 12:26 p.m.
Message ID <1356352009-30859-3-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/41671/
State Accepted, archived
Headers show

Comments

Eric BENARD - Dec. 24, 2012, 12:26 p.m.
now users have the choice :
* keep the old behaviour when not using systemd :
PREFERRED_PROVIDER_udev = "udev"
* switch to systemd (while keeping upgrade path) :
PREFERRED_PROVIDER_udev = "systemd"
PREFFERED_VERSION_systemd = "v189"

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 meta-oe/recipes-core/systemd/systemd_v189.bb |    2 ++
 1 file changed, 2 insertions(+)
Koen Kooi - Dec. 24, 2012, 12:48 p.m.
Awesome solution!

Op 24 dec. 2012, om 13:26 heeft Eric Bénard <eric@eukrea.com> het volgende geschreven:

> now users have the choice :
> * keep the old behaviour when not using systemd :
> PREFERRED_PROVIDER_udev = "udev"
> * switch to systemd (while keeping upgrade path) :
> PREFERRED_PROVIDER_udev = "systemd"
> PREFFERED_VERSION_systemd = "v189"
> 
> Signed-off-by: Eric Bénard <eric@eukrea.com>

Acked-by: Koen Kooi <koen@dominion.thruhere.net>


> ---
> meta-oe/recipes-core/systemd/systemd_v189.bb |    2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-core/systemd/systemd_v189.bb b/meta-oe/recipes-core/systemd/systemd_v189.bb
> index 613f703..633e542 100644
> --- a/meta-oe/recipes-core/systemd/systemd_v189.bb
> +++ b/meta-oe/recipes-core/systemd/systemd_v189.bb
> @@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
> 
> PROVIDES = "udev"
> 
> +DEFAULT_PREFERENCE = "-1"
> +
> DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers usbutils glib-2.0 libgcrypt"
> DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
> 
> -- 
> 1.7.10.4
>

Patch

diff --git a/meta-oe/recipes-core/systemd/systemd_v189.bb b/meta-oe/recipes-core/systemd/systemd_v189.bb
index 613f703..633e542 100644
--- a/meta-oe/recipes-core/systemd/systemd_v189.bb
+++ b/meta-oe/recipes-core/systemd/systemd_v189.bb
@@ -8,6 +8,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 
 PROVIDES = "udev"
 
+DEFAULT_PREFERENCE = "-1"
+
 DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers usbutils glib-2.0 libgcrypt"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"