tazwok rev 360
tazwok: change lockfile (sanbox case: /proc/1 is a link to /proc/1 directory)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 24 12:04:29 2011 +0100 (2011-02-24) |
parents | 90799aa9089b |
children | d342e3b2a721 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Feb 24 03:57:01 2011 +0100 1.2 +++ b/tazwok Thu Feb 24 12:04:29 2011 +0100 1.3 @@ -3220,7 +3220,7 @@ 1.4 1.5 \$version=\"${undigest:-$SLITAZ_VERSION}\"; 1.6 \$chroot=\"$chroot_dir\"; 1.7 -\$lockfile=\"\$chroot/proc/1\"; 1.8 +\$lockfile=\"\$chroot/proc/1/status\"; 1.9 \$db_dir=\"$PACKAGES_REPOSITORY\"; 1.10 \$log_dir=\"$LOCAL_REPOSITORY/log\"; 1.11 \$packages=\"$PACKAGES_REPOSITORY\";