Thanks, it looks good.
toggle quoted messageShow quoted text
Perhaps you can write in the commit id what is the effect in size compared to not using static compilation.
Please send me a merge request
From: email@example.com <firstname.lastname@example.org>
Sent: Tuesday, September 15, 2020 11:24 PM
To: sangorrin daniel(サンゴリン ダニエル □ＳＷＣ◯ＡＣＴ) <email@example.com>
Cc: pyla venkata(ＴＳＩＰ) <Venkata.Pyla@toshiba-tsip.com>; firstname.lastname@example.org
Subject: [cip-core:deby 3/3] aide-static: enable aide to build statically
From: venkata pyla <email@example.com>
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 <firstname.lastname@example.org>
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
@@ -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
@@ -16,3 +16,5 @@ LAYERVERSION_cip-security = "1"
LAYERDEPENDS_cip-security = "debian"
LAYERSERIES_COMPAT_cip-security = "warrior"
The information contained in this e-mail message and in any attachments/annexure/appendices is confidential to the recipient and may
contain privileged information.
If you are not the intended recipient, please notify the sender and delete the message along with any
attachments/annexure/appendices. You should not disclose, copy or otherwise use the information contained in the message or any
annexure. Any views expressed in this e-mail are those of the individual sender except where the sender specifically states them to be
the views of Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.
Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is
accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or damage arising in any way from its use.