-
-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathbuild-base.sh
More file actions
executable file
·76 lines (51 loc) · 1.62 KB
/
Copy pathbuild-base.sh
File metadata and controls
executable file
·76 lines (51 loc) · 1.62 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/bash
set -eoux pipefail
echo "::group:: Copy Files"
# Copy ISO list for `install-system-flatpaks`
install -Dm0644 -t /etc/ublue-os/ /ctx/flatpaks/*.list
# Copy Files to Container
cp -r /ctx/just /tmp/just
cp /ctx/packages.json /tmp/packages.json
rsync -rvK /ctx/system_files/shared/ /
# Homebrew files
mkdir -p /usr/share/ublue-os/homebrew/
cp /ctx/brew/*.Brewfile /usr/share/ublue-os/homebrew/
mkdir -p /tmp/scripts/helpers
install -Dm0755 /ctx/build_files/shared/utils/ghcurl /tmp/scripts/helpers/ghcurl
export PATH="/tmp/scripts/helpers:$PATH"
echo "::endgroup::"
# Generate image-info.json
/ctx/build_files/base/00-image-info.sh
# Get COPR Repos
/ctx/build_files/base/02-install-copr-repos.sh
# Install Kernel and Akmods
/ctx/build_files/base/03-install-kernel-akmods.sh
# Install Additional Packages
/ctx/build_files/base/04-packages.sh
# Install Overrides and Fetch Install
/ctx/build_files/base/05-override-install.sh
# Base Image Changes
/ctx/build_files/base/07-base-image-changes.sh
# Get Firmare for Framework
/ctx/build_files/base/08-firmware.sh
# Beta
/ctx/build_files/base/10-beta.sh
# Bazaar workarounds
/ctx/build_files/base/11-bazaar.sh
# Beta
# /ctx/build_files/base/10-beta.sh
## late stage changes
# Systemd and Remove Items
/ctx/build_files/base/17-cleanup.sh
# Run workarounds for lf (Likely not needed)
/ctx/build_files/base/18-workarounds.sh
# Regenerate initramfs
/ctx/build_files/base/19-initramfs.sh
# Simple Tests
/ctx/build_files/base/20-tests.sh
# Clean Up
echo "::group:: Cleanup"
/ctx/build_files/shared/clean-stage.sh
mkdir -p /var/tmp &&
chmod -R 1777 /var/tmp
echo "::endgroup::"