schroot: add setuid bit

This commit is contained in:
Andrea Brancaleoni 2015-08-24 03:39:36 +02:00
parent 9d4b2c0fd7
commit 0985eaaf47
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'schroot'
pkgname=schroot
version=1.7.2
revision=3
revision=4
build_pie=yes
build_style=cmake
configure_args="
@ -69,8 +69,13 @@ LDFLAGS="-lboost_regex"
pre_configure() {
sed -i 's/warn/message/g' man/CMakeLists.txt
sed -i '/networks/d' \
etc/profile-templates/default/all/nssdatabases \
etc/profile-templates/desktop/all/nssdatabases \
etc/profile-templates/buildd/all/copyfiles
}
post_install() {
chmod 4755 $PKGDESTDIR/usr/bin/$pkgname
rm -r $PKGDESTDIR/usr/include $PKGDESTDIR/usr/lib/pkgconfig
}