public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild, deb-pkg: Fix build with paranoid umask
@ 2010-10-29 13:55 maximilian attems
  2010-11-11 15:37 ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: maximilian attems @ 2010-10-29 13:55 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Michal Marek, maximilian attems

umask 077
make deb-pkg
<snipp ..>
dpkg-deb: building package `linux-image-2.6.36+' in `../linux-image-2.6.36+_2.6.36+-4_amd64.deb'.
dpkg-deb: control directory has bad permissions 700 (must be >=0755 and <=0775)
make[1]: *** [deb-pkg] Error 2

Reported-by: Bastian Blank <waldi@debian.org>
Signed-off-by: maximilian attems <max@stro.at>
---
 scripts/package/builddeb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 49b74e1..4dfec9a 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -49,8 +49,10 @@ fi
 
 # Setup the directory structure
 rm -rf "$tmpdir" "$fwdir"
-mkdir -p "$tmpdir/DEBIAN" "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename"
-mkdir -p "$fwdir/DEBIAN" "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename"
+mkdir -m 755 -p "$tmpdir/DEBIAN"
+mkdir -p  "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename"
+mkdir -m 755 -p "$fwdir/DEBIAN"
+mkdir -p "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename"
 if [ "$ARCH" = "um" ] ; then
 	mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin"
 fi
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] kbuild, deb-pkg: Fix build with paranoid umask
  2010-10-29 13:55 [PATCH] kbuild, deb-pkg: Fix build with paranoid umask maximilian attems
@ 2010-11-11 15:37 ` Michal Marek
  2010-11-12 17:46   ` maximilian attems
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2010-11-11 15:37 UTC (permalink / raw)
  To: maximilian attems; +Cc: linux-kbuild

On Fri, Oct 29, 2010 at 03:55:50PM +0200, maximilian attems wrote:
> umask 077
> make deb-pkg
> <snipp ..>
> dpkg-deb: building package `linux-image-2.6.36+' in `../linux-image-2.6.36+_2.6.36+-4_amd64.deb'.
> dpkg-deb: control directory has bad permissions 700 (must be >=0755 and <=0775)
> make[1]: *** [deb-pkg] Error 2
> 
> Reported-by: Bastian Blank <waldi@debian.org>
> Signed-off-by: maximilian attems <max@stro.at>
> ---
>  scripts/package/builddeb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

Thanks, applied.

Michal 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kbuild, deb-pkg: Fix build with paranoid umask
  2010-11-11 15:37 ` Michal Marek
@ 2010-11-12 17:46   ` maximilian attems
  0 siblings, 0 replies; 3+ messages in thread
From: maximilian attems @ 2010-11-12 17:46 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild

On Thu, 11 Nov 2010, Michal Marek wrote:

> On Fri, Oct 29, 2010 at 03:55:50PM +0200, maximilian attems wrote:
> > umask 077
> > make deb-pkg
> > <snipp ..>
> > dpkg-deb: building package `linux-image-2.6.36+' in `../linux-image-2.6.36+_2.6.36+-4_amd64.deb'.
> > dpkg-deb: control directory has bad permissions 700 (must be >=0755 and <=0775)
> > make[1]: *** [deb-pkg] Error 2
> > 
> > Reported-by: Bastian Blank <waldi@debian.org>
> > Signed-off-by: maximilian attems <max@stro.at>
> > ---
> >  scripts/package/builddeb |    6 ++++--
> >  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> Thanks, applied.
> 
thanks, don't see it yet in linux-next, care to push it out?
what about the other 2 cross compile deb-pkg patches?
or is that above still slated for .37?

-- 
maks

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-12 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-29 13:55 [PATCH] kbuild, deb-pkg: Fix build with paranoid umask maximilian attems
2010-11-11 15:37 ` Michal Marek
2010-11-12 17:46   ` maximilian attems

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox