From 47686e5e438c57cd7ffc94b2d7f15abc03146442 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 11 May 2021 10:46:33 -0500 Subject: create bin and sbin directories Signed-off-by: William Hubbs --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c0d7283e..0913ceb6 100644 --- a/Makefile +++ b/Makefile @@ -33,16 +33,20 @@ KEEP_DIRS-Linux += \ /sys \ /usr/src KEEP_DIRS = $(KEEP_DIRS-$(OS)) \ + /bin \ /boot \ /etc/profile.d \ /home \ /media \ /mnt \ - /proc \ /opt \ + /proc \ /root \ + /sbin \ + /usr/bin \ /usr/local/bin \ /usr/local/sbin \ + /usr/sbin \ /var/cache \ /var/empty \ /var/lib \ @@ -92,6 +96,9 @@ layout: layout-dirs layout-$(OS) layout-usrmerge: layout ifeq ($(OS),Linux) + rm -fr ${DESTDIR}/bin + rm -fr ${DESTDIR}/sbin + rm -fr ${DESTDIR}/usr/sbin ln -snf usr/bin ${DESTDIR}/bin ln -snf usr/sbin ${DESTDIR}/sbin ln -snf bin ${DESTDIR}/usr/sbin -- cgit v1.2.3-65-gdbad