raspi-image/build.sh

17 lines
446 B
Bash
Raw Permalink Normal View History

2021-07-19 17:29:28 +02:00
#!/bin/bash
# We add all kernel modules, then use udev to load them dynamically
# we leave 30mb empty space at the end of each partition
mkdir -p $PWD/output
2021-07-19 15:09:34 +02:00
docker run --rm -it \
2021-07-19 17:29:28 +02:00
--security-opt seccomp=unconfined \
2021-07-19 15:09:34 +02:00
-v $PWD/output:/output -v $PWD/input:/input \
-e "DEFAULT_KERNEL_MODULES=*" \
2021-07-20 03:17:10 +02:00
-e "SIZE_ROOT_PART=3072M" \
-e "SIZE_ROOT_FS=3042M" \
2021-07-19 15:09:34 +02:00
-e "DEFAULT_TIMEZONE=Europe/Budapest" \
2021-07-19 17:29:28 +02:00
builder ${@} # <- don't forgetti to build this
2021-07-19 15:09:34 +02:00