diff options
author | Manoj Srivastava <srivasta@debian.org> | 2016-02-15 09:37:53 -0800 |
---|---|---|
committer | Manoj Srivastava <srivasta@debian.org> | 2016-02-15 09:37:53 -0800 |
commit | a004e5ab27e660dbae1243a2e42d3db4f1b08780 (patch) | |
tree | aaadbcb3003fb2f32c513c967a1a387f46a87350 | |
parent | 760c92c5fec28baca39f97854587eea535936b72 (diff) |
Make the installed image files readable
Bug fix: "Installed vmlinuz file has insufficient read permissions",
thanks to Toby Speight (Closes: #775834).
Signed-off-by: Manoj Srivastava <srivasta@debian.org>
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | kernel/ruleset/targets/image.mk | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog index 79ab4f1..14770be 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ kernel-package (13.017) unstable; urgency=low * Bug fix: "Resultant kernels may need to depend upon kmod", thanks to Elliott Mitchell (Closes: #774601). + * Bug fix: "Installed vmlinuz file has insufficient read permissions", + thanks to Toby Speight (Closes: #775834). - -- Manoj Srivastava <srivasta@debian.org> Mon, 15 Feb 2016 09:25:29 -0800 + -- Manoj Srivastava <srivasta@debian.org> Mon, 15 Feb 2016 09:37:36 -0800 kernel-package (13.016) unstable; urgency=high diff --git a/kernel/ruleset/targets/image.mk b/kernel/ruleset/targets/image.mk index 28ecb8c..e554357 100644 --- a/kernel/ruleset/targets/image.mk +++ b/kernel/ruleset/targets/image.mk @@ -178,7 +178,7 @@ ifeq ($(strip $(KERNEL_ARCH)),um) else test ! -f System.map || cp System.map \ $(TMPTOP)/$(IMAGEDIR)/System.map-$(KERNELRELEASE); - test ! -f System.map || chmod 600 \ + test ! -f System.map || chmod 644 \ $(TMPTOP)/$(IMAGEDIR)/System.map-$(KERNELRELEASE); cp $(kimagesrc) $(kimagedest) mkdir -p $(TMPTOP)/usr/lib/linux-image-$(KERNELRELEASE) @@ -186,12 +186,12 @@ else endif ifeq ($(strip $(HAVE_COFF_IMAGE)),YES) cp $(coffsrc) $(coffdest) - chmod 600 $(coffdest) + chmod 644 $(coffdest) endif ifeq ($(strip $(int_install_vmlinux)),YES) ifneq ($(strip $(kelfimagesrc)),) cp $(kelfimagesrc) $(kelfimagedest) - chmod 600 $(kelfimagedest) + chmod 644 $(kelfimagedest) endif endif ###################################################################### @@ -206,9 +206,9 @@ ifeq ($(strip $(KERNEL_ARCH)),um) ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip --strip-unneeded --remove-section=.note --remove-section=.comment $(kimagedest); endif - chmod 700 $(kimagedest); + chmod 744 $(kimagedest); else - chmod 600 $(kimagedest); + chmod 644 $(kimagedest); endif ###################################################################### ### Hooks and information @@ -228,7 +228,7 @@ endif # For LKCD enabled kernels test ! -f Kerntypes || cp Kerntypes \ $(TMPTOP)/$(IMAGEDIR)/Kerntypes-$(KERNELRELEASE) - test ! -f Kerntypes || chmod 600 \ + test ! -f Kerntypes || chmod 644 \ $(TMPTOP)/$(IMAGEDIR)/Kerntypes-$(KERNELRELEASE) ifeq ($(strip $(delete_build_link)),YES) rm -f $(TMPTOP)/lib/modules/$(KERNELRELEASE)/build |