9 lines
320 B
Bash
Executable file
9 lines
320 B
Bash
Executable file
#!/bin/bash
|
|
contextRoot="$(mktemp -d)";
|
|
rootHome="$contextRoot/airootfs/root";
|
|
profileDir="/mnt/archiso-valhalla";
|
|
mkdir -p "$rootHome";
|
|
git clone .. "$rootHome/PortValhalla";
|
|
sudo mount --mkdir -t overlay overlay -o lowerdir=.:"$contextRoot" "$profileDir";
|
|
sudo mkarchiso "$@" "$profileDir";
|
|
sudo umount "$profileDir";
|