[openwrt/openwrt] glibc: don't ship /etc/localtime -> /tmp/localtime symlink

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 20 16:44:27 PDT 2024


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/5305dbbe9fb41d3259051bc039f26ca23fad1cd8

commit 5305dbbe9fb41d3259051bc039f26ca23fad1cd8
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Wed Mar 20 22:56:00 2024 +0000

    glibc: don't ship /etc/localtime -> /tmp/localtime symlink
    
    The symlink is already part of the base-files package. We don't need
    to ship it with glibc again.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/libs/toolchain/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index ea36af5da4..4f71d31b28 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -519,7 +519,6 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
   define Package/glibc/install
 	$(CP) ./glibc-files/* $(1)/
 	rm -f $(1)/etc/localtime
-	$(LN) /tmp/localtime $(1)/etc/localtime
 	$(INSTALL_DIR) $(1)/lib
 	$(CP) \
 		$(TOOLCHAIN_DIR)/lib/ld*.so.* \




More information about the lede-commits mailing list