Fix find syntax

This commit is contained in:
Steve McIntyre 2024-01-02 21:34:40 +00:00
parent 4f8c844f81
commit dd5d174eeb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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