From patchwork Tue Sep 15 14:23:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkata Pyla X-Patchwork-Id: 11776749 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F9526CA for ; Tue, 15 Sep 2020 14:23:08 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D337A22BEA for ; Tue, 15 Sep 2020 14:23:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=lists.cip-project.org header.i=@lists.cip-project.org header.b="S5EPmrsi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D337A22BEA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=toshiba-tsip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+64572+5455+4520428+8129116@lists.cip-project.org X-Received: by 127.0.0.2 with SMTP id jLf6YY4521763xeYwSPUHNko; Tue, 15 Sep 2020 07:23:07 -0700 X-Received: from peak.toshiba-tesi.com (peak.toshiba-tesi.com [202.56.254.199]) by mx.groups.io with SMTP id smtpd.web12.14728.1600179786660820138 for ; Tue, 15 Sep 2020 07:23:07 -0700 IronPort-SDR: z8wya7gPqewqlOynOdSMsW8+YaX8jV1IgGF1A9r6bf9yHM62f976w34Q8UPZ7hYqUi6qExvsDH S7YgWrmIwlLw== X-IronPort-AV: E=Sophos;i="5.76,430,1592850600"; d="scan'208";a="6248131" X-Received: from unknown (HELO TOSBLRMBX0519.TOSHIBA-TSIP.COM) ([10.116.85.29]) by peak.toshiba-tesi.com with ESMTP; 15 Sep 2020 20:33:56 +0530 X-Received: from TOSBLRMBX0319.TOSHIBA-TSIP.COM (172.28.80.120) by TOSBLRMBX0519.TOSHIBA-TSIP.COM (10.116.85.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 15 Sep 2020 19:53:03 +0530 X-Received: from pvenkat.TOSHIBA-TSIP.COM (172.28.80.121) by TOSBLRMBX0319.TOSHIBA-TSIP.COM (172.28.80.120) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Tue, 15 Sep 2020 19:52:58 +0530 From: "Venkata Pyla" To: CC: venkata pyla , Subject: [cip-dev] [cip-core:deby 3/3] aide-static: enable aide to build statically Date: Tue, 15 Sep 2020 19:53:44 +0530 Message-ID: <20200915142345.179-4-venkata.pyla@toshiba-tsip.com> In-Reply-To: <20200915142345.179-1-venkata.pyla@toshiba-tsip.com> References: <20200915142345.179-1-venkata.pyla@toshiba-tsip.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: cip-dev@lists.cip-project.org List-Id: Mailing-List: list cip-dev@lists.cip-project.org; contact cip-dev+owner@lists.cip-project.org Delivered-To: mailing list cip-dev@lists.cip-project.org Reply-To: cip-dev@lists.cip-project.org X-Gm-Message-State: 57EnOGbAKmZH6MbbmBxqGZtDx4520428AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.cip-project.org; q=dns/txt; s=20140610; t=1600179787; bh=tKnReQya3f/x6kphewuq3t2rKYxYu5UvGLCnLCHHlao=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=S5EPmrsijV8f7RGJoC6P3ommpmjddnDTkzBVSMFfbqYOwKJ1MFpFEfl8P9qlqhwjr9T r7oihq2IVse3GdC/FTzLSyLdOO2R6loLS24Xv/wMg4FVGsB1QVBvMJusSILbeN6N2m3G+ QC0XqWBVPu52YRgHq3BJudCBt8rMBF+0sQc= From: venkata pyla To build aide statically, its dependencies also compile staticalliy, so all aide dependent library packages enabled static compiling in an include file and added to the layer configuration. Signed-off-by: venkata pyla --- meta-cip-security/conf/include/aide-static-libs.inc | 10 ++++++++++ meta-cip-security/conf/layer.conf | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 meta-cip-security/conf/include/aide-static-libs.inc diff --git a/meta-cip-security/conf/include/aide-static-libs.inc b/meta-cip-security/conf/include/aide-static-libs.inc new file mode 100644 index 0000000..1dc4374 --- /dev/null +++ b/meta-cip-security/conf/include/aide-static-libs.inc @@ -0,0 +1,10 @@ +DISABLE_STATIC ?= " --disable-static" + +# aide dependencies to build statically +DISABLE_STATIC_pn-aide = " " +DISABLE_STATIC_pn-libgpg-error = " " +DISABLE_STATIC_pn-libmhash = " " +DISABLE_STATIC_pn-attr = " " +DISABLE_STATIC_pn-acl = " " +DISABLE_STATIC_pn-libpcre = " " +EXTRA_OECONF_append_pn-aide = " --without-audit" diff --git a/meta-cip-security/conf/layer.conf b/meta-cip-security/conf/layer.conf index b015436..158d75c 100644 --- a/meta-cip-security/conf/layer.conf +++ b/meta-cip-security/conf/layer.conf @@ -16,3 +16,5 @@ LAYERVERSION_cip-security = "1" LAYERDEPENDS_cip-security = "debian" LAYERSERIES_COMPAT_cip-security = "warrior" + +require conf/include/aide-static-libs.inc