All of lore.kernel.org
 help / color / mirror / Atom feed
* Merging RPM support from Poky
@ 2009-03-04 15:52 Marcin Juszkiewicz
  2009-03-04 15:52 ` [PATCH 01/70] rpm: drop 4.4 Marcin Juszkiewicz
                   ` (72 more replies)
  0 siblings, 73 replies; 115+ messages in thread
From: Marcin Juszkiewicz @ 2009-03-04 15:52 UTC (permalink / raw)
  To: openembedded-devel

As some of you know Poky has RPM support written. It consists few parts:

- creating RPM packages
- creating rootfs from RPM packages
- using RPM/YUM on device to managing packages (installing from local and
  remote packages

I had one attempt to get it merged before but it had some bugs so I started
from scratch. Extracting required patches from pile of 1800 Poky changsets
took me some time.

With this patchset I managed to build 'minimal-image' for AT91SAM9263-EK
machine. As distribution I used 'minimal' to get something other then
Angstrom.

So please review it (patch 67 is already merged in .dev tree).

It is also visible on Web: http://cgit.openembedded.net/cgit.cgi?url=openembedded/log/&h=hrw/poky-merge/add-rpm-packages-support

Fetch via: git pull hrw/poky-merge/add-rpm-packages-support

 classes/base.bbclass                               |   13 +
 classes/package.bbclass                            |    6 +
 classes/package_rpm.bbclass                        |  140 +++++++--
 classes/packaged-staging.bbclass                   |   14 +
 classes/rootfs_rpm.bbclass                         |  220 ++++++++++++++
 classes/rpm_core.bbclass                           |   16 -
 packages/beecrypt/beecrypt_3.1.0.bb                |   16 +-
 packages/beecrypt/files/x64fix.patch               |   20 ++
 packages/fakechroot/fakechroot-native_2.5.bb       |    2 +-
 packages/fakechroot/fakechroot_2.5.bb              |    3 +-
 packages/fakechroot/files/fix-readlink.patch       |   32 ++
 packages/libxml/libxml2-native.inc                 |    5 +-
 packages/libxml/libxml2-native_2.7.2.bb            |    2 +-
 packages/openssl/openssl-native_0.9.7g.bb          |    1 +
 packages/openssl/openssl-native_0.9.7m.bb          |    1 +
 packages/openssl/openssl-native_0.9.8g.bb          |    1 +
 packages/python/python-iniparse-native_0.2.3.bb    |   10 +
 packages/python/python-iniparse_0.2.3.bb           |   11 +
 packages/python/python-urlgrabber-native_3.1.0.bb  |   10 +
 packages/python/python-urlgrabber_3.1.0.bb         |   11 +
 .../python/yum-metadata-parser-native_1.1.2.bb     |   12 +
 packages/python/yum-metadata-parser_1.1.2.bb       |   13 +
 packages/rpm/files/cross_libpaths.patch            |  239 +++++++++++++++-
 packages/rpm/files/extcond.patch                   |   78 +++++
 packages/rpm/files/external-tools.patch            |  108 +++++++
 packages/rpm/files/fix_mypath.patch                |   13 -
 packages/rpm/files/missingok.patch                 |   44 +++
 packages/rpm/files/tagsbackport.patch              |   37 +++
 packages/rpm/files/weakdeps.patch                  |  312 ++++++++++++++++++++
 packages/rpm/rpm-native_4.4.2.3.bb                 |    7 +
 packages/rpm/rpm_4.4.2.3.bb                        |  108 +++++++
 packages/rpm/rpm_4.4.bb                            |   44 ---
 packages/yum/createrepo-native/fix.patch           |   17 +
 packages/yum/createrepo-native/pathfix.patch       |   81 +++++
 packages/yum/createrepo-native_0.9.bb              |   17 +
 packages/yum/files/extract-postinst.awk            |   11 +
 packages/yum/files/fix                             |   18 ++
 packages/yum/files/hacks.patch                     |   81 +++++
 packages/yum/files/paths.patch                     |   96 ++++++
 packages/yum/files/paths2.patch                    |   33 ++
 packages/yum/files/yum-install-recommends.py       |   39 +++
 packages/yum/yum-native_3.2.18.bb                  |   25 ++
 packages/yum/yum_3.2.18.bb                         |   32 ++
 43 files changed, 1872 insertions(+), 127 deletions(-)






^ permalink raw reply	[flat|nested] 115+ messages in thread

end of thread, other threads:[~2009-03-19 15:18 UTC | newest]

Thread overview: 115+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-04 15:52 Merging RPM support from Poky Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 01/70] rpm: drop 4.4 Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 02/70] rpm/rpm-native: Add recipe for 4.4.2.3 (from Poky) Marcin Juszkiewicz
2009-03-04 19:17   ` Tom Rini
2009-03-04 20:28     ` Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 03/70] rpm: Patch out some Makefile strangeness causing build failures " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 04/70] rpm: Enable python extensions and improve cross compiling patches " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 05/70] rpm: Tweak patches to remove popt problem " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 06/70] rpm: Add recommends support from suse rpm patches " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 07/70] rpm-native: Set varprefix to get the rpm database in a sane location " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 08/70] rpm: Handle PYTHONVER differently in EXTRA_OECONF to stop gettext/uclibc failures during parsing " Marcin Juszkiewicz
2009-03-04 17:11   ` Michael 'Mickey' Lauer
2009-03-04 19:29     ` Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 09/70] rpm: Add missing patches " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 10/70] rpm: Add python module packaging " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 11/70] beecrypt: get patch from Poky to fix building on 64bit machines Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 12/70] Drop pointless rpm_core class. (from Poky) Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 13/70] Add python-urlgrabber, python-iniparser, yum-metadata-parser and native varients " Marcin Juszkiewicz
2009-03-04 17:14   ` Michael 'Mickey' Lauer
2009-03-04 19:58     ` Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 14/70] Add yum-native and createrepo " Marcin Juszkiewicz
2009-03-04 19:35   ` Tom Rini
2009-03-04 19:53   ` Tom Rini
2009-03-04 20:26     ` Tom Rini
2009-03-04 20:29     ` Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 15/70] createrepo-native: Add fix for empty data fields when creating repositories " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 16/70] createrepo-native: added dependency on Python " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 17/70] yum-native: Add patch to fix install paths " Marcin Juszkiewicz
2009-03-10  7:59   ` Khem Raj
2009-03-04 15:52 ` [PATCH 18/70] yum-native: Add some hacks to make yum work better in the cross build case " Marcin Juszkiewicz
2009-03-10  7:58   ` Khem Raj
2009-03-10 10:54     ` Richard Purdie
2009-03-04 15:52 ` [PATCH 19/70] yum-native: add depends on libxml2-native " Marcin Juszkiewicz
2009-03-10  7:59   ` Khem Raj
2009-03-04 15:52 ` [PATCH 20/70] yum-native: Add NOPOST and NOTRIGGERS flags when installing packages " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 21/70] yum-native: Add extract-postinst.awk script for use during rootfs generation " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 22/70] yum-metadata-parser-native: depend on GLib 2.0 native " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 23/70] yum: Add yum-install-recommends.py script to handle installing Recommends " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 24/70] yum: added 3.2.18 " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 25/70] yum-metadata-parser: fixed dependencies " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 26/70] yum: do not hardcode arm architecture - rootfs_rpm provide arch info " Marcin Juszkiewicz
2009-03-10  8:02   ` Khem Raj
2009-03-04 15:52 ` [PATCH 27/70] yum: Don't apply hacks.patch, its only needed for the native version " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 28/70] yum-native: Fix hacks.patch to handle architecture detection issues " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 29/70] yum: fixed packaging " Marcin Juszkiewicz
2009-03-04 17:17   ` Michael 'Mickey' Lauer
2009-03-04 15:52 ` [PATCH 30/70] yum: added all required Python modules to dependencies " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 31/70] fakechroot: fix duplicated readlink " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 32/70] package_rpm.bbclass: Update against recent packaging changes and start to implement dependency handling. " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 33/70] Add rootfs_rpm.bbclass, a start at image generation from rpms. Its not expected to be entirely functional yet. " Marcin Juszkiewicz
2009-03-04 17:42   ` Tom Rini
2009-03-04 17:47   ` Tom Rini
2009-03-04 15:52 ` [PATCH 34/70] rootfs_rpm.bbclass: ship rpm and yum in target images " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 35/70] package_rpm.bbclass: Fix empty package handling, handle package dependency renaming by adding a missing function call and expand RPMBUILD before changing the dictonary so local PV/PR changes don't break the WORKDIR variable expansion " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 36/70] package_rpm.bbclass: Stop autogenerated dependencies for now, its not functioning correctly " Marcin Juszkiewicz
2009-03-10  8:06   ` Khem Raj
2009-03-04 15:52 ` [PATCH 37/70] package_rpm.bbclass: files needs to start from / " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 38/70] package_rpm.bbclass: Fix problems with package version with '-' in the version (replace with '+'), improve the Requires and Recommends generation code " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 39/70] package_rpm.bbclass: Add support for postinst and preinst scripts " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 40/70] package_rpm.bbclass: Improve handling of '-' characters in Requires and Recommends fields " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 41/70] package_rpm.bbclass: Fix package version fixing for PKG renamed packages " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 42/70] package_rpm.bbclass: Fix dependency rebuilding bug " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 43/70] package_rpm.bbclass: save value of RPMBUILDPATH as it is needed for packaging " Marcin Juszkiewicz
2009-03-04 15:52 ` [PATCH 44/70] rootfs_rpm.bbclass: Remove the feed directory before packaging the image " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 45/70] rootfs_rpm.bbclass: Add basic postinstall handling during image creation " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 46/70] rootfs_rpm.bbclass: Fixup broken symlinks due to fakechroot and run any leftover postinstalls on real hardware at first boot " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 47/70] rootfs_rpm.bbclass: Add recommends handling " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 48/70] rootfs_rpm.bbclass: Set YUM_ARCH_FORCE " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 49/70] rootfs_rpm.bbclass: remove lock files to get rpm working on device " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 50/70] rootfs_rpm.bbclass: remove temporary yum config - rootfs has one from yum package " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 51/70] rootfs_rpm.bbclass: added generation of feed entries " Marcin Juszkiewicz
2009-03-04 17:43   ` Tom Rini
2009-03-04 15:53 ` [PATCH 52/70] classes: Split rpm feeds by PACKAGE_ARCH " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 53/70] packaged-staging.bbclass: Add rpm package coverage " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 54/70] rootfs_rpm.bbclass: use more efficient way to copy packages " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 55/70] rootfs_rpm: set target architecture and do not tell yum which arch we will use " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 56/70] rootfs_rpm.bbclass: fix platform so rpm will be usable on device " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 57/70] rootfs_rpm.bbclass: added code to generate images from feeds " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 58/70] python: Fix -native package staging functions " Marcin Juszkiewicz
2009-03-04 17:19   ` Michael 'Mickey' Lauer
2009-03-04 15:53 ` [PATCH 59/70] package_rpm.bbclass: Don't use the system wide RPM macros. " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 60/70] package_rpm.bbclass: Add support for postinst and preinst scripts " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 61/70] openssl-native: make sure that PACKAGES will be empty (proper way) Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 62/70] base.bbclass: Add read_subpkgdata_dict function (from Poky) Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 63/70] package.bbclass: Write out extra useful data into the pkgdata files " Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 64/70] package_rpm.bbclass: fix indentation Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 65/70] rpm-native: add Python 2.6 Marcin Juszkiewicz
2009-03-04 17:20   ` Michael 'Mickey' Lauer
2009-03-04 19:30     ` Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 66/70] package_rpm.bbclass: fix syntax errors Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 68/70] libxml2-native: really enable Python extension Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 69/70] package_rpm.bbclass: save RPROVIDES in packages Marcin Juszkiewicz
2009-03-04 15:53 ` [PATCH 70/70] rootfs_rpm.bbclass: remove two functions (need rewrite for RPM) Marcin Juszkiewicz
2009-03-05  4:06   ` I got the point - did everyone one else? [was: Re: [PATCH 70/70]...] Mike (mwester)
2009-03-05  4:47     ` Tom Rini
2009-03-05  8:45       ` Andrea Adami
2009-03-05  9:26         ` Yuri Bushmelev
2009-03-05 11:35         ` Koen Kooi
2009-03-05 13:56         ` Philip Balister
2009-03-05 12:33       ` Mike (mwester)
2009-03-05 12:49         ` Koen Kooi
2009-03-05 13:20           ` Mike (mwester)
2009-03-05 13:57             ` Koen Kooi
2009-03-05 14:03         ` Philip Balister
2009-03-05 15:00           ` Frans Meulenbroeks
2009-03-05 17:15             ` Michael 'Mickey' Lauer
2009-03-05 17:26               ` Frans Meulenbroeks
2009-03-05 15:08         ` Marcin Juszkiewicz
2009-03-04 16:44 ` Merging RPM support from Poky Koen Kooi
2009-03-04 17:21 ` Michael 'Mickey' Lauer
2009-03-04 17:29   ` Marcin Juszkiewicz
2009-03-04 18:21     ` Philip Balister
2009-03-04 23:00 ` Tom Rini
2009-03-10 16:46   ` Tom Rini
2009-03-19 15:17 ` Marcin Juszkiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.