Skip to content

Commit 53fc7d4

Browse files
committed
use Original Pyra Repo and add Community Patches section (Testing)
1 parent 91fe0da commit 53fc7d4

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

makeimg.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ debootstrap --cache-dir="${DATA}"/cache/debootstrap --arch=armhf --keyring="${DA
8585

8686
#Fetch the Pyra key, convert it to gpg (see apt-key deprecation)
8787

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
9090

9191
echo "Setup Source Repos for $OS"
9292

@@ -111,7 +111,8 @@ fi
111111

112112
echo Pyra Package Repo for $OS
113113
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/
115116
EOF
116117

117118
echo "Copy config and settings to rootfs for execution later"

makeimg_data/config.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,32 @@ eatmydata apt -o APT::Keep-Downloaded-Packages="true" upgrade -y
1616
#eatmydata apt -o APT::Install-Recommends="false" -o APT::Keep-Downloaded-Packages="true" install -y $@
1717
eatmydata apt -o APT::Keep-Downloaded-Packages="true" install -y $@
1818

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+
1945
mkdir -p /boot/dtb
2046

2147
linux-version list | while read -r version

0 commit comments

Comments
 (0)