[PATCH] auto-packager: mkpackage.sh remove the dh-dkms dependency
Ivan Hu
ivan.hu at canonical.com
Tue May 23 01:48:15 UTC 2023
Buglink: https://bugs.launchpad.net/fwts/+bug/2020396
dh-dkms is no need for bionic, focal and jammy
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
auto-packager/mkpackage.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/auto-packager/mkpackage.sh b/auto-packager/mkpackage.sh
index 21e0873f..9d8972e7 100755
--- a/auto-packager/mkpackage.sh
+++ b/auto-packager/mkpackage.sh
@@ -126,9 +126,10 @@ mk_package()
#
# control hack
+ # remove dh-dkms dependency for those releases which are on need
#
- if [ "$rel" = "lunar" ]; then
- sed 's/dkms,/dkms,\n dh-dkms,/' debian/control > debian/control.new
+ if [ "$rel" = "bionic" -o "$rel" = "focal" -o "$rel" = "jammy" ]; then
+ sed '/dh-dkms,/d' debian/control > debian/control.new
mv debian/control.new debian/control
fi
--
2.34.1
More information about the fwts-devel
mailing list