mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
Merge pull request #1482 from marineam/firmware
coreos-firmware: do not exclude directories and symlinks
This commit is contained in:
commit
58203d679b
@ -115,10 +115,10 @@ src_prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
local list=$(find -type f) || die
|
if [[ -z "$(find -type f)" ]]; then
|
||||||
|
die "No firmware files found to install."
|
||||||
[[ -n "${list}" ]] || die "No firmware files found to install."
|
fi
|
||||||
|
|
||||||
insinto /lib/firmware/
|
insinto /lib/firmware/
|
||||||
doins -r ${list}
|
doins -r .
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user