mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-26 05:04:15 +01:00
Shrink images
This commit is contained in:
parent
15188b0080
commit
80bd639e4a
6
.github/workflows/magisk.yml
vendored
6
.github/workflows/magisk.yml
vendored
@ -157,6 +157,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo umount system/vendor
|
sudo umount system/vendor
|
||||||
sudo umount system
|
sudo umount system
|
||||||
|
- name: Shrink images
|
||||||
|
run: |
|
||||||
|
e2fsck -yf ${{ github.event.inputs.arch }}/system.img
|
||||||
|
resize2fs ${{ github.event.inputs.arch }}/system.img
|
||||||
|
e2fsck -yf ${{ github.event.inputs.arch }}/vendor.img
|
||||||
|
resize2fs ${{ github.event.inputs.arch }}/vendor.img
|
||||||
- name: Remove signature
|
- name: Remove signature
|
||||||
run: |
|
run: |
|
||||||
rm -rf ${{ github.event.inputs.arch }}/\[Content_Types\].xml ${{ github.event.inputs.arch }}/AppxBlockMap.xml ${{ github.event.inputs.arch }}/AppxSignature.p7x ${{ github.event.inputs.arch }}/AppxMetadata
|
rm -rf ${{ github.event.inputs.arch }}/\[Content_Types\].xml ${{ github.event.inputs.arch }}/AppxBlockMap.xml ${{ github.event.inputs.arch }}/AppxSignature.p7x ${{ github.event.inputs.arch }}/AppxMetadata
|
||||||
|
Loading…
Reference in New Issue
Block a user