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

Torben Hohn torben.hohn at linutronix.de
Tue Dec 15 17:33:16 CET 2020


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,
-- 
2.20.1



More information about the elbe-devel mailing list