Created
February 6, 2021 23:13
-
-
Save ekussa/fc8371fd05da488ba9103daea5415391 to your computer and use it in GitHub Desktop.
unpack and repack squashfs file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir squashfs | |
cd squashfs | |
unsquashfs ../filesystem.squashfs | |
sudo chmod -R 777 squashfs | |
rm -f ./squashfs/squashfs-root/opt/lenovo/ldiag/* | |
mksquashfs squashfs-root filesystem.squashfs -comp xz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment