10 lines
320 B
Bash
10 lines
320 B
Bash
|
#!/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";
|