[elbe-users] Double archive extract vs finetuning
Manuel Traut
manuel.traut at linutronix.de
Thu Feb 8 14:29:55 CET 2018
Hi,
On Wed, Feb 07, 2018 at 06:02:00PM +0000, Lukasz Walewski wrote:
> >-----Ursprüngliche Nachricht-----
> >Von: elbe-users [mailto:elbe-users-bounces at linutronix.de] Im Auftrag von
> >Ralf Schlatterbeck
> >Gesendet: Samstag, 3. Februar 2018 21:11
> >An: ELBE-users list
> >Betreff: [elbe-users] Double archive extract vs finetuning
>
> Hi Ralf,
>
> >In the log I see that the archive is extracted twice, once before, once
> >after finetuning. Is there a way to get rid of files in the archive in
> >the resulting image?
>
> I think it's discouraged / difficult by design.
It is removed in devel/elbe-3.0. Since elbe v2.9.3 (that can be retrieved from
debian.linutronix.de/elbe-testing) the archive extract after finetuning was
dropped.
> >Usecase: I need to copy the bootloader to the image to use the binary
> >blob stanza (bootloader is copied to the boot section in an msdos image)
> >of course I do not want a bootloader file in the filesystem of the
> >resulting image.
>
> You could:
> 1. pack your bootloader files in a *.deb package
> 2. publish that package on a local mirror (you can easily setup one using reprepro, aptly or similar)
> 3. include the package in your <pkg-list/>
> 4. do your bootloader thing in <finetuning/>
> 5. remove the package when you are done (also in <finetuning/> but just later), e.g.:
>
> <command>apt-get -q -y purge your-bootloader-package</command>
>
> That's what I do with augeas-tools & co., which I use to edit configuration files in /etc while building (obviously I don't want augeas in the resulting image).
>
> Best,
> Lukasz
>
>
> ----------------------------------------
>
> [s::can goes industrial]
>
> ----------------------------------------
>
> scan Messtechnik GmbH
> Brigittagasse 22-24
> A-1200 Wien/Vienna
> tel. +43 1 219 73 93 - 0
> fax +43 1 219 73 93 - 12
> http://www.s-can.at
> office at s-can.at
>
> Geschaeftsfuehrer/President: DI Andreas Weingartner
> Firmenbuchnummer/Incorporation No: FN178880i
> Gerichtsstand/Court of Jurisdiction: Wien/Vienna
>
> _______________________________________________
> elbe-users mailing list
> elbe-users at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-users
More information about the elbe-users
mailing list