summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/os-release/os-release.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-core/os-release/os-release.bb b/meta/recipes-core/os-release/os-release.bb
index 637d059e8b..caa2ed25aa 100644
--- a/meta/recipes-core/os-release/os-release.bb
+++ b/meta/recipes-core/os-release/os-release.bb
@@ -50,6 +50,11 @@ do_install () {
50 install -d ${D}${nonarch_libdir} ${D}${sysconfdir} 50 install -d ${D}${nonarch_libdir} ${D}${sysconfdir}
51 install -m 0644 os-release ${D}${nonarch_libdir}/ 51 install -m 0644 os-release ${D}${nonarch_libdir}/
52 ln -rs ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/os-release 52 ln -rs ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/os-release
53 ln -rs ${D}${nonarch_libdir}/os-release ${D}${sysconfdir}/initrd-release
53} 54}
54 55
55FILES:${PN} += "${nonarch_libdir}/os-release" 56FILES:${PN} = "${sysconfdir}/os-release ${nonarch_libdir}/os-release"
57
58PACKAGES += "${PN}-initrd"
59FILES:${PN}-initrd = "${sysconfdir}/initrd-release"
60RDEPENDS:${PN}-initrd += "${PN}"