diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/os-release/os-release.bb | 7 |
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 | ||
55 | FILES:${PN} += "${nonarch_libdir}/os-release" | 56 | FILES:${PN} = "${sysconfdir}/os-release ${nonarch_libdir}/os-release" |
57 | |||
58 | PACKAGES += "${PN}-initrd" | ||
59 | FILES:${PN}-initrd = "${sysconfdir}/initrd-release" | ||
60 | RDEPENDS:${PN}-initrd += "${PN}" | ||