mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 06:51:26 +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() {
|
||||
local list=$(find -type f) || die
|
||||
|
||||
[[ -n "${list}" ]] || die "No firmware files found to install."
|
||||
if [[ -z "$(find -type f)" ]]; then
|
||||
die "No firmware files found to install."
|
||||
fi
|
||||
|
||||
insinto /lib/firmware/
|
||||
doins -r ${list}
|
||||
doins -r .
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user