From f04fd3916e95623bf6e62816bd6449b037cd7d2b Mon Sep 17 00:00:00 2001 From: XindaH <35462954+XindaH@users.noreply.github.com> Date: Thu, 30 Aug 2018 16:12:52 +0800 Subject: [PATCH] make_deb: Add new empty line in the end of conffiles file When generating the conffiles file, the trailing newline is forgotten. --- tools/build_defs/pkg/make_deb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_defs/pkg/make_deb.py b/tools/build_defs/pkg/make_deb.py index d6ae54b24c501e..b9592e6c525024 100644 --- a/tools/build_defs/pkg/make_deb.py +++ b/tools/build_defs/pkg/make_deb.py @@ -170,7 +170,7 @@ def CreateDeb(output, if postrm: extrafiles['postrm'] = (postrm, 0o755) if conffiles: - extrafiles['conffiles'] = ('\n'.join(conffiles), 0o644) + extrafiles['conffiles'] = ('\n'.join(conffiles) + '\n', 0o644) control = CreateDebControl(extrafiles=extrafiles, **kwargs) # Write the final AR archive (the deb package)