diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/nonworking/system-tools/system-tools-backends-2.10.2/add-angstrom-distro.patch')
-rw-r--r-- | meta-gnome/recipes-gnome/nonworking/system-tools/system-tools-backends-2.10.2/add-angstrom-distro.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/nonworking/system-tools/system-tools-backends-2.10.2/add-angstrom-distro.patch b/meta-gnome/recipes-gnome/nonworking/system-tools/system-tools-backends-2.10.2/add-angstrom-distro.patch new file mode 100644 index 000000000..cb03fd86e --- /dev/null +++ b/meta-gnome/recipes-gnome/nonworking/system-tools/system-tools-backends-2.10.2/add-angstrom-distro.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From b5084616a3bc2a0d485f43aeae69c6025f3f857e Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 10 Jun 2011 18:44:21 +0200 | ||
4 | Subject: [PATCH] add support for the angstrom distribtion | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | Utils/Platform.pm | 3 +++ | ||
9 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/Utils/Platform.pm b/Utils/Platform.pm | ||
12 | index fc76360..8b8c770 100644 | ||
13 | --- a/Utils/Platform.pm | ||
14 | +++ b/Utils/Platform.pm | ||
15 | @@ -92,6 +92,7 @@ my $PLATFORM_INFO = { | ||
16 | "nexenta-1.0" => [ "Nexenta GNU/Solaris", "1.0", "Ellate" ], | ||
17 | "yellowdog-4.1" => [ "Yellow Dog Linux", "4.1", "Sagitta" ], | ||
18 | "guadalinex-v4" => [ "Guadalinex", "v4", "Toro" ], | ||
19 | + "angstrom" => [ "Angstrom", "", "" ], | ||
20 | }; | ||
21 | |||
22 | sub get_platform_info | ||
23 | @@ -143,6 +144,7 @@ sub ensure_distro_map | ||
24 | "vine-3.1" => "vine-3.0", | ||
25 | "vlos-1.2" => "gentoo", | ||
26 | "nexenta-1.0" => "solaris-2.11", | ||
27 | + "angstrom" => "debian", | ||
28 | ); | ||
29 | |||
30 | return $metamap{$distro} if ($metamap{$distro}); | ||
31 | @@ -375,6 +377,7 @@ sub guess | ||
32 | [ \&check_ark ], | ||
33 | [ \&check_yoper ], | ||
34 | [ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ], | ||
35 | + [ \&check_file_exists, "/etc/angstrom-version", "angstrom" ], | ||
36 | ], | ||
37 | "FreeBSD" => [[ \&check_freebsd ]], | ||
38 | "SunOS" => [[ \&check_solaris ]] | ||
39 | -- | ||
40 | 1.6.6.1 | ||
41 | |||