blob: 3b9789c77f1bbcf80327bdc8a5f40fd89a8a23da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
LICENSE = "MIT"
PV = "${DISTRO_VERSION}"
PR = "r7"
PE = "1"
SRC_URI = "file://lsb_release"
PACKAGES = "${PN}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_install() {
install -d ${D}${sysconfdir}
echo "Angstrom ${DISTRO_VERSION}" > ${D}${sysconfdir}/angstrom-version
echo "Built from branch: ${METADATA_BRANCH}" >> ${D}${sysconfdir}/angstrom-version
echo "Revision: ${METADATA_REVISION}" >> ${D}${sysconfdir}/angstrom-version
echo "Target system: ${TARGET_SYS}" >> ${D}${sysconfdir}/angstrom-version
echo "NAME=Angstrom" > ${D}${sysconfdir}/os-release
echo "ID=angstrom" >> ${D}${sysconfdir}/os-release
echo "PRETTY_NAME=The Ångström Distribution" >> ${D}${sysconfdir}/os-release
echo "ANSI_COLOR=1;35" >> ${D}${sysconfdir}/os-release
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/lsb_release ${D}${bindir}/
}
|