Le vendredi 06 février 2015 à 18:07 +0900, Chanho Park a écrit :
> Dear all,
> 
> First of all, please understand I don't have much knowledge about security.
> Do we need preinstalling the rpm-security-plugin on build? It causes
> delaying of build time.
> 
> Preinstall: rpm-security-plugin
> 
> Please look below build log of dali-core.
> 
> [   54s] [126/126] installing boost-devel-1.57.0-8.2
> [   85s] removing nis flags from //etc/nsswitch.conf...
> 
> To install a boost-devel package, it was taken 29 seconds. I know the
> boost-devel package is an extreme case because it has thousands source
> files.
> Is there any way to except the rpm-security-plugin only build time?
> 
> With rpm-security-plugin:
> bash-4.1# time rpm -ivh --force --nodeps boost-devel-1.51.0-2.41.i586.rpm 
> 
> real  0m25.276s
> user  0m24.302s
> sys   0m0.914s
> 
> Without rpm-security-plugin:
> bash-4.1# rpm -e --force rpm-security-plugin
> bash-4.1# time rpm -ivh --force --nodeps boost-devel-1.51.0-2.41.i586.rpm
> real  0m1.754s
> user  0m1.140s
> sys   0m0.612s


Hello Chanho,

that is impressive, using rpm-security-plugin is 14x slower on a single
rpm.

Maybe that deactivating security during build is possible but it creates
a kind of exception.

Can we improve the time of rpm-security-plugin? This question can be
asked too.

What is your build system? Emulation? Emulated ARM on intel x32? It may
also be an effect of emulation.

Best regards
José Bollo


_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to