wok-next diff partimage-pam/receipt @ rev 18056
Up: cookutils, cookutils-daemon (737).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 15 16:51:30 2015 +0300 (2015-05-15) |
parents | 380ffe05937a |
children | 9e01bc6321ea |
line diff
1.1 --- a/partimage-pam/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/partimage-pam/receipt Fri May 15 16:51:30 2015 +0300 1.3 @@ -18,7 +18,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 sed -i 's/gzFile \*m_gzImageFile/gzFile m_gzImageFile/' src/client/imagefile.h 1.9 sed -i 's/(gzFile \*) gzdopen/gzdopen/' src/client/imagefile.cpp 1.10 ./configure --prefix=/usr --enable-pam \ 1.11 @@ -47,10 +46,10 @@ 1.12 1.13 echo "Setting permissions for config files" 1.14 chmod 0600 $1/etc/partimaged/* 1.15 - chown partimag.partimag $1/etc/partimaged/* 1.16 + chroot $1/ chown partimag.partimag $1/etc/partimaged/* 1.17 1.18 echo " Creating image files directory" 1.19 - install -g partimag -o partimag -m 0755 -d $1/var/lib/partimaged 1.20 + chroot $1/ install -g partimag -o partimag -m 0755 -d $1/var/lib/partimaged 1.21 1.22 echo "" 1.23 echo -e "\nTo starts $SOURCE server you can run :\n" 1.24 @@ -67,5 +66,3 @@ 1.25 rm -rf $1/etc/partimaged 1.26 fi 1.27 } 1.28 - 1.29 -