Skip to content

Commit 7e1e8ca

Browse files
committed
Use relative paths
1 parent b26d6b3 commit 7e1e8ca

File tree

1 file changed

+11
-41
lines changed

1 file changed

+11
-41
lines changed

build_files/build.sh

Lines changed: 11 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,35 @@
22

33
set -oue pipefail
44

5+
cd /ctx
6+
57
# Update
68
echo "::group:: Update"
7-
/ctx/main-repo/build_files/update-stage.sh
9+
./main-repo/build_files/update-stage.sh
810
echo "::endgroup::"
911

1012
# Remove packages
1113
echo "::group:: Remove packages"
12-
/ctx/main-repo/build_files/remove-packages.sh
14+
./main-repo/build_files/remove-packages.sh
1315
echo "::endgroup::"
1416

15-
# Install Packages
16-
1717
# Install Kernel
1818
echo "::group:: Install Surface Kernel"
19-
/ctx/install-stage-surface-kernel.sh
20-
echo "::endgroup::"
21-
22-
## Install Mullvad
23-
echo "::group:: Install Mullvad"
24-
/ctx/main-repo/build_files/install-stage-mullvad.sh
25-
echo "::endgroup::"
26-
27-
## Install Megasync
28-
echo "::group:: Install Megasync"
29-
/ctx/main-repo/build_files/install-stage-megasync.sh
30-
echo "::endgroup::"
31-
32-
## Install Nushell
33-
echo "::group:: Install Nushell"
34-
/ctx/main-repo/build_files/install-stage-nushell.sh
19+
./install-stage-surface-kernel.sh
3520
echo "::endgroup::"
3621

37-
## Install LibreWolf
38-
echo "::group:: Install LibreWolf"
39-
/ctx/main-repo/build_files/install-stage-librewolf.sh
40-
echo "::endgroup::"
41-
42-
## Install FirefoxPWA
43-
echo "::group:: Install FirefoxPWA"
44-
/ctx/main-repo/build_files/install-stage-PWAsForFirefox.sh
45-
echo "::endgroup::"
46-
47-
## Install Misc
48-
echo "::group:: Install Misc"
49-
/ctx/main-repo/build_files/install-stage-misc.sh
50-
echo "::endgroup::"
51-
52-
## Install Fonts
53-
echo "::group:: Install Fonts"
54-
/ctx/main-repo/build_files/install-stage-fonts.sh
55-
echo "::endgroup::"
22+
# Install Main Image
23+
cd /ctx/main-repo/build_files
24+
./install-stage.sh
25+
cd /ctx
5626

5727
# Generate initramfs
5828
echo "::group:: Generate initramfs"
59-
/ctx/generate-initramfs.sh
29+
./generate-initramfs.sh
6030
echo "::endgroup::"
6131

6232
# Cleanup
6333
echo "::group:: Cleanup"
64-
/ctx/main-repo/build_files/clean.sh
34+
./main-repo/build_files/clean.sh
6535
echo "::endgroup::"
6636

0 commit comments

Comments
 (0)