[meta-virtualization] [PATCH 1/2] cgroup-lite: support usrmerge

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 3 10:14:23 PDT 2019


On Fri, Aug 30, 2019 at 2:20 AM <changqing.li at windriver.com> wrote:
>
> From: Changqing Li <changqing.li at windriver.com>
>

I'll take the patch, but in the future, we should have a long log
here. I'd expect that log to point out that by using ${base_bindir}
versus 'bin', we can adjust to the binary directory changes when
usrmerge is enabled.

Bruce

> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
>  recipes-containers/cgroup-lite/cgroup-lite_1.15.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
> index 7b48c3a..45cc287 100644
> --- a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
> +++ b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb
> @@ -22,9 +22,9 @@ SYSTEMD_AUTO_ENABLE_${PN} = "mask"
>
>
>  do_install() {
> -       install -d ${D}/bin
> -       install -m 0755 ${S}/scripts/cgroups-mount ${D}/bin
> -       install -m 0755 ${S}/scripts/cgroups-umount ${D}/bin
> +       install -d ${D}/${base_bindir}
> +       install -m 0755 ${S}/scripts/cgroups-mount ${D}/${base_bindir}
> +       install -m 0755 ${S}/scripts/cgroups-umount ${D}/${base_bindir}
>
>         install -d ${D}${sysconfdir}/init.d
>         install -m 0755 ${WORKDIR}/cgroups-init ${D}${sysconfdir}/init.d/cgroups-init
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


More information about the meta-virtualization mailing list