File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -85,8 +85,8 @@ debootstrap --cache-dir="${DATA}"/cache/debootstrap --arch=armhf --keyring="${DA
85
85
86
86
# Fetch the Pyra key, convert it to gpg (see apt-key deprecation)
87
87
88
- # curl -fsSL https://packages.pyra-handheld.com/pyra-public.pgp | sudo gpg --dearmor -o "${ROOTFS}"/usr/share/keyrings/pyra-public.gpg
89
- curl -fsSL http://slater.au/pyra/pyra.gpg | sudo gpg --dearmor -o " ${ROOTFS} " /usr/share/keyrings/pyra-public.gpg
88
+ curl -fsSL https://packages.pyra-handheld.com/pyra-public.pgp | sudo gpg --dearmor -o " ${ROOTFS} " /usr/share/keyrings/pyra-public.gpg
89
+ # curl -fsSL http://slater.au/pyra/pyra.gpg | sudo gpg --dearmor -o "${ROOTFS}"/usr/share/keyrings/pyra-public.gpg
90
90
91
91
echo " Setup Source Repos for $OS "
92
92
111
111
112
112
echo Pyra Package Repo for $OS
113
113
cat << EOF >> "${ROOTFS} "/etc/apt/sources.list.d/pyra-packages.list
114
- deb [arch=armhf signed-by=/usr/share/keyrings/pyra-public.gpg] http://slater.au/ $OS /
114
+ # deb [arch=armhf signed-by=/usr/share/keyrings/pyra-public.gpg] http://slater.au/ $OS /
115
+ deb [arch=armhf signed-by=/usr/share/keyrings/pyra-public.gpg] http://packages.pyra-handheld.com $OS /
115
116
EOF
116
117
117
118
echo " Copy config and settings to rootfs for execution later"
Original file line number Diff line number Diff line change @@ -16,6 +16,32 @@ eatmydata apt -o APT::Keep-Downloaded-Packages="true" upgrade -y
16
16
# eatmydata apt -o APT::Install-Recommends="false" -o APT::Keep-Downloaded-Packages="true" install -y $@
17
17
eatmydata apt -o APT::Keep-Downloaded-Packages=" true" install -y $@
18
18
19
+
20
+ # Install Community Patches
21
+ # TODO: Fetch from Git Repo?
22
+ echo " Applying Community Patches"
23
+
24
+ target_dir=" Additional_Scripts"
25
+
26
+ # Check if the target directory exists
27
+ if [ -d " Additional_Scripts" ]; then
28
+ for dir in " $target_dir " /* ; do
29
+ for script in " $dir " /* .sh; do
30
+ if [ -f " $script " ]; then
31
+ echo " Running $script ..."
32
+ bash " $script " # Execute the script
33
+ else
34
+ echo " No .sh files found in $dir ."
35
+ fi
36
+ done
37
+ done
38
+ else
39
+ echo " Directory $target_dir does not exist."
40
+ fi
41
+
42
+
43
+
44
+
19
45
mkdir -p /boot/dtb
20
46
21
47
linux-version list | while read -r version
You can’t perform that action at this time.
0 commit comments