Add support for prebuilt packages, ezurio-qca-firmware, all
arch
(couldn't MR, see https://salsa.debian.org/casparvitch/reform-debian-packages for commits or diff below)
- support prebuilt deb packages, primarily to allow for ezurio-qca-firmware (deb included here)
-
setup.sh
is updated to allowall
arch -> I am not certain this is required? But the firmware package is arch: all. -
build_custom.sh
updated to usereprepro includedeb
if deb files found in prebuilt/
Untested
diff --git a/build_custom.sh b/build_custom.sh
index 8078578..a65278b 100755
--- a/build_custom.sh
+++ b/build_custom.sh
@@ -44,3 +44,7 @@ END
dpkg-deb --root-owner-group --build "$WORKDIR" .
rm -Rf "$WORKDIR"
fi
+
+if [ -d prebuilt ] && [ -n "$(ls -A prebuilt/*.deb 2>/dev/null)" ]; then
+ reprepro --verbose includedeb "$OURSUITE" prebuilt/*.deb
+fi
diff --git a/prebuilt/ezurio-qca-firmware_0.0~git20230404.bad01ca-2+salsaci+20240912+7_all.deb b/prebuilt/ezurio-qca-firmware_0.0~git20230404.bad01ca-2+salsaci+20240912+7_all.deb
new file mode 100644
index 0000000..2739c17
Binary files /dev/null and b/prebuilt/ezurio-qca-firmware_0.0~git20230404.bad01ca-2+salsaci+20240912+7_all.deb differ
diff --git a/setup.sh b/setup.sh
index 68d5674..2b12f4d 100755
--- a/setup.sh
+++ b/setup.sh
@@ -23,7 +23,7 @@ Codename: $OURSUITE
Label: $OURLABEL
Suite: $OURSUITE
Origin: $OURORIGIN
-Architectures: $HOST_ARCH $(test "$BUILD_ARCH" = "$HOST_ARCH" || echo "$BUILD_ARCH") source
+Architectures: $HOST_ARCH $(test "$BUILD_ARCH" = "$HOST_ARCH" || echo "$BUILD_ARCH") all source
Components: main
UDebComponents: main
Contents: .xz
@@ -38,7 +38,7 @@ Codename: ${OURSUITE%-backports}
Label: $OURLABEL
Suite: ${OURSUITE%-backports}
Origin: $OURORIGIN
-Architectures: $HOST_ARCH $(test "$BUILD_ARCH" = "$HOST_ARCH" || echo "$BUILD_ARCH") source
+Architectures: $HOST_ARCH $(test "$BUILD_ARCH" = "$HOST_ARCH" || echo "$BUILD_ARCH") all source
Components: main
UDebComponents: main
Contents: .xz