Skip to content
Commit 00e3b4f6 authored by Roy Li's avatar Roy Li Committed by Martin Jansa
Browse files

lvm2: install initscript or systemd unit service conditionally



Issue: LIN8-854

install systemd unit files and modify them only when DISTRO_FEATURE
systemd is enabled, otherwise do_install failed due to no
blk-availability.service file
   sed: can't read tmp/work/armv5e-wrs-linux-gnueabi/lvm2/2.02.125-r0/image/lib/systemd/system/blk-availability.service: No such file or directory

install the initscript when init is not systemd

Signed-off-by: default avatarRoy Li <rongqing.li@windriver.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent 75679d44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment