Actual sdk change rights of /usr and /usr/local to 775 when
untaring the archives with sudo ... giving group write access
to these directories.
This patch fix the rights before creating the archive.
Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Khem Raj <raj.khem@gmail.com>
# Package it up
mkdir -p ${SDK_DEPLOY}
cd ${SDK_OUTPUT}
+ chmod -R go-w ${SDK_OUTPUT}
fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
cd ${SDK_OUTPUT2}
+ chmod -R go-w ${SDK_OUTPUT2}
fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}-extras.tar.bz2 .
}