git: dsynth - Fix repository generation

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 13 19:18:46 PDT 2019


commit cda252a4e610a736cf4a6aebd8e2c5acc1cffec6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 13 19:17:02 2019 -0700

    dsynth - Fix repository generation
    
    * pkg repo generates .txz files no matter what the suffix.  So if the
      suffix is not .txz we have to recompress the results.
    
    * Supply the base path to pkg repo (sans the '/All') so the generated
      yaml properly specififes the relative path "All/blahblah".  Otherwise
      the generated yaml will just generate "blahblah" and rmeote accesses
      wont be able to find the packages.

Summary of changes:
 usr.bin/dsynth/repo.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 55 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cda252a4e610a736cf4a6aebd8e2c5acc1cffec6


-- 
DragonFly BSD source repository


More information about the Commits mailing list