aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch
diff options
context:
space:
mode:
authorDavid-John Willis <John.Willis@Distant-earth.com>2010-01-17 17:33:39 +0000
committerKoen Kooi <koen@openembedded.org>2010-02-17 09:43:46 +0100
commita9904949e3d06d7c389a3e330b3442be4ef504ea (patch)
tree8b51d96de0ac18675f95ae10268a2d82b3c3df78 /recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch
parent74501117c261f743c76ae3c2988cbcfdc141cf3a (diff)
downloadopenembedded-a9904949e3d06d7c389a3e330b3442be4ef504ea.tar.gz
system-tools-backends: Add 2.8.3 and checksum and remove DEFAULT_PREFERENCE = "-1" from 2.8.1 as I can find no good reason for it to be set.
* Update Angstrom distro patch for 2.8.3 and make it only apply if Angstrom distro is set.
Diffstat (limited to 'recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch')
-rw-r--r--recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch b/recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch
new file mode 100644
index 0000000000..f258f326c1
--- /dev/null
+++ b/recipes/gnome/system-tools-backends-2.8.3/add-angstrom-distro.patch
@@ -0,0 +1,28 @@
+Index: system-tools-backends-2.8.3/Utils/Platform.pm
+===================================================================
+--- system-tools-backends-2.8.3.orig/Utils/Platform.pm 2010-01-17 16:05:55.794914937 +0000
++++ system-tools-backends-2.8.3/Utils/Platform.pm 2010-01-17 16:13:07.271917106 +0000
+@@ -91,6 +91,7 @@
+ "nexenta-1.0" => [ "Nexenta GNU/Solaris", "1.0", "Ellate" ],
+ "yellowdog-4.1" => [ "Yellow Dog Linux", "4.1", "Sagitta" ],
+ "guadalinex-v4" => [ "Guadalinex", "v4", "Toro" ],
++ "angstrom" => [ "Angstrom", "", "" ],
+ };
+
+ sub get_platform_info
+@@ -141,6 +142,7 @@
+ "vine-3.1" => "vine-3.0",
+ "vlos-1.2" => "gentoo",
+ "nexenta-1.0" => "solaris-2.11",
++ "angstrom" => "debian-3.0",
+ );
+
+ return $metamap{$distro} if ($metamap{$distro});
+@@ -373,6 +375,7 @@
+ [ \&check_ark ],
+ [ \&check_yoper ],
+ [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ],
++ [ \&check_file_exists, "/etc/angstrom-version", "angstrom" ],
+ ],
+ "FreeBSD" => [[ \&check_freebsd ]],
+ "SunOS" => [[ \&check_solaris ]]