Re: Keeping boot/* out of filesystem.squashfs

2008-08-27 Thread Juergen Fiedler
On Mon, Aug 25, 2008 at 3:27 PM, Daniel Baumann [EMAIL PROTECTED] wrote: Juergen Fiedler wrote: --- boot/vmlinuz* boot/initrd.img* --- It *looked* like this was the way config/binary_rootfs/excludes is supposed to be used. What did I do wrong there? i'm sorry that i forgot to

Re: Keeping boot/* out of filesystem.squashfs

2008-08-26 Thread Frédéric BOITEUX
Le lun 25 aoû 2008 16:41:26 CEST, Daniel Baumann [EMAIL PROTECTED] a écrit : the reason for that is that your patch is, although it would work, not a good (passing environment variables to live-helper is possible, but should never be done if it is possible through a config file or config

Re: Keeping boot/* out of filesystem.squashfs

2008-08-26 Thread Phillip Lougher
Juergen Fiedler juergen.fiedler at gmail.com writes: On Mon, Aug 25, 2008 at 10:41 AM, Daniel Baumann daniel at debian.org wrote: [...] i've commited a not perfect but less limited approach: It looks like this fix made it into live-helper 1.0.0+20080825.163637, so I created

Re: Keeping boot/* out of filesystem.squashfs

2008-08-26 Thread Daniel Baumann
Phillip Lougher wrote: Mksquashfs 3.3 significantly improves the exclude file mechanism adding wildcard support and removing the odd behaviour seen previously. To use this you have to specify the -wildcards option to Mksquashfs. depending on the fact if we build chrooted or not, the exclude

Re: Keeping boot/* out of filesystem.squashfs

2008-08-25 Thread Frédéric BOITEUX
Le ven 22 aoû 2008 15:04:50 CEST, Juergen Fiedler [EMAIL PROTECTED] a écrit : Hello, I am trying to keep the contents of the boot/ directory (particluarly vmlinuz* and initrd.img*) out of the filesystem.squashfs. I tried 'export MKSQUASHFS_OPTIONS=-e boot -e boot/ -e boot/*' before

Re: Keeping boot/* out of filesystem.squashfs

2008-08-25 Thread Daniel Baumann
Frédéric BOITEUX wrote: Hello, Hi, I've been hit by the same problem, exclusion of some patterns in MKSQUASHFS_OPTIONS doesn't work because mksquashfs requires that these options should be at the end of the command line, but live-helper adds some other options after them in

Re: Keeping boot/* out of filesystem.squashfs

2008-08-25 Thread Daniel Baumann
Juergen Fiedler wrote: --- boot/vmlinuz* boot/initrd.img* --- It *looked* like this was the way config/binary_rootfs/excludes is supposed to be used. What did I do wrong there? i'm sorry that i forgot to mention, the file needs to have absolut pathes, like: /boot/vmlinuz*

Re: Keeping boot/* out of filesystem.squashfs

2008-08-22 Thread Andreas Bombe
On Fri, Aug 22, 2008 at 03:04:50PM -0400, Juergen Fiedler wrote: I am using the latest live-helper on sid (1.0~a48+20080820.111738). How can I avoid having boot/* in my filesystem.squashfs without having to set my LH_PACKAGES_LISTS to stripped or minimal? You can always put a script in

Re: Keeping boot/* out of filesystem.squashfs

2008-08-22 Thread Chris Lamb
Andreas Bombe wrote: You can always put a script in config/chroot_local-hooks that will be run inside the chroot. Just rm'ing the files you don't want should do the trick. This won't work, as the binary stage will fail to find the kernels to add to your binary image (as you just deleted