linux-firmware: use vmkdir/vcopy.
This commit is contained in:
parent
03402cd0de
commit
336adda102
|
@ -30,9 +30,9 @@ do_fetch() {
|
|||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${DESTDIR}/lib/firmware
|
||||
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
|
||||
cp -a * ${DESTDIR}/lib/firmware
|
||||
vmkdir lib/firmware
|
||||
vmkdir usr/share/licenses/${pkgname}
|
||||
vcopy "*" lib/firmware
|
||||
rm -f ${DESTDIR}/lib/firmware/GPL{,-3}
|
||||
mv ${DESTDIR}/lib/firmware/{LICEN*,WHENCE} \
|
||||
${DESTDIR}/usr/share/licenses/${pkgname}
|
||||
|
|
Loading…
Reference in New Issue