From 5dd56486813628cf861d443124aa5a078d67eac9 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 1 May 2020 10:45:21 +0200 Subject: [PATCH] mount/umount system target added --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 0b83c63..d41cb87 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,18 @@ endef base: $(call vinstall,base-system) +mnt-system: + mount -t proc proc $(MNTDIR)/proc + mount -t sysfs sys $(MNTDIR)/sys + mount -o bind /dev $(MNTDIR)/dev + mount -t devpts pts $(MNTDIR)/dev/pts + +umnt-system: + umount $(MNTDIR)/proc + umount $(MNTDIR)/sys + umount $(MNTDIR)/dev/pts + umount $(MNTDIR)/dev + tools: $(call vinstall,base-devel git tcc wget vim-x11 tmux)