From ff9fc523397858c2eaa927847570e6e679989ae6 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 25 Jan 2023 21:48:42 -0600 Subject: install the fhs compatible symlinks in the Makefile Signed-off-by: William Hubbs --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index ecc7b107..29b21c1b 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,12 @@ install: ./make_os_release ${PV} > $(DESTDIR)/usr/lib/os-release $(INSTALL_DIR) $(DESTDIR)/usr/share/baselayout cp -pPR share/* $(DESTDIR)/usr/share/baselayout/ + # FHS compatibility symlinks + ln -snf ../proc/self/mounts $(DESTDIR)/etc/mtab + ln -snf ../var/tmp $(DESTDIR)/usr/tmp + $(INSTALL_DIR) $(DESTDIR)/var + ln -snf ../run $(DESTDIR)/var/run + ln -snf ../run/lock $(DESTDIR)/var/lock layout: # Create base filesytem layout -- cgit v1.2.3-65-gdbad