[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compresed directories



I did all you tell.

When im in the live-DVD i cant find the directory with the wikipedia.

I put this: LH_BOOTAPPEND="locale=ca_ES.UTF-8 module=wikipedia"  but its not 
there.  I try to find the  directory but i cant.  

If i put  "live module=wikipedia" its still not there.

in the config dir i have this:

/home/IES/config/binary_local-includes/live]\ # ls -al
total 307772
drwxr-xr-x 2 root root      4096 2007-09-18 21:15 .
drwxr-xr-x 3 root root      4096 2007-09-18 21:08 ..
-rw-r--r-- 1 root root        39 2007-09-18 21:15 wikipedia.module
-rwx------ 1 root root 314830848 2007-09-18 21:10 wikipedia.squashfs


/home/IES/config/binary_local-includes/live]\ # cat wikipedia.module
filesystem.squashfs
wikipedia.squashfs
[17:14:26]root at privacidad:/home/IES/config/binary_local-includes/live]\ #

where is the mistake?
I cant find it.





El Wednesday 12 September 2007 10:07:08 Daniel Baumann escribi?:
> 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
> the following:
>
> 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
> filesystem.squashfs
> wikipedia.squashfs
> 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.
>
> Regards,
> Daniel





Reply to: