Re: shrinking the squashfs image size

2017-03-08 Thread Michael .
That's somewhat useful but would be more useful if you told us what the specs are of the PC you did the test on? On 9 March 2017 at 16:54, Thanatermesis wrote: > Warning: I tried the options: "-comp xz -Xbcj x86 -b 1024K -Xdict-size > 1024K", > and the result is that the images runs much slowe

Re: shrinking the squashfs image size

2017-03-08 Thread Thanatermesis
Warning: I tried the options: "-comp xz -Xbcj x86 -b 1024K -Xdict-size 1024K", and the result is that the images runs much slower, this is because the decompression resources needed are bigger, I have attached a graph showing the exact differences between space saving and boot time comparisons, ho

Re: shrinking the squashfs image size

2017-02-19 Thread Michael .
Ozi had the squashfs compression figured out quite well, check out his page at Star https://sourceforge.net/projects/linnix/files/ On 19 February 2017 at 19:23, emil.widm...@gmail.com wrote: > > Once upon a time we made small debian live systems. > it still lives here > https://github.com/emi

Re: shrinking the squashfs image size

2017-02-19 Thread emil.widm...@gmail.com
Once upon a time we made small debian live systems. it still lives here https://github.com/emilwidmann/Debian-light-builder it was automated, going through the scripts, the shrink step used this hook https://github.com/emilwidmann/Debian-light-builder/blob/master/modules/stripped/hooks/str

Re: shrinking the squashfs image size

2017-02-18 Thread Stefan Baur
Am 18.02.2017 um 16:19 schrieb Ginger_M: > Hi, > Create file in config/hooks/normal/ > > e.g. 0112-remove-folders.hook.chroot with content: > > #!/bin/sh > set -e > # Remove folders > > rm -rf /usr/share/doc/* > rm -rf /usr/share/locale/* > rm -rf /usr/share/man/* I've discovered that ./var

Re: shrinking the squashfs image size

2017-02-18 Thread Stefan Baur
Am 18.02.2017 um 16:30 schrieb intrigeri: >> Also, I would like to run mksquashfs with additional parameters >> -b 1048576 -comp xz >> as that seems to shrink the image even further, thus reducing transfer >> times (even though RAM usage will probably be the same). >> Where would I specify that? >

Re: shrinking the squashfs image size

2017-02-18 Thread Stefan Baur
Am 18.02.2017 um 16:30 schrieb intrigeri: > > Either use a chroot local hook, or list these files to a SquashFS > exclude config file passed to mksquashfs via the -ef in > $MKSQUASHFS_OPTIONS. > >> Also, I would like to run mksquashfs with additional parameters >> -b 1048576 -comp xz >> as that

Re: shrinking the squashfs image size

2017-02-18 Thread intrigeri
Stefan Baur: > I would like to run > rm -rf squashfs-root/usr/share/doc/* squashfs-root/usr/share/locale/* > squashfs-root/usr/share/man/* > (the files in these directories are not relevant for my use case because > there is only one single application running in full-screen mode, and no > shell

shrinking the squashfs image size

2017-02-18 Thread Stefan Baur
Hi $LIST, I would like to reduce the squashfs image size for a particular setup. Both to reduce transfer time when netbooting, and to reduce the amount of RAM used. I would like to run rm -rf squashfs-root/usr/share/doc/* squashfs-root/usr/share/locale/* squashfs-root/usr/share/man/* (the files