Files
Boot-to-Firefox/build.sh
2025-09-22 23:12:44 +02:00

17 lines
332 B
Bash
Executable File

#!/bin/bash
PROFILEPATH="$(realpath "$(dirname "$0")/profiles/boot-to-firefox")"
IMAGEPATH="/tmp/boot-to-firefox"
WORKPATH="$IMAGEPATH/work"
OUTPATH="$IMAGEPATH/out"
if [ -d "$IMAGEPATH" ]; then
sudo rm -R "$IMAGEPATH"
fi
mkdir -p "$WORKPATH"
mkdir -p "$OUTPATH"
sudo mkarchiso -v -w "$WORKPATH" -o "$OUTPATH" "$PROFILEPATH"