You are not logged in.
For my local custom packages generated using makepkg from pkgbuild I use symlinking. gensync script does not dereference them, therefore pacman always tells during installation of such packages that their size is 0.1 MB instead of real size. Solution is a simple modification of gensync script:
--- /usr/bin/gensync_orig 2007-05-02 20:34:20.000000000 +0200
+++ /usr/bin/gensync 2007-05-02 20:34:36.000000000 +0200
@@ -182,7 +182,7 @@
pkgfile="$destdir/$pkgname-$pkgver-$pkgrel.pkg.tar.gz"
fi
if [ -f $pkgfile ]; then
- csize=`du -b $pkgfile | cut -f1`
+ csize=`du -b -L $pkgfile | cut -f1`
pkgmd5sum=`get_md5checksum $pkgfile`
[ -z $pkgmd5sum ] && die "error generating checksum for $pkgfile"
db_write_entry $file || die "error writing entry for $file"
Edit: above is about pacman 2.9.8, I did not check 3.0
Last edited by mykhal (2007-05-02 18:57:23)
Offline
Please post this to the bug tracker, or else it will get lost in the forums somewhere
Offline
ok, FS#7054
Offline