[elbe-users] Double archive extract vs finetuning
Lukasz Walewski
lwalewski at s-can.at
Wed Feb 7 19:02:00 CET 2018
>-----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.
>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
More information about the elbe-users
mailing list