b86542085d
ISC license hash changed due to text update:d217a9b10e
Set new HAVE_LIBEBGENV and HAVE_LIBUBOOTENV env variables. Apply latest updates to swupdate-usb@.service from:d5f84e74aa
dac7b2d10e
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
12 lines
311 B
Desktop File
12 lines
311 B
Desktop File
[Unit]
|
|
Description=usb media swupdate service
|
|
Requires=swupdate.service
|
|
Wants=swupdate-progress.service
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/mkdir -p /tmp/%I
|
|
ExecStartPre=/bin/mount /dev/%I /tmp/%I
|
|
ExecStart=/bin/sh -c "swupdate-client -v /tmp/%I/*.swu"
|
|
ExecStopPost=/bin/umount /tmp/%I
|
|
ExecStopPost=/bin/rmdir /tmp/%I
|