File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
toolkit/imageconfigs/scripts Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ function generate_images() {
2525
2626 tar -xvf " /tmp/$arfname .tar.gz" -C " $outputdir " --strip-components=2 --wildcards ./boot/vmlinuz-* .emt3 ./boot/initramfs-* .emt3.img
2727 gunzip -f " /tmp/$arfname .tar.gz"
28- tar -vf " /tmp/$arfname .tar" --delete ./tmp ./boot
28+ tar -vf " /tmp/$arfname .tar" --delete ./tmp
29+ tar -vf " /tmp/$arfname .tar" --delete --wildcards ./boot/vmlinuz-* .emt3 ./boot/initramfs-* .emt3.img ./boot/System.map-* .emt3 ./boot/config-* .emt3
2930 gzip -f " /tmp/$arfname .tar"
3031 # cp "/tmp/$arfname.tar.gz" "$outputdir"
3132
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ find /usr/share -type f \
2929 ! -path " /usr/share/dbus-1/system.conf" \
3030 ! -path " /usr/share/caddy/*" \
3131 ! -path " /usr/share/pki/*" \
32+ ! -path " /usr/share/p11-kit/*" \
33+ ! -path " /usr/share/licenses/*" \
3234 -exec rm -f {} +
3335echo " $pprefix : reduced $( du -h /usr/share) "
3436
You can’t perform that action at this time.
0 commit comments