kata-containers/osbuilder

generalize looking for systemd binary when checking rootfs in image_builder.sh

pmores opened this issue · 0 comments

check_roofs() in image_builder.sh looks for a systemd binary at a single hardcoded location. However, there doesn't seem to be any single path where systemd is on any given distro. Support checking multiple candidate paths to accomodate all distros.