A mount unit file having a dash in its name must be escaped.
Change-Id: I051489c876ffa9eca73ea8b5e63598033e62feb4
cp -a "$SERVICES_DIR/${srv_fname}" "$UNITDIR/nonisu-${srv_fname}" || return 1
# 2nd step: generate mount unit for ISU image and extend the service file to use it
- local mount_unit="run-isu-${isu_pkg_name}-rootfs.mount"
+ local mount_unit="run-isu-$(systemd-escape ${isu_pkg_name})-rootfs.mount"
cat <<EOF >> "$UNITDIR/$mount_unit" || return 1
# This unit file has been automatically generated by isu-generator.
#