[arch-releng] reduce image size

Gerardo Exequiel Pozzi vmlinuz386 at gmail.com
Sun Oct 4 19:51:41 UTC 2015


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....
> 
> 
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20151004/2420c088/attachment.asc>


More information about the arch-releng mailing list