[arch-releng] reduce image size

Christian Hesse list at eworm.de
Wed Oct 7 06:40:12 UTC 2015

Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com> on Sun, 2015/10/04 16:51:
> On 10/03/2015 05:25 PM, Gerardo Exequiel Pozzi wrote:
> > On 10/02/2015 08:10 PM, Gerardo Exequiel Pozzi wrote:
> >   
> >>>
> >>> Some general thoughts...
> >>> In make_prepare() we do a 'cp -a ...' - does that make sense? We can
> >>> skip that step when bootstrapping to the correct directory, no?
> >>> Moreover, sometimes we call 'mkarchiso -w "${work_dir}" ...' and add the
> >>> subdirectories later in function, sometimes we call 'mkarchiso -w
> >>> "${work_dir}/${arch}" ...' or similar. Is there a reason for that? To
> >>> make that path handling unique should simplify implementing my feature.
> >>> This would break existing configs, though.
> >>>  
> >>
> >> "cp .. -l ..." all hardlinks, if my memory does not fail....this is done
> >> to make, the build process of dual iso much more easy, I do not remember
> >> exactly why in this way. The idea was, build each $arch at time, then
> >> merge in last step, also easy to "re-exec build.sh" at intermediate
> >> points. 
> > 
> > correction: The point is, if you want to re-execute make_prepare(),
> > (deleting the lock file made by run_once()), do it on the same "state"
> > of untouched workdir, since _cleanup removes files and maybe you want to
> > re-exec pacman, was good for testing purposes... can be removed, indeed
> > # rm ... /airootfs can be uncommented....

Ah, I missing the flag about hardlinks...
I've never made any use of the copy, though.

> > I am currently working on this idea of single sfs ;)


> some drafts [#1] (non-working). Apart from this, seems to be a good time
> do to some cleanups of unused things, to make scripts more simple.
> [#1] https://github.com/djgera/archiso/compare/experimental

Let me know when this is supposed to work and I will give it a try.
Thanks a lot!
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20151007/50cab65f/attachment.asc>

More information about the arch-releng mailing list