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 --- build_packages.sh | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/build_packages.sh b/build_packages.sh index 62f3f65..98b5339 100644 --- a/build_packages.sh +++ b/build_packages.sh @@ -1,4 +1,5 @@ #!/bin/bash -CHDIR=$(dirname "$(realpath $0)")/chroot +CHDIR=$(dirname "$(realpath $0)")/chroot +mount --bind $CHDIR $CHDIR $CHDIR/bin/arch-chroot $CHDIR su joel -c "/build/repo/build.sh" -- Gitblit v1.9.3