Sync with release branch

Pull updates from release branch
This commit is contained in:
Cameron Thompson
2024-10-29 23:36:37 +00:00
parent 0cf8fd10a9
commit b5f299dfb2
69 changed files with 2 additions and 81 deletions

View File

View File

0
ipk-source/atinout_0.9.1_aarch64_cortex-a53/build-ipk Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

0
ipk-source/sdxpinn-console-menu/CONTROL/control Executable file → Normal file
View File

0
ipk-source/sdxpinn-console-menu/build-ipk Executable file → Normal file
View File

0
ipk-source/sdxpinn-console-menu/root/usr/bin/download Executable file → Normal file
View File

0
ipk-source/sdxpinn-console-menu/root/usr/bin/menu Executable file → Normal file
View File

0
ipk-source/sdxpinn-mount-fix/CONTROL/control Executable file → Normal file
View File

0
ipk-source/sdxpinn-mount-fix/build-ipk Executable file → Normal file
View File

View File

0
ipk-source/sdxpinn-mount-fix/root/etc/init.d/mount-fix Executable file → Normal file
View File

0
ipk-source/sdxpinn-mount-fix/root/usr/bin/inotifywait Executable file → Normal file
View File

View File

@@ -1 +0,0 @@
libinotifytools.so.0.4.1

View File

@@ -1 +0,0 @@
libinotifytools.so.0.4.1

View File

View File

View File

0
ipk-source/sdxpinn-quecmanager/CONTROL/control Executable file → Normal file
View File

0
ipk-source/sdxpinn-quecmanager/CONTROL/postinst Executable file → Normal file
View File

0
ipk-source/sdxpinn-quecmanager/CONTROL/postrm Executable file → Normal file
View File

0
ipk-source/sdxpinn-quecmanager/build-ipk Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
ipk-source/sdxpinn-quecmanager/root/www/cgi-bin/ttl.sh Executable file → Normal file
View File

View File

View File

View File

View File

View File

@@ -76,7 +76,7 @@ Architecture: aarch64_cortex-a53
Maintainer: Russel Yasol <https://github.com/dr-dolomite> Cameron Thompson <https://github.com/iamromulan> Maintainer: Russel Yasol <https://github.com/dr-dolomite> Cameron Thompson <https://github.com/iamromulan>
MD5Sum: 88d632cf1dbae69c1bd6962ca31f600c MD5Sum: 88d632cf1dbae69c1bd6962ca31f600c
Size: 658836 Size: 658836
Filename: sdxpinn-quecmanager_0.0.1_aarch64_cortex-a53.ipk Filename: sdxpinn-quecmanager_0.0.2_aarch64_cortex-a53.ipk
Source: github/iamromulan Source: github/iamromulan
Description: A custom web UI desgined to run alongside luci for Quectel RM55x modems Description: A custom web UI desgined to run alongside luci for Quectel RM55x modems
License: GPLv3 License: GPLv3

Binary file not shown.

View File

@@ -1,2 +1,2 @@
untrusted comment: signed by key 6262698f038d1226 untrusted comment: signed by key 6262698f038d1226
RWRiYmmPA40SJiAMKcFrqnAMqLhX4YWp4m/xI4gL09u07ufgWmdgU7Tl4wwPqeVBLV818aB59NWzUgPK/8T9AVSc0EXLd6mpAQk= RWRiYmmPA40SJrjSf26WsPDLeiRMMKgAWEunKjqElFEt9KJrLhXaw4jdu4S0Tf0Q9+GRSp5aW1CoHz6z118zED1TchtCuW+iIAA=

View File

@@ -1,79 +0,0 @@
#!/bin/ash
# Build an ipk from an already installed package from opkg
# By iamromulan
# Check if package name is provided
if [ -z "$1" ]; then
echo "Usage: $0 <package_name>"
exit 1
fi
PACKAGE_NAME="$1"
WORK_DIR="./$PACKAGE_NAME"
ROOT_DIR="$WORK_DIR/root"
CONTROL_DIR="$WORK_DIR/CONTROL"
# Create directory structure
mkdir -p "$ROOT_DIR" "$CONTROL_DIR"
# Fetch package files and copy them into the correct spots inside root directory
opkg files "$PACKAGE_NAME" | grep -E '^/' | while read -r file; do
if [ -e "$file" ]; then
mkdir -p "$ROOT_DIR$(dirname "$file")"
cp "$file" "$ROOT_DIR$file"
fi
done
# Copy metadata files from /usr/lib/opkg/info/
for file in /usr/lib/opkg/info/"$PACKAGE_NAME".*; do
basefile=$(basename "$file")
# Strip the package name from the file (e.g., dropbear.control becomes control)
newfile=$(echo "$basefile" | sed "s/$PACKAGE_NAME\.//")
cp "$file" "$CONTROL_DIR/$newfile"
done
# Now proceed with building the IPK package
# Check if the required directories are present in the specified path
if [ ! -d "$CONTROL_DIR" ] || [ ! -d "$ROOT_DIR" ]; then
echo "Error: CONTROL and root directories must be present."
exit 1
fi
# Extract values from the CONTROL/control file
pkgname=$(grep -i '^Package:' "$CONTROL_DIR/control" | awk '{print $2}')
version=$(grep -i '^Version:' "$CONTROL_DIR/control" | awk '{print $2}')
architecture=$(grep -i '^Architecture:' "$CONTROL_DIR/control" | awk '{print $2}')
# Check if values are extracted correctly
if [ -z "$pkgname" ] || [ -z "$version" ] || [ -z "$architecture" ]; then
echo "Error: Failed to extract Package, Version, or Architecture from control file."
exit 1
fi
# Set the final IPK name based on the extracted values
ipkname="${pkgname}_${version}_${architecture}.ipk"
# Create control.tar.gz from the CONTROL directory
echo "Creating control.tar.gz..."
tar -czvf control.tar.gz -C "$CONTROL_DIR" .
# Create data.tar.gz from the root directory
echo "Creating data.tar.gz..."
tar -czvf data.tar.gz -C "$ROOT_DIR" .
# Create debian-binary file (must contain exactly "2.0" without a newline)
echo -n "2.0" > debian-binary
chown -R root:root debian-binary
# Combine the components into the final .ipk file using tar
echo "Packaging ${ipkname}..."
tar -czvf "$ipkname" debian-binary control.tar.gz data.tar.gz
# Clean up intermediate files
echo "Cleaning up temporary files..."
rm -f control.tar.gz data.tar.gz debian-binary
rm -rf $WORK_DIR
echo "IPK package ${ipkname} created successfully."