diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2016-07-17 20:32:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:28 +0100 |
commit | 9621959a3ad052af33bb8a5ed530f8e84b799f0d (patch) | |
tree | 6a571f530a6abf7b10191773c54655055f983585 /meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch | |
parent | ad6aae31065b798b6f6f83eb830cebb075a0b62a (diff) | |
download | poky-9621959a3ad052af33bb8a5ed530f8e84b799f0d.tar.gz |
build-compare: improve deb and ipk checking
* The deb and ipk's depends version string is like:
Depends: libc6 (>= 2.24)
Update trim_release_old and trim_release_new to match the bracket in
the end ")".
* The deb's data tarball now is .tar.xz, and ipk's is .tar.gz.
* Update adjust_controlfile() to make ituse trim_release_old and
trim_release_new.
(From OE-Core rev: c92152e521a9f96a741eccd4a4bf5ddfbd59a7ae)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch')
-rw-r--r-- | meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch b/meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch index 5c15218c8a..82fd8169ff 100644 --- a/meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch +++ b/meta/recipes-devtools/build-compare/files/0001-Add-support-for-deb-and-ipk-packaging.patch | |||
@@ -3,7 +3,7 @@ From: Paul Eggleton <paul.eggleton@linux.intel.com> | |||
3 | Date: Tue, 1 Sep 2015 12:04:33 +0100 | 3 | Date: Tue, 1 Sep 2015 12:04:33 +0100 |
4 | Subject: [PATCH] Add support for deb and ipk packaging | 4 | Subject: [PATCH] Add support for deb and ipk packaging |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Submitted [https://github.com/openSUSE/build-compare/pull/10] |
7 | 7 | ||
8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 8 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
9 | --- | 9 | --- |
@@ -34,7 +34,7 @@ index 06079df..85c9003 100644 | |||
34 | return $RES | 34 | return $RES |
35 | } | 35 | } |
36 | + | 36 | + |
37 | +function adjust_controlfile () { | 37 | +function adjust_controlfile() { |
38 | + cat $1/control | sed '/^Version: /d' > $1/control.fixed | 38 | + cat $1/control | sed '/^Version: /d' > $1/control.fixed |
39 | + mv $1/control.fixed $1/control | 39 | + mv $1/control.fixed $1/control |
40 | + cat $2/control | sed '/^Version: /d' > $2/control.fixed | 40 | + cat $2/control | sed '/^Version: /d' > $2/control.fixed |