blob: cb03fd86e552f1f6cc0af30929e8ac7b6bbfebcb [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From b5084616a3bc2a0d485f43aeae69c6025f3f857e Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Fri, 10 Jun 2011 18:44:21 +0200
4Subject: [PATCH] add support for the angstrom distribtion
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 Utils/Platform.pm | 3 +++
9 1 files changed, 3 insertions(+), 0 deletions(-)
10
11diff --git a/Utils/Platform.pm b/Utils/Platform.pm
12index 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--
401.6.6.1
41