mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
ISC license hash changed due to text update:d217a9b10eSet new HAVE_LIBEBGENV and HAVE_LIBUBOOTENV env variables. Apply latest updates to swupdate-usb@.service from:d5f84e74aadac7b2d10eSigned-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
|