diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-04-19 15:11:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-26 10:05:11 +0100 |
commit | b4d6cedcc3cf8cbd8ba317c9ff13cd70a1d80361 (patch) | |
tree | 23ce69aea1c8dd6df0fd702944ea6006bc50ea8d /meta/recipes-devtools | |
parent | 67fbab3dd56d4278cbf1721d64d4bbc940bbd522 (diff) | |
download | poky-b4d6cedcc3cf8cbd8ba317c9ff13cd70a1d80361.tar.gz |
quilt: move empty quiltrc to native sysconfdir
patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty
version to ensure that no user setting were picked up, change this
to /etc/quiltrc in the Native sysroot since we now have a native
sysconfdir.
Make sure that the quiltrc is actually installed in the Native
sysconfdir, not the target, so fix this after the recipe split.
(From OE-Core rev: 1af73900cea82e63fb0f94e6f057144f723146ec)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.51.inc | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-native.inc | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-native_0.51.bb | 2 | ||||
-rw-r--r-- | 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 e89013aab0..824e624a43 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" | |||
24 | # quilt ignores DESTDIR | 24 | # quilt ignores DESTDIR |
25 | do_install () { | 25 | do_install () { |
26 | oe_runmake 'BUILD_ROOT=${D}' install | 26 | oe_runmake 'BUILD_ROOT=${D}' install |
27 | if [ "${BUILD_ARCH}" == "${HOST_ARCH}" ]; then | ||
28 | # Dummy quiltrc file for patch.bbclass | ||
29 | install -d ${D}${bindir}/ | ||
30 | touch ${D}${bindir}/quiltrc | ||
31 | fi | ||
32 | # cleanup unpackaged files | 27 | # cleanup unpackaged files |
33 | rm -rf ${D}/${datadir}/emacs | 28 | rm -rf ${D}/${datadir}/emacs |
34 | } | 29 | } |
diff --git a/meta/recipes-devtools/quilt/quilt-native.inc b/meta/recipes-devtools/quilt/quilt-native.inc index 7efea0213d..9345d88273 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" | |||
11 | do_configure () { | 11 | do_configure () { |
12 | oe_runconf | 12 | oe_runconf |
13 | } | 13 | } |
14 | |||
15 | do_install_append () { | ||
16 | # Dummy quiltrc file for patch.bbclass | ||
17 | install -d ${D}${sysconfdir}/ | ||
18 | touch ${D}${sysconfdir}/quiltrc | ||
19 | } | ||
diff --git a/meta/recipes-devtools/quilt/quilt-native_0.51.bb b/meta/recipes-devtools/quilt/quilt-native_0.51.bb index b99b9b65d2..1494bf2eb4 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 @@ | |||
1 | require quilt-${PV}.inc | 1 | require quilt-${PV}.inc |
2 | require quilt-native.inc | 2 | require quilt-native.inc |
3 | 3 | ||
4 | PR = "r0" | 4 | PR = "r1" |
diff --git a/meta/recipes-devtools/quilt/quilt_0.51.bb b/meta/recipes-devtools/quilt/quilt_0.51.bb index bc62161761..6865cd8738 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" | |||
4 | SRC_URI += "file://aclocal.patch \ | 4 | SRC_URI += "file://aclocal.patch \ |
5 | file://gnu_patch_test_fix_target.patch \ | 5 | file://gnu_patch_test_fix_target.patch \ |
6 | " | 6 | " |
7 | PR = "r2" | 7 | PR = "r3" |