diff options
author | maximilian attems <max@stro.at> | 2010-10-29 09:55:50 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-11-11 10:32:43 -0500 |
commit | e86c2412c88fbe4676920c40348d3c547c9edb0d (patch) | |
tree | a7909e0b2d83eb2e8c133160c96765d55aea136e /scripts/package/builddeb | |
parent | c2d5a7300da667d090c8fe79f05404c9fb205b12 (diff) |
kbuild, deb-pkg: Fix build with paranoid umask
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>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/package/builddeb')
-rw-r--r-- | scripts/package/builddeb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 49b74e1ee12d..4dfec9aaaace 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -49,8 +49,10 @@ fi | |||
49 | 49 | ||
50 | # Setup the directory structure | 50 | # Setup the directory structure |
51 | rm -rf "$tmpdir" "$fwdir" | 51 | rm -rf "$tmpdir" "$fwdir" |
52 | mkdir -p "$tmpdir/DEBIAN" "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" | 52 | mkdir -m 755 -p "$tmpdir/DEBIAN" |
53 | mkdir -p "$fwdir/DEBIAN" "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename" | 53 | mkdir -p "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" |
54 | mkdir -m 755 -p "$fwdir/DEBIAN" | ||
55 | mkdir -p "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename" | ||
54 | if [ "$ARCH" = "um" ] ; then | 56 | if [ "$ARCH" = "um" ] ; then |
55 | mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" | 57 | mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" |
56 | fi | 58 | fi |