ISC license hash changed due to text update: https://github.com/sbabic/swupdate/commit/d217a9b10e7b25296db4899beabc2de2b379c921 Set new HAVE_LIBEBGENV and HAVE_LIBUBOOTENV env variables. Apply latest updates to swupdate-usb@.service from: https://github.com/sbabic/meta-swupdate/commit/d5f84e74aada1212ed877509bdc546dca468451b https://github.com/sbabic/meta-swupdate/commit/dac7b2d10ec84b2b6de9afadc12419398ea73615 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
|