kumquat-buildroot/package/swupdate/swupdate-usb@.service
James Hilliard 8ef654997c package/swupdate: bump to version 2022.12
Drop patch which is now upstream.

Update service files based on latest versions in:
https://github.com/sbabic/meta-swupdate/tree/master/recipes-support/swupdate/swupdate

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-12-18 15:34:04 +01:00

10 lines
238 B
Desktop File

[Unit]
Description=usb media swupdate service
Requires=swupdate.service
Requires=swupdate-progress.service
[Service]
ExecStartPre=/bin/mount /dev/%I /mnt
ExecStart=/bin/sh -c "swupdate-client -v /mnt/*.swu"
ExecStopPost=/bin/umount /mnt