Source: swupdate
Version: 2023.12+dfsg-1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64
Dear maintainers,
The swupdate source package (pull from sid) was compiled successfully on
my local loong64 rootfs environment.
But refer to other architectures, maybe we need to add additional
dependency support in d/control and d/rules.
I would like to remind you there is no package for loong64 yet about the
additional dependency.
I reported this phenomenon (whether additional dependency support is
needed?) in advance and hope to get suggestions from the maintainers.
Please consider the patch (my local patch) I have attached.
If you have any questions, you can contact me at any time.
thanks,
Dandan Zhang
diff --git a/debian/control b/debian/control
index acbecd4..62c39ff 100644
--- a/debian/control
+++ b/debian/control
@@ -36,7 +36,7 @@ Build-Depends: debhelper-compat (= 13),
libwebsockets-dev (>= 3.2.0) <!pkg.swupdate.noswuforwarder>,
liburiparser-dev,
libubootenv-dev (>= 0.3.5) [linux-any],
- libebgenv-dev [any-amd64 any-i386 any-arm64 armhf any-riscv64 any-ia64],
+ libebgenv-dev [any-amd64 any-i386 any-arm64 armhf any-loong64 any-riscv64 any-ia64],
libcmocka-dev,
node-jquery,
pkg-config,
diff --git a/debian/rules b/debian/rules
index 3b1cc0f..8444b49 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,7 +41,7 @@ endif
ifeq (,$(filter pkg.swupdate.bpo,$(DEB_BUILD_PROFILES)))
echo CONFIG_DELTA=y >> configs/debian_defconfig
endif
-ifneq (,$(findstring $(DEB_HOST_ARCH),amd64 i386 arm64 armhf riscv64 ia64))
+ifneq (,$(findstring $(DEB_HOST_ARCH),amd64 i386 arm64 armhf loong64 riscv64 ia64))
echo CONFIG_BOOTLOADER_EBG=y >> configs/debian_defconfig
endif
ifeq (,$(filter pkg.swupdate.nohwcompat,$(DEB_BUILD_PROFILES)))
--
2.43.0