diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-03-15 22:01:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-16 16:45:00 +0000 |
commit | 2a852d0cdc345e2d0c04b5ddd2f6f1344814dc3a (patch) | |
tree | 689c9ba5d459b2da09bf0f5e9d672a5f3dc31d85 /meta/recipes-extended/libzypp/libzypp/config-release.patch | |
parent | ff03a5167c9ea7c7096be8dec6350b919bc31927 (diff) | |
download | poky-2a852d0cdc345e2d0c04b5ddd2f6f1344814dc3a.tar.gz |
libzypp: Fix release query
Libzypp is looking for the "redhat-release" file and using that version
number to help adjust the system version. This ensures that there is
something on the system that returns a correct value.
This patch is likely not necessary.
(From OE-Core rev: a1bb79372e75269b8d135c0018955c533ba06027)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libzypp/libzypp/config-release.patch')
-rw-r--r-- | meta/recipes-extended/libzypp/libzypp/config-release.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-extended/libzypp/libzypp/config-release.patch b/meta/recipes-extended/libzypp/libzypp/config-release.patch new file mode 100644 index 0000000000..9128237755 --- /dev/null +++ b/meta/recipes-extended/libzypp/libzypp/config-release.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Configure distro version package | ||
2 | |||
3 | We need to configure a package that the system can use to determine the | ||
4 | system distribution version. | ||
5 | |||
6 | Hack: for now set to task-poky-rpm. | ||
7 | |||
8 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
9 | |||
10 | diff -ur git.orig/zypp/ZConfig.cc git/zypp/ZConfig.cc | ||
11 | --- git.orig/zypp/ZConfig.cc 2011-03-14 16:30:07.492786134 -0500 | ||
12 | +++ git/zypp/ZConfig.cc 2011-03-15 11:39:15.396801927 -0500 | ||
13 | @@ -821,7 +821,7 @@ | ||
14 | /////////////////////////////////////////////////////////////////// | ||
15 | |||
16 | std::string ZConfig::distroverpkg() const | ||
17 | - { return "redhat-release"; } | ||
18 | + { return "task-poky-rpm"; } | ||
19 | |||
20 | /////////////////////////////////////////////////////////////////// | ||
21 | |||