Compare commits
30 Commits
json_confi
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ff4349ffb | |||
| 543de5bdce | |||
| 1b1e74d67f | |||
| 19ede9ac58 | |||
| 2770dfc964 | |||
|
|
cdb972579a | ||
|
|
c3a573a91e | ||
|
|
e914ac9619 | ||
|
|
09eb3c54ba | ||
|
|
fb75cc36df | ||
|
|
98e8ee8800 | ||
| 71833416e4 | |||
| 221c49ccbb | |||
|
|
191a3c9568 | ||
|
|
3a77b4a3cd | ||
|
|
26645cc10d | ||
|
|
704fa1b0aa | ||
| 248948f9f9 | |||
| 2d681243e7 | |||
| b3ad06ca5f | |||
|
|
46a74c8dcc | ||
|
|
112169798d | ||
| bde0a7e0fb | |||
| c0bd63ebf8 | |||
| d2e14bfed4 | |||
| 8892901369 | |||
| 601ee1739f | |||
| 24dbc38792 | |||
| f18d9b53e4 | |||
| 1b11644604 |
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# artifacts
|
||||
outputs/
|
||||
artifacts/
|
||||
dependencies/
|
||||
|
||||
# Compiled Python bytecode
|
||||
*.py[cod]
|
||||
|
||||
|
||||
@@ -3,11 +3,13 @@ set -e
|
||||
dir=$(dirname "$0")
|
||||
echo $dir
|
||||
cd $dir
|
||||
./install_dependencies.sh
|
||||
./build_kernel.sh
|
||||
./build_initramfs.sh
|
||||
#./install_dependencies.sh
|
||||
#./build_kernel.sh
|
||||
#./build_initramfs.sh
|
||||
#./bootstrap_filesystem.sh
|
||||
#./build_initramfs.sh
|
||||
./build_filesystem.sh
|
||||
./build_image.sh
|
||||
|
||||
./boot_image.sh
|
||||
|
||||
|
||||
|
||||
@@ -2,15 +2,6 @@
|
||||
set -e
|
||||
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
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "switching from $(id -un) to root"
|
||||
|
||||
16
scripts/download_malloc.sh
Executable file
16
scripts/download_malloc.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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