mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-03 10:01:53 +00:00
magiskboot: allow forcing no recompression on ramdisk.cpio
- when input image had a compressed ramdisk magiskboot had no way to force the repack with the uncompressed ramdisk.cpio since it does not formally recognize cpio as its own format, so add a switch to support forcing repacking to any possible ramdisk format regardless of input image
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
// Main entries
|
||||
int unpack(const char *image, bool hdr = false);
|
||||
void repack(const char* orig_image, const char* out_image);
|
||||
void repack(const char* orig_image, const char* out_image, bool force_nocomp = false);
|
||||
int hexpatch(const char *image, const char *from, const char *to);
|
||||
int cpio_commands(int argc, char *argv[]);
|
||||
int dtb_commands(const char *cmd, int argc, char *argv[]);
|
||||
|
||||
Reference in New Issue
Block a user