From b5afabf41b68afe4c7a81eebd4c4ee49b12dcb34 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 15 Mar 2011 22:01:50 -0500 Subject: 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 Signed-off-by: Richard Purdie --- .../libzypp/libzypp/config-release.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-extended/libzypp/libzypp/config-release.patch (limited to 'meta/recipes-extended/libzypp/libzypp/config-release.patch') 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 @@ +Configure distro version package + +We need to configure a package that the system can use to determine the +system distribution version. + +Hack: for now set to task-poky-rpm. + +Signed-off-by: Mark Hatle + +diff -ur git.orig/zypp/ZConfig.cc git/zypp/ZConfig.cc +--- git.orig/zypp/ZConfig.cc 2011-03-14 16:30:07.492786134 -0500 ++++ git/zypp/ZConfig.cc 2011-03-15 11:39:15.396801927 -0500 +@@ -821,7 +821,7 @@ + /////////////////////////////////////////////////////////////////// + + std::string ZConfig::distroverpkg() const +- { return "redhat-release"; } ++ { return "task-poky-rpm"; } + + /////////////////////////////////////////////////////////////////// + -- cgit v1.2.3-54-g00ecf