Commit Graph

10 Commits

Author SHA1 Message Date
Shreenidhi Shedi 9f71514cd2 trousers: fix conf file ownership
Change-Id: I99cf28c6e66742882175c1a5284b572647d9ff2b
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/22230
2023-10-27 01:00:22 -07:00
root 6feb533977 Use systemd-rpm-macros for user creation
Change-Id: I57a738cc27e21b561e69955c027d0865b4258a56
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/20007
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Shreenidhi Shedi <sshedi@vmware.com>
2023-03-15 03:26:13 -07:00
Shreenidhi Shedi 29bffaffa7 rpm: cleanup macros file
- Remove brp-strip-debug-symbols script, it's done by brp-strip
- Improvise brp-strip, more details in patch commit message

tree-wide:
- Remove all .la files from getting packaged

libgd:
- upgrade to v2.3.3

Change-Id: I1182c207e9c7fef6fc06c11497146f742b925719
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/17180
Reviewed-by: Vamsi Krishna Brahmajosyula <vbrahmajosyula@vmware.com>
2022-09-29 10:09:52 -07:00
Shreenidhi Shedi 634f35273c package-builder: check for unintented debug symbols in rpms
`%exclude %{_libdir}/debug` in spec files will package debug symbols
inside rpms which is unintented. This increases rpm size.

This patch crosschecks built rpms and searches for debug symbols in rpms
If debug symbols found, build will be stopped immediately.

Upon rerun, the faulty rpms won't be built again. We need to manually
remove the rpms from stage directory and build the rpms again to ensure
rpm packaging is good.

Change-Id: Ib32d365e1a4d0dd31e38639a5cbaaea612a4a989
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/16623
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
2022-07-07 13:07:52 -07:00
gerrit-photon e25b5429b2 auto spec version bump up: trousers
- trousers: bump up to 0.3.15

Change-Id: Ib267ad49f81d43fb73b3167285a42e49d9e7199d
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/15864
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Michelle Wang <michellew@vmware.com>
2022-04-30 21:35:13 -07:00
Satya Naga Rajesh 4d663581bd openssl: openssl version update to 3.0.0
Change-Id: I022af8d9dca59a245ac3ba2671724dee529c13b7
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/13879
Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
Tested-by: Srivatsa S. Bhat <srivatsab@vmware.com>
2021-11-18 13:11:25 -08:00
Alexey Makhalov e453e703e2 packages: support GCC-10
Preparation commit before gcc version update.
The major change is: gcc-10 flipped a default from
-fcommon to -fno-common. So, providing -fcommon
for "broken" packages will not harm old gcc (<10)
but will make it compilable with new one (10+).

Change-Id: I09e6180aa81a7157c74b06d90e33ceb8b588f253
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/12169
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2021-01-27 14:34:56 -08:00
Shreyas B 21218f8bcb Fix for CVE-2020-24330, CVE-2020-24331, CVE-2020-24332 in trousers.
Change-Id: I64b7c6625ee5391ea481af1b71c238ec5c6e4b27
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/10900
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Tapas Kundu <tkundu@vmware.com>
2020-08-28 00:13:43 -07:00
Alexey Makhalov a26f86e3cf use standard configure macros
2 benefits:
1. It explicitly sets all standard directories to correct ones
2. It uses --host and --target, so many packages with outdated config.sub
   and config.guess will work woth new targets like aarch64

Change-Id: Icbce8f2ee3e971806248801175c821cce0966184
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4049
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Dheeraj S Shetty <dheerajs@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
2017-10-17 18:42:42 -07:00
Alexey Makhalov e1a9209097 New packages for trusted boot: trousers, tboot
Change-Id: Icf476b4215f928bfe48791f973ea8d0147db15dd
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2164
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Vinay Kulkarni <kulkarniv@vmware.com>
2017-03-24 12:16:42 -07:00