kumquat-buildroot/package/swupdate/swupdate-usb@.service
James Hilliard 0e94459ad5 package/swupdate: add progress/usb services
Install progress/usb services for swupdate based on meta-swupdate
configs.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-09-11 16:11:47 +02:00

9 lines
212 B
Desktop File

[Unit]
Description=usb media 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