building both musl and glibc based images for same machine


Rasmus Villemoes
 

Is there some way to build images based on both musl and glibc for the
same machine?

Say, I need an initramfs to be as small as possible, and glibc is
several MB, so I'd like to base that image (and obviously anything I
include in that) on musl. However, the real root filesystem must for
various reasons be based on glibc.

Rasmus


Josef Holzmayr <holzmayr@...>
 

Howdy!

On Tue, Jan 14, 2020 at 02:38:29PM +0000, Rasmus Villemoes wrote:
Is there some way to build images based on both musl and glibc for the
same machine?
No problem at all - be it either through seperate builds, or
multiconfig.

Say, I need an initramfs to be as small as possible, and glibc is
several MB, so I'd like to base that image (and obviously anything I
include in that) on musl. However, the real root filesystem must for
various reasons be based on glibc.
Greetz

--
———————————————
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548


Rasmus Villemoes
 

On 14/01/2020 15.47, Josef Holzmayr wrote:
Howdy!

On Tue, Jan 14, 2020 at 02:38:29PM +0000, Rasmus Villemoes wrote:
Is there some way to build images based on both musl and glibc for the
same machine?
No problem at all - be it either through seperate builds, or
multiconfig.
Thanks, "multiconfig" was a thing I wasn't aware of. I'll see if I can
get that to work.

Rasmus