From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Marcin Juszkiewicz <openembedded@haerwu.biz>,
Richard Purdie <richard@openedhand.com>
Subject: Re: [PATCH 17/70] yum-native: Add patch to fix install paths (from Poky)
Date: Tue, 10 Mar 2009 00:59:06 -0700 [thread overview]
Message-ID: <200903100059.06781.raj.khem@gmail.com> (raw)
In-Reply-To: <1236182004-4523-18-git-send-email-openembedded@haerwu.biz>
[-- Attachment #1: Type: text/plain, Size: 5838 bytes --]
On Wednesday 04 March 2009 07:52:32 Marcin Juszkiewicz wrote:
> From: Richard Purdie <richard@openedhand.com>
>
> git-svn-id: https://svn.o-hand.com/repos/poky@5109
> 311d38ba-8fff-0310-9ca6-ca027cbcb966 ---
> packages/yum/yum-native/paths.patch | 88
> +++++++++++++++++++++++++++++++++++ packages/yum/yum-native_3.2.18.bb |
> 4 +-
> 2 files changed, 91 insertions(+), 1 deletions(-)
> create mode 100644 packages/yum/yum-native/paths.patch
>
> diff --git a/packages/yum/yum-native/paths.patch
> b/packages/yum/yum-native/paths.patch new file mode 100644
> index 0000000..ee5c999
> --- /dev/null
> +++ b/packages/yum/yum-native/paths.patch
> @@ -0,0 +1,88 @@
> +Index: yum-3.2.18/Makefile
> +===================================================================
> +--- yum-3.2.18.orig/Makefile 2008-08-23 09:13:56.000000000 +0100
> ++++ yum-3.2.18/Makefile 2008-08-23 09:18:09.000000000 +0100
> +@@ -18,19 +18,19 @@
> + for d in $(SUBDIRS); do make PYTHON=$(PYTHON) -C $$d; [ $$? = 0 ] ||
> exit 1 ; done +
> + install:
> +- mkdir -p $(DESTDIR)/usr/share/yum-cli
> ++ mkdir -p $(DESTDIR)$(datadir)/yum-cli
> + for p in $(PYFILES) ; do \
> +- install -m 644 $$p $(DESTDIR)/usr/share/yum-cli/$$p; \
> ++ install -m 644 $$p $(DESTDIR)$(datadir)/yum-cli/$$p; \
> + done
> +- mv $(DESTDIR)/usr/share/yum-cli/yum-updatesd.py
> $(DESTDIR)/usr/share/yum-cli/yumupd.py +- $(PYTHON) -c "import compileall;
> compileall.compile_dir('$(DESTDIR)/usr/share/yum-cli', 1, '$(PYDIR)', 1)"
> ++ mv $(DESTDIR)$(datadir)/yum-cli/yum-updatesd.py
> $(DESTDIR)$(datadir)/yum-cli/yumupd.py ++ $(PYTHON) -c "import compileall;
> compileall.compile_dir('$(DESTDIR)$(datadir)/yum-cli', 1, '$(PYDIR)', 1)" +
> +- mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin
> +- install -m 755 bin/yum.py $(DESTDIR)/usr/bin/yum
> +- install -m 755 bin/yum-updatesd.py $(DESTDIR)/usr/sbin/yum-updatesd
> ++ mkdir -p $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir)
> ++ install -m 755 bin/yum.py $(DESTDIR)$(bindir)/yum
> ++ install -m 755 bin/yum-updatesd.py $(DESTDIR)$(sbindir)/yum-updatesd
> +
> +- mkdir -p $(DESTDIR)/var/cache/yum
> +- mkdir -p $(DESTDIR)/var/lib/yum
> ++ mkdir -p $(DESTDIR)$(localstatedir)/cache/yum
> ++ mkdir -p $(DESTDIR)$(localstatedir)/lib/yum
> +
> + for d in $(SUBDIRS); do make PYTHON=$(PYTHON) DESTDIR=`cd $(DESTDIR);
> pwd` -C $$d install; [ $$? = 0 ] || exit 1; done +
> +Index: yum-3.2.18/docs/Makefile
> +===================================================================
> +--- yum-3.2.18.orig/docs/Makefile 2008-08-23 09:19:07.000000000 +0100
> ++++ yum-3.2.18/docs/Makefile 2008-08-23 09:19:37.000000000 +0100
> +@@ -6,9 +6,9 @@
> + rm -fr epydoc
> +
> + install:
> +- mkdir -p $(DESTDIR)/usr/share/man/man{5,8}
> +- install -m 644 yum.8 $(DESTDIR)/usr/share/man/man8/yum.8
> +- install -m 644 yum-shell.8 $(DESTDIR)/usr/share/man/man8/yum-shell.8
> +- install -m 644 yum.conf.5 $(DESTDIR)/usr/share/man/man5/yum.conf.5
> +- install -m 644 yum-updatesd.8
> $(DESTDIR)/usr/share/man/man8/yum-updatesd.8 +- install -m 644
> yum-updatesd.conf.5 $(DESTDIR)/usr/share/man/man5/yum-updatesd.conf.5
> ++ mkdir -p $(DESTDIR)$(mandir)/man{5,8}
> ++ install -m 644 yum.8 $(DESTDIR)$(mandir)/man8/yum.8
> ++ install -m 644 yum-shell.8 $(DESTDIR)$(mandir)/man8/yum-shell.8
> ++ install -m 644 yum.conf.5 $(DESTDIR)$(mandir)/man5/yum.conf.5
> ++ install -m 644 yum-updatesd.8 $(DESTDIR)$(mandir)/man8/yum-updatesd.8
> ++ install -m 644 yum-updatesd.conf.5
> $(DESTDIR)$(mandir)/man5/yum-updatesd.conf.5 +Index:
> yum-3.2.18/etc/Makefile
> +===================================================================
> +--- yum-3.2.18.orig/etc/Makefile 2008-08-23 09:19:51.000000000 +0100
> ++++ yum-3.2.18/etc/Makefile 2008-08-23 09:20:28.000000000 +0100
> +@@ -5,20 +5,20 @@
> + rm -f *.pyc *.pyo *~
> +
> + install:
> +- mkdir -p $(DESTDIR)/etc/yum/
> +- mkdir -p $(DESTDIR)/etc/yum/repos.d
> ++ mkdir -p $(DESTDIR)$(sysconfdir)/yum/
> ++ mkdir -p $(DESTDIR)$(sysconfdir)/yum/repos.d
> +
> +- install -m 644 yum.conf $(DESTDIR)/etc/yum/yum.conf
> ++ install -m 644 yum.conf $(DESTDIR)$(sysconfdir)/yum/yum.conf
> +
> +- mkdir -p $(DESTDIR)/etc/logrotate.d
> +- install -m 644 yum.logrotate $(DESTDIR)/etc/logrotate.d/yum
> ++ mkdir -p $(DESTDIR)$(sysconfdir)/logrotate.d
> ++ install -m 644 yum.logrotate $(DESTDIR)$(sysconfdir)/logrotate.d/yum
> +
> +- mkdir -p $(DESTDIR)/etc/rc.d/init.d
> +- install -m 755 yum-updatesd.init $(DESTDIR)/etc/rc.d/init.d/yum-updatesd
> ++ mkdir -p $(DESTDIR)$(sysconfdir)/rc.d/init.d
> ++ install -m 755 yum-updatesd.init
> $(DESTDIR)$(sysconfdir)/rc.d/init.d/yum-updatesd +
> +- mkdir -p $(DESTDIR)/etc/dbus-1/system.d/
> +- install -m 755 yum-updatesd-dbus.conf
> $(DESTDIR)/etc/dbus-1/system.d/yum-updatesd.conf ++ mkdir -p
> $(DESTDIR)$(sysconfdir)/dbus-1/system.d/
> ++ install -m 755 yum-updatesd-dbus.conf
> $(DESTDIR)$(sysconfdir)/dbus-1/system.d/yum-updatesd.conf +
> +- install -m 755 yum-updatesd.conf $(DESTDIR)/etc/yum/yum-updatesd.conf
> ++ install -m 755 yum-updatesd.conf
> $(DESTDIR)$(sysconfdir)/yum/yum-updatesd.conf +
> +
> diff --git a/packages/yum/yum-native_3.2.18.bb
> b/packages/yum/yum-native_3.2.18.bb index 6657c52..d3098cc 100644
> --- a/packages/yum/yum-native_3.2.18.bb
> +++ b/packages/yum/yum-native_3.2.18.bb
> @@ -1,6 +1,8 @@
> HOMEPAGE = "http://linux.duke.edu/projects/yum/"
>
> -SRC_URI =
> "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz" +SRC_URI
> = "http://linux.duke.edu/projects/yum/download/3.2/yum-${PV}.tar.gz \ +
> file://paths.patch;patch=1"
> +PR = "r1"
>
> DEPENDS = "rpm-native python-native python-iniparse-native
> python-urlgrabber-native yum-metadata-parser-native"
This seems ok to me.
--
Khem Raj
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 204 bytes --]
next prev parent reply other threads:[~2009-03-10 15:04 UTC|newest]
Thread overview: 115+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903100059.06781.raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded@haerwu.biz \
--cc=richard@openedhand.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox