Fix find syntax
This commit is contained in:
parent
4f8c844f81
commit
dd5d174eeb
|
@ -240,7 +240,7 @@ install_firmwares_initrd () {
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
dpkg -x "${MIRROR}/${FILE}" ${FWDIR}
|
dpkg -x "${MIRROR}/${FILE}" ${FWDIR}
|
||||||
done
|
done
|
||||||
(cd ${FWDIR} ; find lib/firmware -o usr/lib/firmware | cpio -oA -H newc -F $initrd)
|
(cd ${FWDIR} ; find lib/firmware usr/lib/firmware | cpio -oA -H newc -F $initrd)
|
||||||
pigz -9nm $initrd
|
pigz -9nm $initrd
|
||||||
rm -fr $FWDIR
|
rm -fr $FWDIR
|
||||||
else
|
else
|
||||||
|
|
|
@ -240,7 +240,7 @@ install_firmwares_initrd () {
|
||||||
for FILE in $FILES; do
|
for FILE in $FILES; do
|
||||||
dpkg -x "${MIRROR}/${FILE}" ${FWDIR}
|
dpkg -x "${MIRROR}/${FILE}" ${FWDIR}
|
||||||
done
|
done
|
||||||
(cd ${FWDIR} ; find lib/firmware -o usr/lib/firmware | cpio -oA -H newc -F $initrd)
|
(cd ${FWDIR} ; find lib/firmware usr/lib/firmware | cpio -oA -H newc -F $initrd)
|
||||||
pigz -9nm $initrd
|
pigz -9nm $initrd
|
||||||
rm -fr $FWDIR
|
rm -fr $FWDIR
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue