diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-10-01 00:38:30 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2021-11-22 15:32:50 +0900 |
commit | 3c223389705c7a11e75a31430a3babeea90d1336 (patch) | |
tree | c9d1b436e0191b0520d903792b4f98b0cc663962 | |
parent | d4253ffa31792afb47ca5e1e39eaf08cc6c3e0b8 (diff) |
Divide firmware from gles-user-module
The powervr firmware is including in gles-user-module in R-Car Gen3.
Typical container integration, gles-user-module only to installing in guest,
powervr kernel module only to installing in host.
In this case, powerver firemware is only to installing in guest,
but it is required by powervr kernel module.
This patch divide powervr firmware from gles-user-module, creating new package
gles-user-module-firmware. In addition, this patch add runtime dependency of
that firmware package to powervr kernel module.
Bug-AGL: SPEC-4130
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: Ie8751bd618d076c9617870c367dacb3a9fdf1e7b
2 files changed, 22 insertions, 0 deletions
diff --git a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend index c942f687..f853a22b 100644 --- a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend +++ b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module.bbappend @@ -1 +1,22 @@ RDEPENDS:${PN}:remove:aglcontainerguest = "kernel-module-gles" + +PACKAGES:prepend = "\ + ${PN}-firmware \ +" + +FILES:${PN} = " \ + ${libdir}/* \ + ${sysconfdir}/* \ + ${RENESAS_DATADIR}/bin/dlcsrv_REL \ +" +SYSTEMD_SERVICE:${PN} = "" + +FILES:${PN}-firmware = " \ + ${systemd_system_unitdir}/* \ + ${sysconfdir}/udev/* \ + /lib/firmware/* \ + ${exec_prefix}/bin/pvrinit \ +" +SYSTEMD_SERVICE:${PN}-firmware = "rc.pvr.service" +SYSTEMD_PACKAGES = "${PN}-firmware" +SYSTEMD_AUTO_ENABLE = "enable" diff --git a/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bbappend b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bbappend new file mode 100644 index 00000000..d0a6a502 --- /dev/null +++ b/meta-agl-lxc/dynamic-layers/meta-rcar-gen3/recipes-kernel/kernel-module-gles/kernel-module-gles.bbappend @@ -0,0 +1 @@ +RDEPENDS:${PN}:append = " gles-user-module-firmware" |