-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
34 lines (26 loc) · 750 Bytes
/
build.sh
File metadata and controls
34 lines (26 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
echo "Delete ReignOS repo"
rm -rf ~/ReignOS/airootfs/home/gamer/ReignOS
echo "Clone ReignOS repo"
cd ~/ReignOS/airootfs/home/gamer
git clone https://github.com/reignstudios/ReignOS.git
echo "Build repo"
cd ~/ReignOS/airootfs/home/gamer/ReignOS
git checkout dev
cd ~/ReignOS/airootfs/home/gamer/ReignOS/Installer
dotnet workload update
dotnet clean
dotnet publish -r linux-x64 -c Release
echo "Cleaning build cache"
cd ~/ReignOS
rm -rf work/ out/
pacman -Rns $(pacman -Qdtq) --noconfirm
pacman -Sc --noconfirm
#rm -rf /var/cache/pacman/pkg/*
echo "Build ISO"
mkarchiso -v . configs/reignos
#chmod +x ./mkarchiso_ReignOS
#./mkarchiso_ReignOS -v .
#echo "Mount share drive"
#mount -t vboxsf share /mnt/share
echo "Ready to copy ISO"