From 90f1f8b9f92fb471a1f53d4e3ec1608414851ade Mon Sep 17 00:00:00 2001
From: Chizi123 <joelgrun@gmail.com>
Date: Tue, 09 Jul 2019 04:57:17 +0000
Subject: [PATCH] Binding chroot to itself

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

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

--
Gitblit v1.9.3