Darin Petkov | ada04fb | 2011-05-20 13:37:41 -0700 | [diff] [blame^] | 1 | # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
2 | # Use of this source code is governed by a BSD-style license that can be | ||||
3 | # found in the LICENSE file. | ||||
4 | # $Header: $ | ||||
5 | |||||
6 | # | ||||
7 | # appid.eclass | ||||
8 | # | ||||
9 | # Adds a mechanism for setting the image APPID. | ||||
10 | # | ||||
11 | |||||
12 | # Initializes /etc/lsb-release with an APPID. | ||||
13 | # | ||||
14 | # $1 - APPID | ||||
15 | doappid() { | ||||
16 | dodir etc | ||||
17 | echo "CHROMEOS_RELEASE_APPID=${1}" >"${D}/etc/lsb-release" | ||||
18 | } |