schroot: add setuid bit
This commit is contained in:
parent
9d4b2c0fd7
commit
0985eaaf47
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'schroot'
|
# Template file for 'schroot'
|
||||||
pkgname=schroot
|
pkgname=schroot
|
||||||
version=1.7.2
|
version=1.7.2
|
||||||
revision=3
|
revision=4
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -69,8 +69,13 @@ LDFLAGS="-lboost_regex"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's/warn/message/g' man/CMakeLists.txt
|
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() {
|
post_install() {
|
||||||
|
chmod 4755 $PKGDESTDIR/usr/bin/$pkgname
|
||||||
rm -r $PKGDESTDIR/usr/include $PKGDESTDIR/usr/lib/pkgconfig
|
rm -r $PKGDESTDIR/usr/include $PKGDESTDIR/usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue