Message ID | 20200915142345.179-4-venkata.pyla@toshiba-tsip.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | deby security layer changes | expand |
Thanks, it looks good. 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 > -----Original Message----- > From: venkata.pyla@toshiba-tsip.com <venkata.pyla@toshiba-tsip.com> > Sent: Tuesday, September 15, 2020 11:24 PM > To: sangorrin daniel(サンゴリン ダニエル □SWC◯ACT) <daniel.sangorrin@toshiba.co.jp> > Cc: pyla venkata(TSIP) <Venkata.Pyla@toshiba-tsip.com>; cip-dev@lists.cip-project.org > Subject: [cip-core:deby 3/3] aide-static: enable aide to build statically > > From: venkata pyla <venkata.pyla@toshiba-tsip.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 <venkata.pyla@toshiba-tsip.com> > --- > 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 > -- > 2.27.0.windows.1 > > 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. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5459): https://lists.cip-project.org/g/cip-dev/message/5459 Mute This Topic: https://lists.cip-project.org/mt/76865934/4520428 Group Owner: cip-dev+owner@lists.cip-project.org Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129116/1171672734/xyzzy [patchwork-cip-dev@patchwork.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-
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