[OE-core] [PATCH] avahi: systemd postinst and postrm removed in favor of using systemd.bbclass

Saul Wold sgw at linux.intel.com
Tue Sep 4 14:44:21 UTC 2012


On 08/30/2012 04:33 AM, Sander van Grieken wrote:
> The recipe's custom systemd service enable code is now handled by the meta-systemd
> bbappend recipe in meta-openembedded.
>
> Signed-off-by: Sander van Grieken <sander at outrightsolutions.nl>
> ---
>   meta/recipes-connectivity/avahi/avahi.inc |   19 -------------------
>   1 file changed, 19 deletions(-)
>
> diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
> index c08acb5..a0a1681 100644
> --- a/meta/recipes-connectivity/avahi/avahi.inc
> +++ b/meta/recipes-connectivity/avahi/avahi.inc
> @@ -155,22 +155,3 @@ pkg_postrm_avahi-autoipd () {
>   	deluser avahi-autoipd || true
>   	delgroup avahi-autoipd || true
>   }
> -
> -pkg_postinst_avahi-systemd() {
> -	# can't do this offline
> -	if [ "x$D" != "x" ]; then
> -		exit 1
> -	fi
> -	
> -	systemctl enable avahi-daemon.service
> -}
> -
> -pkg_postrm_avahi-systemd() {
> -	# can't do this offline
> -	if [ "x$D" != "x" ]; then
> -		exit 1
> -	fi
> -
> -	systemctl disable avahi-daemon.service
> -}
> -
>

Merged into OE-Core

Thanks
	Sau!





More information about the Openembedded-core mailing list