From 275d18d137d745f06e14f1287d7372393afd4485 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 1 May 2020 11:46:00 +0200 Subject: [PATCH] base-from-archive target added --- Makefile | 7 +++++++ config.mk | 1 + 2 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 8ad5507..188ca0a 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,13 @@ umnt-system: base: base-fs mnt-system $(call vinstall,base-system) +base-from-archive: + tar -xpf $(VOID_ARCHIVE) -C $(MNTDIR) + 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 + set-term: cp -r files/terminfo $(MNTDIR)/usr/share/ chmod -R 755 $(MNTDIR)/usr/share/terminfo diff --git a/config.mk b/config.mk index f87696b..c0c1d4f 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,6 @@ VOID_ARCH=x86_64 VOID_REPO="https://alpha.de.repo.voidlinux.org/current" +VOID_ARCHIVE=void-fs.tar.bz2 DRIVE=/dev/sdb1