From patchwork Sat Aug 29 13:59:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1353694 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) 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.a=rsa-sha256 header.s=20161025 header.b=SciqQoNJ; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BdylP1sb5z9sTF for ; Sun, 30 Aug 2020 00:00:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8953C85F6C; Sat, 29 Aug 2020 13:59:57 +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 8h4_wbW82-iI; Sat, 29 Aug 2020 13:59:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0E2AF85F5D; Sat, 29 Aug 2020 13:59:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 333601BF263 for ; Sat, 29 Aug 2020 13:59:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2D0AB86773 for ; Sat, 29 Aug 2020 13:59:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ywCyPIUv4PPN for ; Sat, 29 Aug 2020 13:59:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 663248672C for ; Sat, 29 Aug 2020 13:59:53 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id y3so1750062wrl.4 for ; Sat, 29 Aug 2020 06:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KCS/n24/kway+g/chJDMWBKkk3gREh/lmcrZEeesDsI=; b=SciqQoNJux2/nwD/jBb3AU101AXuCFnMpRqcJ9n4eBku4py3iFm7uWPFrpYYe85hVq cpfen28LOQ1VTQ0tKtWPpDOESQmSnMgpXyrgvpKhDd0d0tMC7laPfd3fAj5OV7Vfrk4i oqk0SSKhEalGMFajNzfn+QkMJGW6pPzoMxSEXJ7zXBbWdP5C5kLHxBjZBkNlrgAPLEso 9ue06F546UpFM3A22HAAsKzbPrrRTKlLHaiSKPub21ti7rVTBrjyMJ6r1Jifq6GmOzNR kIRNZGilSgWcih17Zjkh5o26xkO8B3tRsvzMAqBKG+vsnMgBKM1DzRDtavaoKaIHPudP 1Awg== 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:mime-version :content-transfer-encoding; bh=KCS/n24/kway+g/chJDMWBKkk3gREh/lmcrZEeesDsI=; b=O6eqKEpWrP9JhjeaAA8T9l9WX0EdSa8xspmY8H1FIPdlukgM1ZJhz1VVqrPhk32wJW Pb1ffbdv9p/M77srTwGg/kcyqJowTJ0CV6zEPoxGQty3iYVJKccIRP1xad4uB+syv/Ha sIzHG78Hi0inJ/idfczPijlmBoYB+nfbBfZzmDr78CEp97y+69ZhO+I6z7wLBs7OSn/B QxXlqZwV0nLEyr8lRKbbPwjutg9XY19gKwUa3MMYe0UUy07tAWcnmuRzkyOKEYea8/Kn 4DFLNpenKMx6JuwosblznDVyR+Hc/0I16oWH9U42u799217VJ8qiiVIxlhgPoIB5c0IS /OYQ== X-Gm-Message-State: AOAM530wMkhsMcZ2sCOb+cJEZx9hL/L5LKm9sZIerXYgS1a90lE6RhIf jrYBtuQ0NNCa1i14zj4bcnL/jVnpkT0= X-Google-Smtp-Source: ABdhPJzkCIgkHmSo7Z0x5hWD/CreL5UdBJ2H/F43hxFzjc2h06+Ye1aksrtbdXiQAUAgwsG8YbxaTQ== X-Received: by 2002:adf:8342:: with SMTP id 60mr4061083wrd.158.1598709591695; Sat, 29 Aug 2020 06:59:51 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id 1sm3319976wmi.40.2020.08.29.06.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Aug 2020 06:59:51 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 29 Aug 2020 15:59:40 +0200 Message-Id: <20200829135941.1862456-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/systemd: disable cryptsetup for host package 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: Fabrice Fontaine , "Yann E . MORIN" , Adam Duskett , Maxime Hadjinlian Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Build with cryptsetup and without libblkid will fail on: ../src/shared/dissect-image.c:1336:34: error: 'N_DEVICE_NODE_LIST_ATTEMPTS' undeclared (first use in this function) 1336 | for (unsigned i = 0; i < N_DEVICE_NODE_LIST_ATTEMPTS; i++) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ This bug has been reported upstream: https://github.com/systemd/systemd/pull/16901 and is not an issue for the target variant as libblkid is select by BR2_PACKAGE_UTIL_LINUX_MOUNT As cryptsetup does not seem needed for host-systemd, just disable it Fixes: - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd Signed-off-by: Fabrice Fontaine --- package/systemd/systemd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index e356cb1add..115ccbda06 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -699,7 +699,8 @@ HOST_SYSTEMD_CONF_OPTS = \ -Dinitrd=false \ -Dxdg-autostart=false \ -Dkernel-install=false \ - -Dsystemd-analyze=false + -Dsystemd-analyze=false \ + -Dlibcryptsetup=false HOST_SYSTEMD_DEPENDENCIES = \ $(BR2_COREUTILS_HOST_DEPENDENCY) \ From patchwork Sat Aug 29 13:59:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1353693 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) 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.a=rsa-sha256 header.s=20161025 header.b=RbidH5ek; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BdylR0Q60z9sTR for ; Sun, 30 Aug 2020 00:00:02 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C6F188672C; Sat, 29 Aug 2020 14:00:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NZIWgki7L10G; Sat, 29 Aug 2020 14:00:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 1D7E286773; Sat, 29 Aug 2020 14:00:00 +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 9D3CC1BF263 for ; Sat, 29 Aug 2020 13:59:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 940952036D for ; Sat, 29 Aug 2020 13:59:59 +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 zE2uqEWHStC4 for ; Sat, 29 Aug 2020 13:59:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by silver.osuosl.org (Postfix) with ESMTPS id 6605520348 for ; Sat, 29 Aug 2020 13:59:58 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id j2so116605wrx.7 for ; Sat, 29 Aug 2020 06:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hlXU4Dtdps+VQ0pCtmixsy5N3cwr32aTTylX9NmuW9Q=; b=RbidH5ekJxJjkNd64oJNBiuw3+IbhOMzZPzIrQR4eN/cfbBpIjTWC6FkFxW1sXwmgx r2odyxcgMAn7BUx64OO3ngmLkjmOfUbTihop6dksIYoCfR+GbNzj3XunaS1MgcMj6c1B K772g781q6dtwCRrvubYewjuOEPb7DF+PqUnrablqvcNerXazApbOEVEV9l/To3WsGu6 3MvzD4lps4BkVFQO8O9kCIOVXHX+MEwdiNjhQ6zAx0UHxyxGMF8CO2yxTBar5TMfcj/5 CUFDCBOj2r9O62YxjVuo5hB4n8mA6iHDEG8IJG3z4b2GQQf3xG8w2qWPbuWU43RFxmrR asqQ== 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=hlXU4Dtdps+VQ0pCtmixsy5N3cwr32aTTylX9NmuW9Q=; b=CmR0AlXGneeddqhgQ3k3RBPokk11gxrH6k5AJTZXW1rxwlL5wTBXfEQISzh9fDm/YF om5OjSrGLzBF1RhoOAesLuJAJBZOi7+lyDBFWkFRDJCv+04NY1EC/5s54vxzoBDiiqaf 5i5Ead50bOj1T2I7j3jgz43M2unWLzw5JwG9PGe1XuY2Q9vPeVTbAGtPItR4Tpyh3YJc joPh/AxKe7aSH2nmGULSXumAYhFXeKPbnDRS8u6PmVUqY1Czl0FXwBq0tG8bv5certus lua3n1I6okA+pFol3nSsEwZDAH9NCk/xgL6SqtLoymK+jebFZHEAPg+ky3JQ+hmo7bAZ iQSQ== X-Gm-Message-State: AOAM533jXhORQwZYaphDfIZJUgEOpZqnYxrAJqA7W096bliClSoV268E Cp9ZVghZacoUazBkLzLOpfogjJiQpn0= X-Google-Smtp-Source: ABdhPJwQyFdQEMsJJItuxc/75keMxYMlPfzdhn1pdB+8nqVlBZj/vGtGet4PJ9QrMCymeuxos5vKJQ== X-Received: by 2002:adf:e989:: with SMTP id h9mr3982122wrm.38.1598709596585; Sat, 29 Aug 2020 06:59:56 -0700 (PDT) Received: from kali.home (2a01cb0881b76d00c2afd0dfa851d2b9.ipv6.abo.wanadoo.fr. [2a01:cb08:81b7:6d00:c2af:d0df:a851:d2b9]) by smtp.gmail.com with ESMTPSA id 1sm3319976wmi.40.2020.08.29.06.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Aug 2020 06:59:56 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 29 Aug 2020 15:59:41 +0200 Message-Id: <20200829135941.1862456-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200829135941.1862456-1-fontaine.fabrice@gmail.com> References: <20200829135941.1862456-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/systemd: disable audit for host package 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: Fabrice Fontaine , "Yann E . MORIN" , Adam Duskett , Maxime Hadjinlian Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Disable audit for host package to avoid getting the following error if it is found on host: [84/662] Generating audit_type-list.txt with a meson_exe.py custom command In file included from :32: ./../src/basic/missing_audit.h:7:10: fatal error: libaudit.h: No such file or directory 7 | #include | ^~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/67782c225c08387c1bbcbea9eee3ca12bc6577cd Signed-off-by: Fabrice Fontaine --- package/systemd/systemd.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 115ccbda06..81fa2bd0f0 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -700,7 +700,8 @@ HOST_SYSTEMD_CONF_OPTS = \ -Dxdg-autostart=false \ -Dkernel-install=false \ -Dsystemd-analyze=false \ - -Dlibcryptsetup=false + -Dlibcryptsetup=false \ + -Daudit=false HOST_SYSTEMD_DEPENDENCIES = \ $(BR2_COREUTILS_HOST_DEPENDENCY) \