From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/lsb-release/files: lsb-release-1.4-os-release.patch |
Date: | Wed, 04 Jun 2014 23:25:57 |
Message-Id: | 20140604232553.B717F2004F@flycatcher.gentoo.org |
1 | jer 14/06/04 23:25:53 |
2 | |
3 | Added: lsb-release-1.4-os-release.patch |
4 | Log: |
5 | Apply patch by Melker Narikka to ignore /etc/os-release (bug #443116). |
6 | |
7 | (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-apps/lsb-release/files/lsb-release-1.4-os-release.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lsb-release/files/lsb-release-1.4-os-release.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/lsb-release/files/lsb-release-1.4-os-release.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: lsb-release-1.4-os-release.patch |
16 | =================================================================== |
17 | --- a/lsb_release |
18 | +++ b/lsb_release |
19 | @@ -250,6 +250,7 @@ |
20 | CHECKFIRST=$(find $INFO_ROOT/ -maxdepth 1 \ |
21 | -name \*$INFO_DISTRIB_SUFFIX \ |
22 | -and ! -name $INFO_LSB_FILE \ |
23 | + -and ! -name os-release \ |
24 | -and -type f \ |
25 | 2>/dev/null \ |
26 | | head -1 ) # keep one of the files found (if many) |