generator: Fix .service/.mount service installation 85/298485/2
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 7 Sep 2023 12:15:43 +0000 (14:15 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 7 Sep 2023 14:12:53 +0000 (16:12 +0200)
commit88478438e18015995e883d470810032fdf52fd05
tree0cb6aefdb5f475c04bf47be6156d89ca80cd81f3
parentf973283c3c3977b0b9ea54fbf9f6f526246f3996
generator: Fix .service/.mount service installation

This commit fixes cases where service provided .mount but not .service
unit. Previously .mount unit would not be installed due to isu_prepare()
terminating early.

Additionally, this commit silents the warning when .mount unit is not
provided as it's rarely used feature.

Change-Id: I40da3ec35deed3023ad15664379f2c07237665b8
packaging/isu.spec
src/systemd_generator/isu-generator