This is an automated email from the git hooks/post-receive script. pere pushed a commit to branch master in repository dkms.
commit fb16cf847a76e582f7df707e516793a58ed1a1f0 Author: Petter Reinholdtsen <[email protected]> Date: Sun May 1 14:31:54 2016 +0200 Make sure apport code write files in binary mode. Patch by Ritesh Raj Sarraf. Closes: #684377 --- debian/patches/apport-write-binary.patch | 17 +++++++++++++++++ debian/patches/series | 1 + 2 files changed, 18 insertions(+) diff --git a/debian/patches/apport-write-binary.patch b/debian/patches/apport-write-binary.patch new file mode 100644 index 0000000..50fc116 --- /dev/null +++ b/debian/patches/apport-write-binary.patch @@ -0,0 +1,17 @@ +Description: Make sure apport code write files in binary mode. + Without this patch, dkms_packages.py crashed with AssertionError in + _assert_bin_mode(): file stream must be in binary mode +Author: Ritesh Raj Sarraf <[email protected]> +Bug-Debian: https://bugs.debian.org/684377 +Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685208#10 +Reviewed-By: Petter Reinholdtsen <[email protected]> +Last-Update: 2016-05-01 + +--- dkms-2.2.0.3.orig/dkms_apport.py ++++ dkms-2.2.0.3/dkms_apport.py +@@ -92,4 +92,4 @@ if 'DKMSBuildLog' in report: + + if options.kernel: + report['DKMSKernelVersion'] = options.kernel +-report.write(open(apport.fileutils.make_report_path(report), 'w')) ++report.write(open(apport.fileutils.make_report_path(report), 'wb')) diff --git a/debian/patches/series b/debian/patches/series index 562850e..f648f5a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ fix_have_one_kernel_for_non-zero_return_code.diff 690865.patch 1491729-0001-Add-POST_BUILD-to-the-dkms_conf_variables-list.patch 1491729-0002-Add_BUILD_DEPENDS_configuration_option.patch +apport-write-binary.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dkms/dkms.git _______________________________________________ Pkg-dkms-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-dkms-commits
