From 3034241fe2f3d7b7b22bc91dc1a03b4fca21472a Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Sun, 14 Jul 2019 09:20:54 +0000
Subject: [PATCH] Added instructions for chroot creation

---
 enter_chroot.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/enter_chroot.sh b/enter_chroot.sh
old mode 100644
new mode 100755
index 2e7830c..a4f6270
--- a/enter_chroot.sh
+++ b/enter_chroot.sh
@@ -1,4 +1,6 @@
 #!/bin/bash
 
 CHDIR=$(dirname "$(realpath $0)")/chroot 
-$CHDIR/bin/arch-chroot $CHDIR su joel 
+mount --bind $CHDIR $CHDIR
+$CHDIR/bin/arch-chroot $CHDIR su joel
+umount $CHDIR

--
Gitblit v1.9.3