build filesystem folder.
This commit is contained in:
@@ -13,6 +13,11 @@ if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then
|
|||||||
git clone https://github.com/GrapheneOS/hardened_malloc.git
|
git clone https://github.com/GrapheneOS/hardened_malloc.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
DIR="$(dirname "$0")"
|
||||||
|
cd ..
|
||||||
|
echo $PWD
|
||||||
|
|
||||||
#switching to root to perform chroot
|
#switching to root to perform chroot
|
||||||
if [ "$(id -u)" -ne 0 ]; then
|
if [ "$(id -u)" -ne 0 ]; then
|
||||||
echo "switching from $(id -un) to root"
|
echo "switching from $(id -un) to root"
|
||||||
|
|||||||
Reference in New Issue
Block a user