aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs
Commit message (Collapse)AuthorAgeFilesLines
* fs/squashfs: add zstd supportGravatar Peter Seiderer2018-04-252-0/+5
| | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* fs: make it behave a bit more like the package infraGravatar Yann E. MORIN2018-01-031-1/+1
| | | | | | | | | | | | | | Currently, to register a filesystem, one has to call: $(eval $(call ROOTFS_TARGET,blabla)) This is very unlike the package infrastructure, where the name of the package is automatically guessed by the infra. It turns out that we can now do that for the filesystem infra too. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/squashfs: honour the number of parallel jobsGravatar Yann E. MORIN2017-08-091-2/+3
| | | | | | | | | | | | | | | | | | | By default, mksquashfs uses all the CPUs available, like us with BR2_JLEVEL=0. However, by setting BR21_JLEVEL to non-zero, a user volutarily limits the number of jobbs allowed to run concurrently (for various reasons, like this is not a priority task on the machine; or like the autobuilders, to spread the load accross multiple runs without overloading the machine). So, propagate tthe parallelisn settings down to mksquashfs, to repect the user's will. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Tested-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* fs/squashfs: cleanup if-else cascadeGravatar Yann E. MORIN2017-07-111-9/+3
| | | | | | | And add myself to the DEVELOPPERS for squashfs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binGravatar Arnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/squashfs: remove useless chmodGravatar Yann E. MORIN2016-06-071-1/+0
| | | | | | | | | | | | | | | When that was added (in 975e30b, fs/squashfs: fix image file permissions), the reasons were not quite explicit. We are now forcing the umask, and various tests have shown that the mode on the generated image file are correct without the chmod. Remove it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Acked-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/squashfs: split commandsGravatar Yann E. MORIN2016-06-071-1/+1
| | | | | | | | Now that we can properly printf a multi-line command, there is no need to use a single command to gnerate the squashfs image. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squashfs: Add lz4 hc compressionGravatar Matthias Weisser2015-10-041-1/+1
| | | | | | | | lz4 offers a high compression mode. A minimalistic file system shrinks by about 15%. [Peter: Unconditionally use hc mode for lz4 instead of introducing another option] Signed-off-by: Matthias Weisser <m.weisser.m@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* fs/squashfs: add lz4 compression supportGravatar Gustavo Zacarias2014-05-182-0/+7
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* squashfs3: remove deprecated package/rootfsGravatar Thomas De Schampheleire2014-01-102-28/+0
| | | | | | | [Peter: remove now unused BR2_DEPRECATED_SINCE_2010_05 symbol] Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* deprecated handling: introduce BR2_DEPRECATED_SINCE_xxxx_xxGravatar Thomas De Schampheleire2014-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | In order to keep better track of when a feature got deprecated, and hence when it can be removed, a new set of symbols BR2_DEPRECATED_SINCE_xxxx_xx is introduced. These symbols are automatically selected when BR2_DEPRECATED is selected, and thus are transparent to the user. A deprecated feature will no longer depend on BR2_DEPRECATED directly, but rather on the appropriate BR2_DEPRECATED_SINCE_xxxx_xx. If that symbol does not yet exist, it has to be created in Config.in. When removing a deprecated feature, one should also check whether this was the last feature using the BR2_DEPRECATED_SINCE_xxxx_xx symbol, in which case the latter can be removed from Config.in. A followup patch will make sure the overview is added to the list of deprecated features in the manual, so that a buildroot core developer can easily determine which features to remove in a given development cycle. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: whitespace cleanupGravatar Thomas De Schampheleire2013-11-111-7/+7
| | | | | | | | | | This patch fixes the following whitespace problems in Config.in files: - trailing whitespace - spaces instead of tabs for indentation - help text not indented with tab + 2 spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Gravatar Jerzy Grzegorek2013-06-071-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/common.mk: delay evaluation of variablesGravatar Arnout Vandecappelle (Essensium/Mind)2013-01-201-2/+2
| | | | | | | | | | | | | | | | | | | | | This makes things easier to understand and more consistent with the pkg-infra. For example, it removes the need for '$$@' in the CMD variables of fs/*/*.mk. It also makes it possible to update the variables later, e.g. in the package override file. It also makes sure that the date will be recorded correctly in Yann E. Morin's patch that logs the MESSAGE macros to a file. The fs/*/*.mk must be updated as well because the '$@' shouldn't be quoted anymore in the CMD variables or the hooks. The $(eval ...) for the dependencies is redundant, because the $(ROOTFS_TARGET) variable is already eval'd. Note that it is only redundant if the evaluation of the uses of the variable is also delayed. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: re-add legacy lzma supportGravatar Gustavo Zacarias2011-03-052-0/+7
| | | | | | | | | Readd legacy LZMA support since older patched kernels might be using it. Introduce an XZ target filesystem option for the new format. [Peter: add a seperate xz target for squashfs-target as well] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: bump versionGravatar Peter Korsgaard2011-03-031-1/+1
| | | | | | | The EXTRA_CFLAGS patch is now upstream, but we need a fix for !gzip builds instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: add lzma supportGravatar Peter Korsgaard2010-09-202-0/+7
| | | | | | And try to select a sane default compression algorithm. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* squashfs: bump 4.x, add lzo supportGravatar Peter Korsgaard2010-09-202-1/+23
| | | | | | We'll need libattr/xz packages in BR to enable support for those. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/squashfs: fix image file permissionsGravatar Peter Korsgaard2010-08-311-1/+2
| | | | | | | Set image file permissions to 0644 like it was before the fs rework, instead of the rather unhelpful 0700 (E.G. when image is used for tftp). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/squashfs: fix endianness typo for squashfs3Gravatar Stanislav Bogatyrev2010-08-271-1/+1
| | | | | Signed-off-by: Stanislav Bogatyrev <bogatyrev_stanislav@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fs/squashfs: squashfs3 needs to set big/little endianGravatar Peter Korsgaard2010-05-261-2/+10
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add version selection for the SquashFS root filesystemGravatar Thomas Petazzoni2010-04-092-0/+23
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Coherent naming for .mk files in fs/Gravatar Thomas Petazzoni2010-04-091-0/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Move all filesystem generation code to fs/Gravatar Thomas Petazzoni2010-04-092-0/+17
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>