diff options
| author | Jeff Carr <[email protected]> | 2025-10-10 15:37:03 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-10 16:29:37 -0500 |
| commit | 69c9e0b5ee9a25baa422c4bd7fc43883e9f96333 (patch) | |
| tree | 211a45279a69ebd1a255ee07611d3636505742d1 | |
| parent | 01a3360487faf0a665316f112f73a4caff6ea028 (diff) | |
start work on dumping the DebInfo pb msg
| -rw-r--r-- | mirrorsSupport.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mirrorsSupport.go b/mirrorsSupport.go index 3baa76e..9001231 100644 --- a/mirrorsSupport.go +++ b/mirrorsSupport.go @@ -33,8 +33,10 @@ func (pb *Packages) MakeDists() (string, error) { log.Printf("arch all found %5d packages. %s err=(%v)\n", archpb.Len(), filepath.Join(pb.BaseDir, s), err) archpb, s, err = pb.doNormalArch("riscv64") log.Printf("arch riscv64 found %5d packages. %s err=(%v)\n", archpb.Len(), filepath.Join(pb.BaseDir, s), err) - archpb, s, err = pb.doNormalArch("amd64") - log.Printf("arch amd64 found %5d packages. %s err=(%v)\n", archpb.Len(), filepath.Join(pb.BaseDir, s), err) + + // archpb, s, err = pb.doNormalArch("amd64") + // log.Printf("arch amd64 found %5d packages. %s err=(%v)\n", archpb.Len(), filepath.Join(pb.BaseDir, s), err) + // archpb, s, err = pb.doNormalArch("arm64") // log.Printf("arch arm64 found %5d not as cool as riscv packages. msg='%s' err=(%v)\n", archpb.Len(), s, err) @@ -112,6 +114,7 @@ func (pb *Packages) MakePackageFile(packageDir string, arch string) (*Packages, log.Info("Adding package", debPB.Filename) } debPB.writeDebInfo(&data) + fmt.Fprintf(&data, "\n") } // write out the "Packages" file @@ -125,6 +128,8 @@ func (pb *Packages) MakePackageFile(packageDir string, arch string) (*Packages, return matcharch, fullname, err } + log.Info(data.String()) + /* // Create "Packages.gz" if err := compressFile(filepath.Join(fullfile, "Package.gz"); err != nil { |
