Ren? M?rou wrote:
> What can i do to add one compresed directory (with a lot of html files) and
> make the Debian live add it compressed without to compres one more time.
you are refering to the wikipedia thing, right?
assumed you want to have all the files stored in /wikipedia afterwards
on the live system (otherwise just adapt it to your path), i would do
1. generate the squashfs image
mkdir -p foo/wikipedia
# copy all stuff you want into foo/wikipedia
mksquashfs foo wikipedia.squashfs
2. ajdust live-helper config
mkdir -p config/binary_local-includes/live
cp wikipedia.squashfs config/binary_local-includes/live
cat > config/binary_local-includes/live/wikipedia.module << EOF
3. now normally build your live-system. when booting, you can add
module=wikipedia to the boot prompt in order to boot the live-system
with the wikipedia.squashfs overlay. if you add the module param to
LH_BOOT_APPEND, you don't need to type it.
this is imho the smartest solution because you don't need to recompress
he wikipedia.squashfs image for every live-cd build.
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann at panthera-systems.net