-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·29 lines (21 loc) · 696 Bytes
/
test.sh
File metadata and controls
executable file
·29 lines (21 loc) · 696 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
#!/bin/sh
set -e
cd "$(dirname "$0")"
base="$PWD"
if [ -e $HOME/.cargo/env ] ; then
source $HOME/.cargo/env
fi
export INSTALLER_BASE=https://cdn.asahilinux.org/installer-dev
export REPO_BASE=https://cdn.asahilinux.org
make -C "m1n1" RELEASE=1 CHAINLOADING=1 -j4
sudo rm -rf /tmp/asahi-install
mkdir -p /tmp/asahi-install
git describe --tags --always --dirty > /tmp/asahi-install/version.tag
cd /tmp/asahi-install
ln -sf "$base/src"/* .
ln -sf "$base/asahi_firmware" .
mkdir -p boot
ln -sf "$base/m1n1/build/m1n1.bin" boot/m1n1.bin
ln -sf "$base/artwork/logos/icns/AsahiLinux_logomark.icns" logo.icns
ln -sf "$base/data/installer_data.json" installer_data.json
sudo -E python3 main.py