From: Markham Date: Sat, 14 Apr 2018 17:18:39 +0000 (+0200) Subject: uClibc-ng hd2: install backward compatibility symlinks X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=a7b18ab3bc9b6c3261b2f97404ec75fedba6ee9e;p=bs-cst-neutrino-hd.git uClibc-ng hd2: install backward compatibility symlinks --- diff --git a/make/rootfs.mk b/make/rootfs.mk index 9643553..217709e 100755 --- a/make/rootfs.mk +++ b/make/rootfs.mk @@ -2,7 +2,10 @@ BOX = $(BUILD_TMP)/rootfs -$(D)/rootfs: +ifeq ($(BOXSERIES), hd2) +SYMLINKS_DEPS = symlinks +endif +$(D)/rootfs: $(SYMLINKS_DEPS) $(START_BUILD) rm -rf $(BOX) cp -a $(TARGETPREFIX) $(BOX) @@ -27,3 +30,11 @@ $(D)/rootfs: find $(BOX)/var/sbin -type f -print0 | xargs -0 $(TARGET)-strip 2>/dev/null || true du -sh $(BOX) +symlinks: + $(START_BUILD) + pushd $(BOX)/lib && \ + ln -sf libuClibc-1.0.24.so libcrypt.so.0 + ln -sf libuClibc-1.0.24.so libdl.so.0 + ln -sf libuClibc-1.0.24.so libpthread.so.0 + ln -sf libuClibc-1.0.24.so libm.so.0 + ln -sf libuClibc-1.0.24.so librt.so.0