summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2023-05-03 16:04:05 -0400
committerArmin Kuster <akuster808@gmail.com>2023-05-06 07:54:09 -0400
commit2ba18812e965689223b8414435efbfe253cafa38 (patch)
tree899822b81ce421f0799fe01bc269bb525f71d423
parentafe212060a5209cbc5bfb4fc3fda55580aebb3b8 (diff)
downloadmeta-security-2ba18812e965689223b8414435efbfe253cafa38.tar.gz
openembedded-release: drop as os-release does this now
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb b/meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb
deleted file mode 100644
index 0ad427d..0000000
--- a/meta-security-compliance/recipes-core/openembedded-release/openembedded-release_1.0.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1inherit allarch
2
3SUMMARY = "Operating release identification"
4DESCRIPTION = "The /etc/openembedded-release file contains operating system identification data."
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7INHIBIT_DEFAULT_DEPS = "1"
8
9do_fetch[noexec] = "1"
10do_unpack[noexec] = "1"
11do_patch[noexec] = "1"
12do_configure[noexec] = "1"
13
14VERSION = "0"
15RELEASE_NAME = "${DISTRO_NAME} ${DISTRO} ${VERSION}"
16
17def sanitise_version(ver):
18 ret = ver.replace('+', '-').replace(' ','_')
19 return ret.lower()
20
21python do_compile () {
22 import shutil
23 release_name = d.getVar('RELEASE_NAME')
24 with open(d.expand('${B}/openemebedded-release'), 'w') as f:
25 f.write('%s\n' % release_name)
26}
27do_compile[vardeps] += "${RELEASE_NAME}"
28
29do_install () {
30 install -d ${D}${sysconfdir}
31 install -m 0644 openemebedded-release ${D}${sysconfdir}/
32}