diff mbox series

auto-packager: mkpackage.sh: remove the control hook

Message ID 20230609033934.55086-1-ivan.hu@canonical.com
State Accepted
Headers show
Series auto-packager: mkpackage.sh: remove the control hook | expand

Commit Message

ivanhu June 9, 2023, 3:39 a.m. UTC
after the modify debian control, no need to control hook for dh-dkms

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 auto-packager/mkpackage.sh | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/auto-packager/mkpackage.sh b/auto-packager/mkpackage.sh
index 9d8972e7..30cfa824 100755
--- a/auto-packager/mkpackage.sh
+++ b/auto-packager/mkpackage.sh
@@ -124,15 +124,6 @@  mk_package()
 	sed "s/) $deb_release/$suffix) $rel;/" debian/changelog > debian/changelog.new
 	mv debian/changelog.new debian/changelog
 
-        #
-        # control hack
-        # remove dh-dkms dependency for those releases which are on need
-        #
-        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
-
   	echo 'y' | debuild -S
 	rm -rf $FWTS
 	popd >& /dev/null