]> git.proxmox.com Git - mirror_linux-firmware.git/commit - copy-firmware.sh
copy-firmware: Introduce 'RawFile' keyword
authorJuerg Haefliger <juerg.haefliger@canonical.com>
Wed, 9 Aug 2023 09:40:59 +0000 (11:40 +0200)
committerJosh Boyer <jwboyer@kernel.org>
Mon, 28 Aug 2023 11:18:15 +0000 (07:18 -0400)
commitdb99828b2466119dc068d56ffff4066192347105
tree850a04ee888d6c4c95b4704d0f9fb1ab701b5025
parent2bad80e7edd3c0f84718545d9338c8edfed16513
copy-firmware: Introduce 'RawFile' keyword

Currently, 'Raw: <filename>' needs to be added to WHENCE for files that
must not be compressed. This means that such files need to be listed
twice ('File: <filename>' and 'Raw: <filename>') which is not pretty and
error prone. Also, the current implementation is broken for filenames
that contain quotes (") and it also requires grep'ing of WHENCE for every
processed line which slows things down.

Fix all of the above by introducing a new keyword 'RawFile' so that such
files are listed only once, quotes are handled correctly and grep is no
longer needed.

Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
copy-firmware.sh