Merge "Exclude .pyc encoding files."

This commit is contained in:
Zuul 2023-08-28 14:24:47 +00:00 committed by Gerrit Code Review
commit 7c2e1b341d

View File

@ -78,7 +78,7 @@ else
-path './usr/src/kernels/*' -prune -o \
-path './var/cache/*' -prune -o \
-path './var/log/*' -prune -o \
-name '*.pyc' -prune -o \
-name '*.pyc' ! -path '*encodings/*' -prune -o \
-name '*.pyo' -prune -o \
-print | sudo cpio -o -H newc | ${DIB_IPA_COMPRESS_CMD} > ${IMAGE_PATH}.initramfs
fi