From c7953b52bbcddb19a6ee5e590b594f745c2a6e08 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 27 Oct 2021 00:45:03 +0800 Subject: [PATCH] Shrink Images --- .github/workflows/magisk.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index 4f5c991..350c20b 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -241,13 +241,13 @@ jobs: - name: Shrink images run: | e2fsck -yf ${{ matrix.arch }}/system.img - resize2fs ${{ matrix.arch }}/system.img + resize2fs -M ${{ matrix.arch }}/system.img e2fsck -yf ${{ matrix.arch }}/vendor.img - resize2fs ${{ matrix.arch }}/vendor.img + resize2fs -M ${{ matrix.arch }}/vendor.img e2fsck -yf ${{ matrix.arch }}/product.img - resize2fs ${{ matrix.arch }}/product.img + resize2fs -M ${{ matrix.arch }}/product.img e2fsck -yf ${{ matrix.arch }}/system_ext.img - resize2fs ${{ matrix.arch }}/system_ext.img + resize2fs -M ${{ matrix.arch }}/system_ext.img - name: Remove signature run: | rm -rf ${{ matrix.arch }}/\[Content_Types\].xml ${{ matrix.arch }}/AppxBlockMap.xml ${{ matrix.arch }}/AppxSignature.p7x ${{ matrix.arch }}/AppxMetadata