Re: [PATCH] Expose build configuration during execution of chroot hooks
On Sun, Nov 08, 2009 at 04:38:53PM +0100, Daniel Baumann wrote:
> Cody A.W. Somerville wrote:
> > Please accept this simple patch that exposes build configuration to
> > chroot hooks by copying the config directory to chroot/root/config and
> > removing it before and after each hook is executed.
I believe that copying it to the binary is preffered. This makes it
available in the live media itself.
However it means I add many (mostly small) files to a FAT filesystem.
That can inflate it. I eventually opted to replace some parts (the local
copy of live-helper[1].
See
http://updates.xorcom.com/iso/live-2.0.0_config/config/binary_local-hooks/copy_config
>
> have you though about the fact, that some people are storing quite a log
> of packages or data in directories within the config tree? apart from
> that it could take considerable amount of additional time to copy
> things, it also takes hdd space.
Indeed. I have 'REDUNDANT_FILES' in that script and it was good enough
for me. I don't have local packages in the chroot.
[1] I was not usre what my local changes are. Was not sure in advance
there won't be any. In practice I often have minor ones.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Reply to: