All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org, dvhart@linux.intel.com
Subject: [PATCH 06/10] quilt: move empty quiltrc to native
Date: Thu, 19 Apr 2012 15:44:20 -0700	[thread overview]
Message-ID: <ad439be70f90f60d12d905c8c6546d373448ca6a.1334875218.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1334875218.git.sgw@linux.intel.com>
In-Reply-To: <cover.1334875218.git.sgw@linux.intel.com>

The package.bbclass uses the native sysroot /usr/bin/quiltrc as an empty quiltrc
to ensure that the user quiltrc does not affect our patching scheme. This ensures
the correct file is in the correct sysroot.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/quilt/quilt-0.51.inc       |    5 -----
 meta/recipes-devtools/quilt/quilt-native.inc     |    6 ++++++
 meta/recipes-devtools/quilt/quilt-native_0.51.bb |    2 +-
 meta/recipes-devtools/quilt/quilt_0.51.bb        |    2 +-
 4 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-devtools/quilt/quilt-0.51.inc b/meta/recipes-devtools/quilt/quilt-0.51.inc
index e89013a..824e624 100644
--- a/meta/recipes-devtools/quilt/quilt-0.51.inc
+++ b/meta/recipes-devtools/quilt/quilt-0.51.inc
@@ -24,11 +24,6 @@ RDEPENDS_${PN} = "bash"
 # quilt ignores DESTDIR
 do_install () {
 	oe_runmake 'BUILD_ROOT=${D}' install
-	if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then
-		# Dummy quiltrc file for patch.bbclass
-		install -d ${D}${bindir}/
-		touch ${D}${bindir}/quiltrc
-	fi
 	# cleanup unpackaged files
 	rm -rf ${D}/${datadir}/emacs
 }
diff --git a/meta/recipes-devtools/quilt/quilt-native.inc b/meta/recipes-devtools/quilt/quilt-native.inc
index 7efea02..8a03a5d 100644
--- a/meta/recipes-devtools/quilt/quilt-native.inc
+++ b/meta/recipes-devtools/quilt/quilt-native.inc
@@ -11,3 +11,9 @@ EXTRA_OECONF = "--disable-nls"
 do_configure () {
 	oe_runconf
 }
+
+do_install_append () {
+	# Dummy quiltrc file for patch.bbclass
+	install -d ${D}${bindir}/
+	touch ${D}${bindir}/quiltrc
+}
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.51.bb b/meta/recipes-devtools/quilt/quilt-native_0.51.bb
index b99b9b6..1494bf2 100644
--- a/meta/recipes-devtools/quilt/quilt-native_0.51.bb
+++ b/meta/recipes-devtools/quilt/quilt-native_0.51.bb
@@ -1,4 +1,4 @@
 require quilt-${PV}.inc
 require quilt-native.inc
 
-PR = "r0"
+PR = "r1"
diff --git a/meta/recipes-devtools/quilt/quilt_0.51.bb b/meta/recipes-devtools/quilt/quilt_0.51.bb
index bc62161..6865cd8 100644
--- a/meta/recipes-devtools/quilt/quilt_0.51.bb
+++ b/meta/recipes-devtools/quilt/quilt_0.51.bb
@@ -4,4 +4,4 @@ RDEPENDS_${PN} += "patch diffstat bzip2 util-linux"
 SRC_URI += "file://aclocal.patch \
             file://gnu_patch_test_fix_target.patch \
            "
-PR = "r2"
+PR = "r3"
-- 
1.7.7.6




  parent reply	other threads:[~2012-04-19 22:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-19 22:44 [PATCH 00/10] Updates and Packaging fixes Saul Wold
2012-04-19 22:44 ` [PATCH 01/10] binutils: add embedspu for ppc builds Saul Wold
2012-04-19 22:44 ` [PATCH 02/10] libgcc: Package additional *crt*.o files for PPC Saul Wold
2012-04-19 22:44 ` [PATCH 03/10] xserver-kdrive: Add xkb to existing docs list Saul Wold
2012-04-19 22:44 ` [PATCH 04/10] kernel: Fix packaging issue Saul Wold
2012-04-19 22:56   ` Darren Hart
2012-04-19 22:58   ` Saul Wold
2012-04-19 22:44 ` [PATCH 05/10] gcc: Add plugins package for ARM, fix /usr/incude packaging Saul Wold
2012-04-19 22:44 ` Saul Wold [this message]
2012-04-20  4:17   ` [PATCH 06/10] quilt: move empty quiltrc to native Chris Larson
2012-04-20  6:23     ` Saul Wold
2012-04-20  9:50       ` Richard Purdie
2012-04-19 22:44 ` [PATCH 07/10] sysstat: Upgrade to 10.0.3 Saul Wold
2012-04-19 22:44 ` [PATCH 08/10] lame: Upgrade to 3.99.5 Saul Wold
2012-04-19 22:44 ` [PATCH 09/10] sqlite3: Upgrade to 3.7.11 Saul Wold
2012-04-19 22:44 ` [PATCH 10/10] distro_tracking: Update Manual Check Saul Wold

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=ad439be70f90f60d12d905c8c6546d373448ca6a.1334875218.git.sgw@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=dvhart@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 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.