summaryrefslogtreecommitdiff
path: root/squashfs_utils
AgeCommit message (Collapse)Author
2022-09-05Fix module-file name collisionsCole Faust
Bazel doesn't allow a module and file with the same name. Bug: 198619163 Test: Presubmits Change-Id: Ibdd1d712f16ca0b211d709768a5ce4b0eb507525
2021-09-03Add niwa@ to squashfs_utils/OWNERSSatoshi Niwa
Context: b/195505890#comment12 Bug: 195505890 Test: m Change-Id: I9a758921c3191888943141ebf675552487dc32df
2021-07-23Make libfs_mgr dependencies vendor_ramdisk_available.David Anderson
This is needed to link libfs_mgr into snapuserd. Bug: 193833730 Test: builds Change-Id: I41aec802503f8c4bd0ddcf36140afdf02f68536e
2021-06-14Add ramdisk_available to init_first_stage's depsInseob Kim
Bug: 187196593 Test: boot Change-Id: I3b4b8c4758d5e710d3c98dd138b0893a7b320601
2021-02-19[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: alloc-stress/Android.bp app-launcher/Android.bp boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp brillo_config/Android.mk checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioblame/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp partition_tools/aidl/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp pssbench/Android.mk puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp zram-perf/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ia559848af903a7b6746d9b12b7de8b83bc57f99d
2021-02-16Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/extras"Bob Badour
This reverts commit 044d055c842a5750359ed71dfe50a6a4bf5f4cc3. Reason for revert: Needs to run as multiple roots. Change-Id: I8e06e7eb19e0f634f52fbd8a1c6662f43e347dd5
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to system/extrasBob Badour
Added SPDX-license-identifier-Apache-2.0 to: boot_control_copy/Android.bp bootctl/Android.bp boottime_tools/bootanalyze/stressfs/Android.bp boottime_tools/bootio/Android.bp checkpoint_gc/Android.bp cppreopts/Android.bp crypto-perf/Android.bp ext4_utils/Android.bp ext4_utils/Android.mk f2fs_utils/Android.bp ioshark/Android.bp iotop/Android.bp kexec_tools/Android.bp latencytop/Android.bp libfec/Android.bp libfec/test/Android.bp libfscrypt/Android.bp libfscrypt/tests/Android.bp libjsonpb/parse/Android.bp libjsonpb/verify/Android.bp memory_replay/Android.bp memtrack/Android.bp mmap-perf/Android.bp module_ndk_libs/libnativehelper/Android.bp multinetwork/Android.bp pagecache/Android.bp partition_tools/Android.bp perf2cfg/Android.bp postinst/Android.bp preopt2cachename/Android.bp profcollectd/Android.bp profcollectd/libprofcollectd/Android.bp profcollectd/libprofcollectd/bindings/libflags/Android.bp puncture_fs/Android.bp runconuid/Android.bp sane_schedstat/Android.bp showslab/Android.bp simpleperf/Android.bp simpleperf/runtest/Android.bp simpleperf/scripts/inferno/Android.bp simpleperf/simpleperf_app_runner/Android.bp slideshow/Android.mk sound/Android.bp squashfs_utils/Android.bp su/Android.mk taskstats/Android.bp tests/Android.bp tests/audio/alsa/Android.bp tests/binder/benchmarks/Android.bp tests/bootloader/Android.mk tests/cpueater/Android.bp tests/crypto/Android.bp tests/directiotest/Android.bp tests/ext4/Android.mk tests/framebuffer/Android.bp tests/fstest/Android.bp tests/icachetest/Android.bp tests/iptables/qtaguid/Android.bp tests/kernel.config/Android.mk tests/lib/Android.bp tests/lib/testUtil/Android.bp tests/memeater/Android.mk tests/pagingtest/Android.mk tests/pftest/Android.bp tests/schedtest/Android.bp tests/storage/Android.bp tests/suspend_stress/Android.bp tests/tcp_nuke_addr/Android.bp tests/timetest/Android.bp tests/uevents/Android.bp toolchain-extras/Android.bp vbmeta_tools/Android.bp verity/Android.bp verity/fec/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: cpustats/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_notice to: Android.bp Added SPDX-license-identifier-BSD to: ANRdaemon/Android.bp Added legacy_notice to: alloc-stress/Android.bp app-launcher/Android.bp brillo_config/Android.mk ioblame/Android.bp partition_tools/aidl/Android.bp pssbench/Android.mk zram-perf/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ie7c022a4d7f828a89d0cda663684a497af37006e
2019-06-21squashfs_utils: Declare required modules.Tao Bao
mksquashfsimage.sh depends on mksquashfs and img2simg. Test: TreeHugger Change-Id: Iac4efef68f87528c3601417829a934cc1b53b15d
2019-03-28Convert more of system/extras to Android.bpDan Willemsen
See build/soong/README.md for more information about Soong. Bug: 122331914 Test: cd system/extras; mma Test: treehugger Change-Id: Ic1cf293df2c848c7476ca93c150106a4a3cd849c
2018-08-27Clean up the global -Wno- in system/extras.Elliott Hughes
Bug: N/A Test: builds Change-Id: Idde3d0dafba08ffcd12cc9aa3540550e2601a227
2018-07-19Make libsquashfs_utils sharedJerry Zhang
Also rename boot_control_copy away from default. boot_control_copy isn't a shipping implementation. boot_control_bcb is the actual default. Bug: 78793464 Test: compiles Change-Id: I2bdbcb80605ca396dbfa69b837be381cbcc6e3e7 Merged-In: I2bdbcb80605ca396dbfa69b837be381cbcc6e3e7
2018-05-24Mark as recovery_available:trueJiyong Park
Libraries that are direct or indirect dependencies of modules installed to recovery partition (e.g. adbd) are marked as recovery_available: true. This allows a recovery variant of the lib is created when it is depended by other recovery or recovery_available modules. Bug: 79146551 Test: m -j Change-Id: I7bee45375b03d3ada86263580ddcb201e683f024
2017-10-02Use -Werror in system/extrasChih-Hung Hsieh
* Use system-extras-cflags-defaults * Move -Wall -Werror from cppflags to cflags * fix warning on redefinition of MAX_PATH Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ib14b4d8eece767225a6fef639ed190b343678c00
2017-01-26Merge "Convert several libraries to soong." am: 3b680bb63e am: 087a92d552 ↵Alex Deymo
am: e27390725c am: 0564df635e Change-Id: I74d6d0fc293cf4b6522344fe6be1dd9e19496ac1
2017-01-24Convert several libraries to soong.Alex Deymo
This patch coverts libfec and its dependencies to soong. This also updates the name of the libext2_uuid-host library removing the "-host" suffix as that is also being converted to soong. Also create a shared library for libfec given that it has quite a few dependencies. Bug: 34284069 Test: mmma system/extras; make checkbuild Change-Id: Ib3ada6420bae32418a02ca92db664d0d24214e2f
2017-01-12Export libsquashfs_utils include path in the library. am: f0b1f9f23f am: ↵Alex Deymo
fa183f41b3 am: 1a93de5fc7 am: dc90a95f37 Change-Id: Ie2cf97150d035dd4634258dc61f1b4502e0521c0
2017-01-12Remove "_host" suffix from libsquashfs_utils. am: 992dab285f am: e145c1e8f2 ↵Alex Deymo
am: 33a7d87ff6 am: 3128e23334 Change-Id: Ib78e009f26c0b82c82ecf559817888036306e7ad
2017-01-11Export libsquashfs_utils include path in the library.Alex Deymo
When using the libsquashfs_utils we need to include its only header, so exposing the include path for this library avoids repeating the path when using it. This patch also removes the include path from the only call site (libfec). Bug: None. Change-Id: I82380b89652f758e4f33a0dc90650b04223c0940
2017-01-11Remove "_host" suffix from libsquashfs_utils.Alex Deymo
Bug: 34220783 Change-Id: I9a140ed7bafdb8342dbdc2c7143a765acb86ecb9
2016-07-26SquashFS whitelist support.Mohan Srinivasan
Support for specifying a (whole file) whitelist to mksquashfs, so that frequently read in files will not be compressed. Bug: 28605313 Signed-off-by: Mohan Srinivasan <srmohan@google.com> Change-Id: I07c848266ed656b7df3daf7f0e3569f5c9012280
2016-06-16resolve merge conflicts of 041bdd8 to nyc-mr1-devMohamad Ayyash
Change-Id: I8b9b227f8afedb1eb77de8be9de689e3c621003e
2016-06-15mksquashfsimage.sh: Make disable-4k-align a paramterMohamad Ayyash
BUG: 29388879 Change-Id: I6ede2273419ba986d08decc0540741c54ed736b1 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-06-15resolve merge conflicts of 7354c0e to nyc-mr1-devMohamad Ayyash
Change-Id: I19693f5459794b71decfae4507fb2742c74f7c41
2016-06-13Disable fragments and duplicates detection for squashfsMohamad Ayyash
They don't play nicely with generating block maps. Fragments reduce performance. A later patch will add workaround for duplicate detection. BUG: 22322817 Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-06-13mksquashfsimage.sh: Add support for passing block map filesMohamad Ayyash
BUG: 22322817 Change-Id: I7e17f6ad3a503ee97f7a81a1a8382cff47a913c6 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-06-03Introduce squashfs compression thresholdMohamad Ayyash
If we can't beat that compression ratio for a single block then we leave it uncompressed. The choice of the threshold depends on the cost of I/O in a specific device which is determined from block I/O speed and CPU speed. BUG: 29058965 Change-Id: I8d17a4551c7d00ddb85687381b7cb0d6c60babf6 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-05-24Disable fragments for squashfsMohamad Ayyash
BUG: 28920352 BUG: 22322817 Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-08Merge "Remove canned_fs_config from ext4_utils" into nyc-devMohamad Ayyash
2016-04-07Remove canned_fs_config from ext4_utilsMohamad Ayyash
It is now also used in mksquashfs so it was added to libcutils BUG: 27467028 Change-Id: I81c87938d5b6b200a8ad817f0c64c5ca699f451c Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2016-04-04Make squashfs work on BSD and macOSJaewan Kim
Change-Id: Ie025a3d70237a7a959203d8cd066d05acf9e94b2
2015-10-05am 92e11ea1: Merge "Add NOTICE files"Sami Tolvanen
* commit '92e11ea1b900fc89cf98604a9e2ebb5c7d570a01': Add NOTICE files
2015-10-02Add NOTICE filesSami Tolvanen
Bug: 24571219 Change-Id: Ib7a4374974c2d0d9225caa1e43d0b78251a36bd2
2015-07-10am b89e81dc: fs_config: align with new explicit fs_config target_out parameterThierry Strudel
* commit 'b89e81dcb9bfa707912d9e370949b250367b0998': fs_config: align with new explicit fs_config target_out parameter
2015-07-09fs_config: align with new explicit fs_config target_out parameterThierry Strudel
Bug: 21989305 Bug: 22048934 Change-Id: I82c16c70a776e13b3365672b2820ee965525de9a Signed-off-by: Thierry Strudel <tstrudel@google.com>
2015-07-07Add switches for compressorSimon Wilson
Change-Id: I297321db3996d07e9eba3edc0b2837c8d221ab1a (cherry picked from commit b4cf7b309e8d8dc2ebbc6501ef205091322ab659)
2015-06-26am 2617755d: Merge "squashfs_utils: fix build on Mac"Sami Tolvanen
* commit '2617755d2d8feb850215ec9d665a8e3697820808': squashfs_utils: fix build on Mac
2015-06-26squashfs_utils: fix build on MacSami Tolvanen
Mac's libc doesn't define TEMP_FAILURE_RETRY. Include a definition from libcutils. Change-Id: I72c67d17614f79964fd684fd728242bee3e0599c
2015-06-26am 7c1b98d4: Merge "squashfs_utils: Add host library and parsing from buffer"Sami Tolvanen
* commit '7c1b98d4666f42c238954093f4b946e8e28a84a6': squashfs_utils: Add host library and parsing from buffer
2015-06-25squashfs_utils: Add host library and parsing from bufferSami Tolvanen
Allow the squashfs_utils library to be used on host and add a function to parse the super block from a buffer. Change-Id: I7cc59cba9882e159faeb0b203df20aaefb5c6e16
2015-06-24resolved conflicts for merge of ee3d4d49 to mnc-devSimon Wilson
Change-Id: Ibfa043e2a7400e659f0355bcd139352b02a058e9
2015-06-24Merge "mksquashfsimge.sh: Support creating a sparse image" into mnc-devMohamad Ayyash
2015-06-24Merge "mksquashfsimage.sh: Add forward slash for SRC_DIR"Mohamad Ayyash
2015-06-24Merge "mksquashfsimge.sh: Support creating a sparse image"Mohamad Ayyash
2015-06-24mksquashfsimage.sh: Add forward slash for SRC_DIRMohamad Ayyash
There is a bug in mksquashfs that fails to interpret symlink dirs unless they have a forward slash Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-24mksquashfsimage.sh: Add forward slash for SRC_DIRMohamad Ayyash
There is a bug in mksquashfs that fails to interpret symlink dirs unless they have a forward slash Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-24mksquashfsimge.sh: Support creating a sparse imageMohamad Ayyash
Change-Id: Idc28996028e666f929c032e5380312b7b28faa91 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-24mksquashfsimge.sh: Support creating a sparse imageMohamad Ayyash
Change-Id: Idc28996028e666f929c032e5380312b7b28faa91 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-17Add switches for compressorSimon Wilson
Change-Id: I297321db3996d07e9eba3edc0b2837c8d221ab1a
2015-06-16Introduce squashfs-utils that includes helper functionsMohamad Ayyash
For example: extracting filesystem size from superblock Change-Id: I97c79d80ebb767a977c8ca27f7e0877b5ead8fdc Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
2015-06-16Introduce mksquashfsimage.shMohamad Ayyash
Change-Id: I2b916ef3ef60b40f506e1f1be59482f7b071cdb2 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>