Hi,
I run a build of OpenPLi image with TCLIBC = "musl" to evaluate speed and size savings.
Well, I knew before that in my case the Vu+ private libs are compiled against an older glibc so it is really not possible at the moment to link at runtime with musl instead of ld.
Neverthless here the changes needed in meta-openpli:
diff --git a/meta-openpli/recipes-openpli/enigma2/enigma2.bb b/meta-openpli/recipes-openpli/enigma2/enigma2.bb
index 4974e6e2..3a49d3e1 100644
--- a/meta-openpli/recipes-openpli/enigma2/enigma2.bb
+++ b/meta-openpli/recipes-openpli/enigma2/enigma2.bb
@@ -24,19 +24,21 @@ RDEPENDS_${PN} = " \
alsa-conf \
enigma2-fonts \
ethtool \
- glibc-gconv-iso8859-15 \
${PYTHON_RDEPS} \
"
+RDEPENDS_${PN}_append_libc-glibc = " glibc-gconv-iso8859-15"
+
RRECOMMENDS_${PN} = " \
enigma2-plugin-skins-pli-hd \
hotplug-e2-helper \
- glibc-gconv-utf-16 \
python-sendfile \
ofgwrite \
virtual/enigma2-mediaservice \
"
+RRECOMMENDS_${PN}_append_libc-glibc = " glibc-gconv-utf-16"
+
PYTHON_RDEPS = " \
python-codecs \
python-core \
diff --git a/meta-openpli/recipes-openpli/images/openpli-image.bb b/meta-openpli/recipes-openpli/images/openpli-image.bb
index 61c27c49..d31e2fbc 100644
--- a/meta-openpli/recipes-openpli/images/openpli-image.bb
+++ b/meta-openpli/recipes-openpli/images/openpli-image.bb
@@ -19,7 +19,6 @@ IMAGE_INSTALL = "\
e2fsprogs-tune2fs \
fakelocale \
fuse-exfat \
- glibc-binary-localedata-en-gb \
kernel-params \
modutils-loadscript \
cifs-utils \
@@ -44,6 +43,8 @@ IMAGE_INSTALL = "\
vsftpd \
"
+IMAGE_INSTALL_append_libc-glibc = " glibc-binary-localedata-en-gb"
+
export IMAGE_BASENAME = "openpli"
IMAGE_LINGUAS = ""
IMAGE_FEATURES += "package-management"
Finally an old one [1] in meta-vuplus:
For vuduo2 then you should provide workarounds for the runtime dependencies (i.e. libm) so it is at the moment very complicated with prebuilt solibs.
Cheers
A.A.