Skip to contentSkip to conversation

package/skeleton: drop $(HOST_DIR)/usr compatibility symlink

Buildroot Yann E. MORIN 1 participant 1 message Apr 10, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=38b798da73ba69c9e1d8279805b621f80b98bc64
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It has been years that we removed $(HOST_DIR)/usr. Because of this symlink, however, there are still packages that install things in $(HOST_DIR)/usr. Remove the symlink so those packages will start to fail.

Note that there's now a check-package check to detect such incorrectly instaled things, so this should only affect external packages.

---
 package/skeleton/skeleton.mk | 4 ----
 1 file changed, 4 deletions(-)
package/skeleton/skeleton.mk +0 -4
index 634c76e437..186cb60189 100644
@@ -11,11 +11,7 @@
 SKELETON_ADD_TOOLCHAIN_DEPENDENCY = NO
 SKELETON_ADD_SKELETON_DEPENDENCY = NO
 
-# We create a compatibility symlink in case a post-build script still
-# uses $(HOST_DIR)/usr
 define HOST_SKELETON_INSTALL_CMDS
-# check-package DoNotInstallToHostdirUsr
-	$(Q)ln -snf . $(HOST_DIR)/usr
 	$(Q)mkdir -p $(HOST_DIR)/lib
 	$(Q)mkdir -p $(HOST_DIR)/include
 	$(Q)case $(HOSTARCH) in \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot