From patchwork Sat Dec 7 18:00:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsOpbXkgUk9TRU4=?= X-Patchwork-Id: 1205496 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="g+PbQaBf"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47VchS1RMWz9sPh for ; Sun, 8 Dec 2019 05:01:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8AFF72047D; Sat, 7 Dec 2019 18:01:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IX9C5B8f9Fhs; Sat, 7 Dec 2019 18:01:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AD76E2044D; Sat, 7 Dec 2019 18:01:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 2C0981BF3BE for ; Sat, 7 Dec 2019 18:01:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2360120471 for ; Sat, 7 Dec 2019 18:01:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sg1mOkb4u5JI for ; Sat, 7 Dec 2019 18:00:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by silver.osuosl.org (Postfix) with ESMTPS id 6E44F20131 for ; Sat, 7 Dec 2019 18:00:59 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id c14so11326797wrn.7 for ; Sat, 07 Dec 2019 10:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zgwvsat9zet+yO6g/UYANGnJzjThDXpckHvIIn5EjOg=; b=g+PbQaBfYE0diDL48p85y96m6QxeoZcV2ulYeEuU5RIf0YBqScEoho6bZLloUOrqQl CZOgrG194XNx6nDvuX3F0HuVyVK+8xCVL1xyf2WHthgIEHCXvWg5F2kIbXwBdnl7IOxD CyMaHaQHpQdtleFuWZ+Q4unw4uAyLMy4FUN+03qdTWR+01CLxcC5JPhXIv6k15Zd8YKX Y4qXmNJyGsL+aEXbItOwFFSVcPo3dvkibVgVB7VtCH2uLKgu9oryb16LT6gMSXn7lacy tYSggw5KmXSCddcsLZoQWPl6QbRxon0GzGKL9bAMHtZn/Rip+5egG8QaLdHGBdnj+Gx+ oG8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zgwvsat9zet+yO6g/UYANGnJzjThDXpckHvIIn5EjOg=; b=jXZaKXxAQBNHnzdqEr54uV+TvGSrAe9zCifhuJNIQqvgRNR32ubBTngY8EWuLWOBdx hNT3+lx4eS1PPkKOlCLy3n4WWm677Q7Iz5O+rkYYNplzs5BO+PV75HmG8cLfk6UfaTdD ARYJEQw+4qaNP04Io8d43D4TxBrSCKjNQMQgaKyY2Lcc20uXaexwca5sgLnp1xMmHMG0 a7twvOvEg85ZUbYgzIR2hHZo/E1IyC0SC8OjGzFj0KZmHLCuKv2HOGgHH+7VwQMI9L5X LbFQUI9aouA3ntYEYm/W+YuFlstJNpcn3ze9hfsYJ3GGXQMVANzUnvWfbA2OuPJWxo1W se6w== X-Gm-Message-State: APjAAAWO1xfHmai+ibcvt70taU+lV9IBcn0KfoXWtlvyxn6HraWystix GN/kwvMOz58PT7/ujzvged2nwM2W5Q== X-Google-Smtp-Source: APXvYqyW4+oIPVagGqg2PvXbiy7rYAnRpp4jrGrJHdwl/5VMJZP3s/ft+syMhM8jfwTOSCKvL1JEkw== X-Received: by 2002:a5d:62d1:: with SMTP id o17mr22284697wrv.9.1575741657480; Sat, 07 Dec 2019 10:00:57 -0800 (PST) Received: from localhost.localdomain (2a02-8428-0351-c201-4ead-12d2-d337-cdfb.rev.sfr.net. [2a02:8428:351:c201:4ead:12d2:d337:cdfb]) by smtp.googlemail.com with ESMTPSA id z4sm7558964wme.17.2019.12.07.10.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Dec 2019 10:00:56 -0800 (PST) From: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= To: buildroot@buildroot.org Date: Sat, 7 Dec 2019 19:00:42 +0100 Message-Id: <20191207180049.3245578-7-jeremy.rosen@smile.fr> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191207180049.3245578-1-jeremy.rosen@smile.fr> References: <20191207180049.3245578-1-jeremy.rosen@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v3 06/13] package/connman: adapt to preset-all X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?b?SsOpcsOpbXkgUm9zZW4=?= , "Yann E . MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" connman has two services * connman.service which is the real daemon * connman-wait-online.service which is a sync point for network-online.target Only the first one was enabled. This adaptation enables both. Not enabling connman-wait-online.service is probably a bug Signed-off-by:Jérémy Rosen Reviewed-by: Yann E.MORIN --- package/connman/connman.mk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 7ca49726dd..2cbf3fe752 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -32,12 +32,6 @@ define CONNMAN_INSTALL_INIT_SYSV $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman endef -define CONNMAN_INSTALL_INIT_SYSTEMD - mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../../../../usr/lib/systemd/system/connman.service \ - $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/connman.service -endef - ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y) CONNMAN_LICENSE += , GPL-2.0+ (client) CONNMAN_CONF_OPTS += --enable-client