Compare commits
3 Commits
main
...
json_confi
| Author | SHA1 | Date | |
|---|---|---|---|
| 0eeb969981 | |||
| 5b7a3ccd9b | |||
|
|
d26067b2fa |
9
.gitignore
vendored
9
.gitignore
vendored
@@ -1,9 +0,0 @@
|
|||||||
# artifacts
|
|
||||||
outputs/
|
|
||||||
artifacts/
|
|
||||||
dependencies/
|
|
||||||
|
|
||||||
# Compiled Python bytecode
|
|
||||||
*.py[cod]
|
|
||||||
|
|
||||||
|
|
||||||
@@ -3,13 +3,11 @@ set -e
|
|||||||
dir=$(dirname "$0")
|
dir=$(dirname "$0")
|
||||||
echo $dir
|
echo $dir
|
||||||
cd $dir
|
cd $dir
|
||||||
#./install_dependencies.sh
|
./install_dependencies.sh
|
||||||
#./build_kernel.sh
|
./build_kernel.sh
|
||||||
#./build_initramfs.sh
|
./build_initramfs.sh
|
||||||
#./bootstrap_filesystem.sh
|
|
||||||
#./build_initramfs.sh
|
|
||||||
./build_filesystem.sh
|
./build_filesystem.sh
|
||||||
./build_image.sh
|
./build_image.sh
|
||||||
./boot_image.sh
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,15 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
#downloading graphene malloc
|
||||||
|
if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
DIR="$(dirname "$0")"
|
||||||
|
cd ..
|
||||||
|
cd ./dependencies/
|
||||||
|
git clone https://github.com/GrapheneOS/hardened_malloc.git
|
||||||
|
fi
|
||||||
|
|
||||||
#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"
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
cd "$(dirname "$0")"
|
|
||||||
DIR="$(dirname "$0")"
|
|
||||||
cd ..
|
|
||||||
echo $PWD
|
|
||||||
|
|
||||||
#downloading graphene malloc
|
|
||||||
if [ ! -f ./dependencies/hardened_malloc/Makefile ]; then
|
|
||||||
cd ./dependencies/
|
|
||||||
git clone https://github.com/GrapheneOS/hardened_malloc.git
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo 'graphene malloc downloaded.'
|
|
||||||
Reference in New Issue
Block a user