On 6/1/11 11:16 AM, Phil Blundell wrote: > On Wed, 2011-06-01 at 18:11 +0200, Koen Kooi wrote: >> Furthermore, rpm-native seems to get built even if you don't select rpm as >> package format! > > Yeah, it's called in by package.bbclass: > > # rpm is used for the per-file dependency identification > PACKAGE_DEPENDS += "rpm-native" > > As far as I can tell, the only part that actually gets used is rpmdeps > and it does seem like there ought to be a more lightweight way of > obtaining that one binary than building a full rpm and all its > dependencies.
As you mentioned rpm-native is being used for two reasons. 1 if rpm target package are selected, it's being used to build, manage and install (rootfs) the packages. The other place, where it's always used, is the rpmdeps calculations. > "rpm-native" -> "bzip2-native" Above is used as RPM needs bzip2 to compress components that end up in packages. > "rpm-native" -> "db-native" Back-end DB is well, Berkley DB. > "rpm-native" -> "perl-native" Perl could be disabled if we don't need the perl interfaces to RPM. > "rpm-native" -> "openssl-native" OpenSSL is used for signing if I remember correctly. > "rpm-native" -> "expat-native" expat is needed for some XML parsing. (Currently only internally to RPM, but eventually it's thought this will be used for other purposes.) > "rpm-native" -> "autoconf-native" > "rpm-native" -> "automake-native" > "rpm-native" -> "libtool-native" > "rpm-native" -> "gnu-config-native" > "rpm-native" -> "gettext-native" Above are needed because of configure... > "rpm-native" -> "python-native" If we disable python interfaces to RPM, then this can be disabled. > "rpm-native" -> "acl-native" ACL's are needed for some filesystem access on rootfs generation. > "rpm-native" -> "elfutils-native" elfutils is used for rpmdeps, among other things. > "rpm-native" -> "libpcre-native" this is needed for package installation and creation... it's the pattern recognition. > "rpm-native" -> "zlib-native" zlib is needed, similarly to bzip2, in order to compress/extract specific items that may end up in a package. > "rpm-native" -> "popt-native" popt is the command line argument processing used globally within RPM and it's sub commands. > "rpm-native" -> "attr-native" attr is needed similar to the acl stuff, when constructing rootfs components. -- So in the above, perl and python are really the only items that could be disabled. --Mark > p. > > > > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
