Dmitrii Merkurev
8ab6603a43
Introduce EROFS compress hints to the Android build system
...
Make it possible to provide a prebuilt hints file to specify different compression strategies on a file basis for all partitions using:
BOARD_EROFS_COMPRESS_HINTS := <path>/erofs-hints.txt
or separately for every partition using:
BOARD_SYSTEMIMAGE_EROFS_COMPRESS_HINTS := <path>/system-partition-erofs-hints.txt
BOARD_VENDORIMAGE_EROFS_COMPRESS_HINTS := <path>/vendor-partition-erofs-hints.txt
Hints format: Each line is defined by tokens separated by spaces in the following form:
<pcluster-in-bytes> <match-pattern>
pcluster-in-bytes can be specified as 0 which mean file will not be compressed
Bug: 231934752
Test: used dump.erofs -S system.img to verify the system image isn't compressed after specifying BOARD_SYSTEMIMAGE_EROFS_COMPRESS_HINTS := no-compress.txt, where no-compress.txt contains 0 .*
Test: used dump.erofs --nid=<inode-for-all-apk-files> vendor.img to verify apk files are not compressed (the rest of the partition content is compressed)
Test: used dump.erofs -S <all-images> to verify all images are not compressed after specifying BOARD_EROFS_COMPRESS_HINTS := <path>/no-compress.txt
Change-Id: I64054e26af5ea5781c45d2183b7796a9ad2b7927
2022-05-17 23:10:37 +00:00
..
2021-02-11 22:36:04 -08:00
2022-02-16 18:41:09 +08:00
2022-05-13 23:44:57 +00:00
2019-06-22 13:03:09 -07:00
2018-03-20 15:47:45 -07:00
2018-01-10 00:12:48 +00:00
2022-05-04 13:36:47 +01:00
2022-03-30 18:16:51 +01:00
2020-06-12 21:10:55 -07:00
2021-05-13 16:16:19 -07:00
2022-04-12 13:43:28 -07:00
2021-09-22 04:20:05 +00:00
2022-04-28 16:20:32 -07:00
2022-03-22 09:25:58 -07:00
2022-05-02 14:16:04 -07:00
2022-03-24 18:38:01 +00:00
2020-01-14 17:00:13 -08:00
2022-03-29 16:11:12 +01:00
2020-06-30 12:46:41 -07:00
2018-06-21 10:12:23 -07:00
2020-09-22 18:55:11 +08:00
2017-10-20 12:49:28 -07:00
2017-08-18 02:46:39 +00:00
2022-03-23 11:18:39 -07:00
2022-03-02 01:25:22 +00:00
2022-05-11 08:17:45 -07:00
2018-06-12 13:48:49 -07:00
2019-12-26 16:52:34 -08:00
2021-03-31 15:33:35 -07:00
2022-05-11 08:17:45 -07:00
2022-05-11 08:17:45 -07:00
2021-02-11 17:09:19 +00:00
2022-04-27 13:32:04 +01:00
2022-03-16 14:21:08 -07:00
2022-04-27 13:32:04 +01:00
2021-05-05 15:18:39 +01:00
2022-04-15 17:29:26 +00:00
2022-04-05 16:52:23 -07:00
2022-04-13 14:48:32 -07:00
2022-04-06 01:11:20 +00:00
2017-12-20 15:05:17 -08:00
2022-04-13 14:48:32 -07:00
2021-04-02 21:05:48 -07:00
2020-06-08 16:36:52 -07:00
2020-06-08 16:36:52 -07:00
2022-01-06 18:47:57 +00:00
2021-04-02 10:24:48 -07:00
2021-06-04 00:05:55 +00:00
2020-03-05 20:46:47 +00:00
2018-09-12 23:58:01 +00:00
2019-02-05 00:19:41 -08:00
2019-06-12 21:34:52 +00:00
2019-02-05 00:19:41 -08:00
2018-10-26 23:55:49 -07:00
2021-11-30 13:20:01 -08:00
2018-09-15 10:52:13 -07:00
2020-03-07 11:29:29 -08:00
2020-03-07 11:29:29 -08:00
2020-06-16 16:13:03 +08:00
2019-07-09 08:57:19 +00:00
2020-05-18 09:58:18 +08:00
2022-03-30 20:05:34 -07:00
2021-11-15 21:46:52 +00:00
2019-07-15 17:29:42 +00:00
2021-03-24 20:11:49 +00:00
2019-10-21 09:36:45 +01:00
2021-04-13 12:42:44 +01:00
2021-07-08 17:01:43 -07:00
2019-07-15 17:29:42 +00:00
2022-04-25 11:02:41 +02:00
2018-08-29 17:33:29 +00:00
2020-06-10 17:18:13 -07:00
2020-08-24 23:16:19 +09:00
2020-04-28 10:25:41 +09:00
2021-03-15 18:17:35 +09:00
2022-05-12 12:28:49 +00:00
2022-05-17 23:10:37 +00:00
2019-11-11 15:21:06 -08:00
2019-02-05 00:19:41 -08:00
2018-09-15 10:52:13 -07:00
2021-09-22 04:20:05 +00:00
2019-07-15 17:29:42 +00:00
2020-09-01 10:33:47 +08:00
2022-04-13 15:49:56 -07:00
2021-11-09 02:05:25 +00:00
2022-04-07 22:04:03 -07:00
2022-03-17 13:55:15 -07:00
2022-04-29 13:51:31 +01:00
2019-07-30 22:36:29 -07:00
2022-01-06 18:47:57 +00:00
2020-06-08 16:36:52 -07:00
2020-05-27 19:37:03 -07:00
2019-11-11 09:30:38 -08:00
2019-09-18 16:23:04 +00:00
2022-05-10 15:39:10 -07:00
2022-05-05 11:41:59 -07:00
2022-04-27 11:55:08 -07:00
2022-04-13 15:49:56 -07:00
2022-02-07 10:54:51 -08:00
2022-05-11 09:47:12 -07:00
2018-05-03 16:47:11 -07:00
2018-11-20 15:31:44 +08:00
2022-04-18 12:10:33 -07:00
2022-01-26 14:05:02 +00:00
2017-10-20 12:49:28 -07:00
2021-09-22 04:20:05 +00:00
2021-09-24 18:39:47 +00:00
2021-04-06 12:41:10 +02:00
2019-11-14 09:57:13 -08:00
2020-06-12 21:10:55 -07:00
2020-01-29 18:26:32 +00:00
2021-04-02 21:05:48 -07:00
2020-03-07 11:29:29 -08:00
2020-06-11 22:57:48 +00:00
2021-11-17 19:45:49 -08:00
2022-04-06 01:11:20 +00:00
2022-04-18 15:03:37 -04:00
2022-04-28 22:20:47 +00:00
2022-04-12 18:57:15 -07:00
2022-04-06 01:11:20 +00:00
2022-01-06 18:47:57 +00:00
2020-02-03 19:00:36 +00:00
2020-03-07 11:29:29 -08:00
2019-10-18 18:28:23 +00:00
2018-05-03 16:47:55 -07:00
2022-03-23 23:27:02 +00:00
2021-03-15 10:45:05 -07:00
2019-02-05 00:19:41 -08:00
2022-05-03 20:54:36 +00:00
2022-04-29 09:09:03 +00:00