wok-next diff partimage/receipt @ rev 18654
libtkimg: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 02 16:37:20 2015 +0100 (2015-12-02) |
parents | 380ffe05937a |
children | 9e01bc6321ea |
line diff
1.1 --- a/partimage/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/partimage/receipt Wed Dec 02 16:37:20 2015 +0100 1.3 @@ -16,7 +16,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 \ 1.11 @@ -45,10 +44,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 $PACKAGE server you can run :\n" 1.24 @@ -65,5 +64,3 @@ 1.25 rm -rf $1/etc/partimaged 1.26 fi 1.27 } 1.28 - 1.29 -