Skip to content
Snippets Groups Projects
  1. Jan 06, 2009
  2. Jan 05, 2009
  3. Jan 04, 2009
  4. Jan 03, 2009
  5. Dec 11, 2008
  6. Dec 08, 2008
  7. Dec 02, 2008
  8. Nov 30, 2008
  9. Nov 18, 2008
  10. Oct 31, 2008
  11. Oct 29, 2008
    • Dan McGee's avatar
      Give pacman-optimize a refresher · a63aeed5
      Dan McGee authored
      
      This patch addresses quite a few lingering issues in the pacman-optimize
      script. FS#11767 provoked this look-over and the following issues were
      noticed and fixed:
      
      * If an alternate dbroot was specified, then the lockfile location was never
        updated to reflect it. The lockfile location is now set after all dbpath
        initialization.
      * The inclusion of a trailing slash on dbroot was problematic and led to the
        following command being executed:
          bsdtar -xpf /tmp/pacman-optimize.p12Q4vAUWY/pacman-db.tar.gz \
      	  -C /var/lib/pacman/.new/
        It is doubtful we meant to create a hidden directory like this below our
        database root, only to go and delete it a second later and then
        re-extract. Fix the whole thing by ensuring our dbpath has its trailing
        slash stripped and then appending it when necessary.
      * The DB extraction was performed twice for no real apparent reason. This
        opens the door for extraction problems the second time around, leaving you
        with no original database to fall back to. Change the behavior so we only
        extract once, and then perform a directory shuffle once we verify the
        checksums are correct.
      * Perform an explicit sync after we drop the new database on the disk. It
        should work better this way.
      * Tighten up our check for a pacman lockfile and the time we create one.
        There is still a possible race condition but the window is shorter.
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      a63aeed5
    • Lyman Li's avatar
      Update Chinese translation · 2f5d7927
      Lyman Li authored
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      2f5d7927
    • Allan McRae's avatar
      makepkg: fix updating PKGBUILD when building SCM packages · 1e656c0a
      Allan McRae authored
      
      Fixes a bug and resets pkgrel to 1 when bumping pkgver
      
      Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      1e656c0a
  12. Oct 19, 2008
Loading