Message ID | 20181215194158.2351-1-fontaine.fabrice@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Eh9csUIY"; 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 43HHqr4nBZz9s6w for <incoming-buildroot@patchwork.ozlabs.org>; Sun, 16 Dec 2018 06:42:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2454223E7B; Sat, 15 Dec 2018 19:42:12 +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 ZNh1PunBKSH8; Sat, 15 Dec 2018 19:42:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 218CA22B6D; Sat, 15 Dec 2018 19:42:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 651EA1BF34F for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 19:42:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 62E178574A for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 19:42:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 94n6-UySMtZU for <buildroot@lists.busybox.net>; Sat, 15 Dec 2018 19:42:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 96BD0852DE for <buildroot@buildroot.org>; Sat, 15 Dec 2018 19:42:08 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id m1so8703996wml.2 for <buildroot@buildroot.org>; Sat, 15 Dec 2018 11:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=rQDdugMD0sMhxqK0cAYbJXGquCWfCrLisGa3uHPoucA=; b=Eh9csUIYaiJvEcnQOXmGMgnBEhGH/v3DNCIQJYg9bl3oZLvoEepKiv3xmnJ0iQA7E5 Qyu6Fzy/MO06lwj1qsBbrpay4pATMS1l89B7EWozk//SkvPNNhzdZdBCoTsktWTEMAFj En4D0zqIV2u5Dp4AR6vOlBvhTYIPlSNSBIMSPvocmHjBKD3Wb2rX+YTzCC0lex1OG/Gf m3ZfvOuyfRddTc6KEXa8WjF5S3zyWL14LyvJfO2UYqb1LtkVoecLOC2kfB7WZjtlY6yT y13OyTYrf/4XYLtFbRcilTEnJnCGGy7VhLPTws5LXUeBvQIt0yLAGDmqTN+AMpAmH2oW fJ5A== 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; bh=rQDdugMD0sMhxqK0cAYbJXGquCWfCrLisGa3uHPoucA=; b=YEogUoeNEAT4KgH5CerHIlSbR397UHZh9s38lqQTwlsWw0+KEyReKcHrXReIqERDXv ir7ffAxnP8gXOf9mbF9PaHnnYTBct/0bn2kA1CixLgnNzSDCRIvUETpj5dVsZih+8sM7 FiZy3rkkMYkjJ1mfzgO+JdmPUKev7Uae1+Fp+ZOGQHq6TsC/2soQbMAKj8s/iAHDf7t/ AM+dzPT9AWzNK38ySOvr1YJZipuHmoCHrlJ2K1klWCuG8lPdaoZJZTo1ZG39kfQxLNs7 +m0JC68VfEFTuObsEE9EL12DtemRqiFemqSzjogEd549w+9pR2y2OrgnG4WSjpr/wiJF 2kKA== X-Gm-Message-State: AA+aEWbWvMbjj1PWrXSgoOZ3X/YbO2LUW9RTH/T+F3G7Xn54XjShFRZp wBB0S1loe1K6YiPqnnyzBNMiuuzXTwo= X-Google-Smtp-Source: AFSGD/X1dveQW0i+cF+7ieG9Z5GL4dNVsoi5khAi7fzCH/4xU3bsnhq5W36TMI9g70rC6BcuEzpTpg== X-Received: by 2002:a1c:dc02:: with SMTP id t2mr6751251wmg.78.1544902926798; Sat, 15 Dec 2018 11:42:06 -0800 (PST) Received: from fabrice-VirtualBox.home (arennes-656-1-356-67.w86-214.abo.wanadoo.fr. [86.214.196.67]) by smtp.gmail.com with ESMTPSA id v19sm17256025wrd.46.2018.12.15.11.42.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Dec 2018 11:42:05 -0800 (PST) From: Fabrice Fontaine <fontaine.fabrice@gmail.com> To: buildroot@buildroot.org Date: Sat, 15 Dec 2018 20:41:58 +0100 Message-Id: <20181215194158.2351-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH v2, 1/1] keepalived: fix systemd build with pkgconf 1.5.3 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Ilias Apalodimas <apalos@gmail.com>, Fabrice Fontaine <fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[v2,1/1] keepalived: fix systemd build with pkgconf 1.5.3
|
expand
|
diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk index 584da6bb48..10711cac49 100644 --- a/package/keepalived/keepalived.mk +++ b/package/keepalived/keepalived.mk @@ -46,4 +46,10 @@ else KEEPALIVED_CONF_OPTS += --disable-libiptc endif +ifeq ($(BR2_INIT_SYSTEMD),y) +KEEPALIVED_CONF_OPTS += \ + --with-init=systemd \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +endif + $(eval $(autotools-package))
Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute paths found in the .pc file. This is correct when the paths refer to something in STAGING_DIR (e.g. libdir, includedir), but not when it refers to something used for the target. keepalived uses the systemdsystemunitdir variable from systemd.pc to decide where to install things. Since DESTDIR is prepended to the install destination, this will end up in the wrong location. Until a better solution is found in pkgconf, pass the systemdsystemunitdir to use explicitly instead of relying on systemd.pc. Fixes: - http://autobuild.buildroot.org/results/34690fd724332c154971d5363a4c84e97a5e9ae9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- Changes v1 -> v2 (after review of Baruch Siach): - Fix typo in commit log (alsa-utils -> keepalived) package/keepalived/keepalived.mk | 6 ++++++ 1 file changed, 6 insertions(+)