first commit
This commit is contained in:
16
build.sh
Executable file
16
build.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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"
|
Reference in New Issue
Block a user