From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 5C68970259 for ; Mon, 14 Jul 2014 22:50:41 +0000 (UTC) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 14 Jul 2014 15:50:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,661,1400050800"; d="scan'208";a="573088943" Received: from unknown (HELO [10.255.13.46]) ([10.255.13.46]) by orsmga002.jf.intel.com with ESMTP; 14 Jul 2014 15:50:41 -0700 Message-ID: <53C45EC0.6070801@linux.intel.com> Date: Mon, 14 Jul 2014 15:50:40 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: akuster , OE-core , "yocto@yoctoproject.org" References: <53C45BD7.1020104@mvista.com> In-Reply-To: <53C45BD7.1020104@mvista.com> Subject: Re: /etc/os-release X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 22:50:47 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/14/2014 03:38 PM, akuster wrote: > Hello all, > > I noticed some reference to /etc/os-release in some recipes. Where can I > find the initial creation of /etc/os-release? If one is not created, > would there desire to have one? > Really? We reference it in the meta/lib/oe/lsb.py release_dict_file() function to search for LSB information of the host machine to identify the host distro version information. Can you be specific about which recipes are using os-release, I did do a search. Sau! > regards, > Armin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B9A2FE006DB; Mon, 14 Jul 2014 15:50:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3C99BE004FF for ; Mon, 14 Jul 2014 15:50:42 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 14 Jul 2014 15:45:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,661,1400050800"; d="scan'208";a="573088943" Received: from unknown (HELO [10.255.13.46]) ([10.255.13.46]) by orsmga002.jf.intel.com with ESMTP; 14 Jul 2014 15:50:41 -0700 Message-ID: <53C45EC0.6070801@linux.intel.com> Date: Mon, 14 Jul 2014 15:50:40 -0700 From: Saul Wold User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: akuster , OE-core , "yocto@yoctoproject.org" References: <53C45BD7.1020104@mvista.com> In-Reply-To: <53C45BD7.1020104@mvista.com> Subject: Re: [OE-core] /etc/os-release X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 22:50:51 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/14/2014 03:38 PM, akuster wrote: > Hello all, > > I noticed some reference to /etc/os-release in some recipes. Where can I > find the initial creation of /etc/os-release? If one is not created, > would there desire to have one? > Really? We reference it in the meta/lib/oe/lsb.py release_dict_file() function to search for LSB information of the host machine to identify the host distro version information. Can you be specific about which recipes are using os-release, I did do a search. Sau! > regards, > Armin