[elbe-devel] [PATCH 6/9] init: fix devel mode trying to sed the wrong service file

Bastian Germann bage at linutronix.de
Tue Dec 15 14:51:28 CET 2020


Am 14.12.20 um 17:41 schrieb Torben Hohn:
> along with the switch to python3 the elbe service file got renamed.
> 
> Apply the devel mode exe sed rule to the correct service files.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>   elbepack/init/init-elbe.sh.mako | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/elbepack/init/init-elbe.sh.mako b/elbepack/init/init-elbe.sh.mako
> index 5e4cadf8e..e3fe2fad7 100644
> --- a/elbepack/init/init-elbe.sh.mako
> +++ b/elbepack/init/init-elbe.sh.mako
> @@ -62,8 +62,8 @@ in-target update-initramfs -u
>      mkdir /buildenv/var/cache/elbe/devel
>      tar xj -f elbe-devel.tar.bz2 -C /buildenv/var/cache/elbe/devel
>      echo "export PATH=/var/cache/elbe/devel:\$PATH" > /buildenv/etc/profile.d/elbe-devel-path.sh
> -   sed -i s%/usr/bin/elbe%/var/cache/elbe/devel/elbe% /buildenv/etc/init.d/elbe-daemon
> -   sed -i s%/usr/bin/elbe%/var/cache/elbe/devel/elbe% /buildenv/lib/systemd/system/elbe-daemon.service
> +   sed -i s%/usr/bin/elbe%/var/cache/elbe/devel/elbe% /buildenv/etc/init.d/python3-elbe-daemon
> +   sed -i s%/usr/bin/elbe%/var/cache/elbe/devel/elbe% /buildenv/lib/systemd/system/python3-elbe-daemon.service
>   % endif
>   
>   # since elbe fetch_initvm_pkgs generates repo keys,
> 


More information about the elbe-devel mailing list