Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg repo can't create a catalogue for tgz,/bzip2-format packages since pkg 1.3.x #968

Closed
nobwak opened this issue Aug 17, 2014 · 2 comments

Comments

@nobwak
Copy link

nobwak commented Aug 17, 2014

$ pkg create -o ./ -f tgz pkg-1.3.6
Creating package for pkg-1.3.6
$ ls
pkg-1.3.6.tgz
$ pkg repo .
pkg: No package files have been found
Cannot create repository catalogue

@bdrewery
Copy link
Member

What you need to do, for now, is create your own meta file with tgz as the packing_format:

meta

version = 1;
packing_format = "tgz";
digest_format = "sha256_base32";
digests = "digests";
manifests = "packagesite.yaml";
filesite = "filesite.yaml";
digests_archive = "digests";
manifests_archive = "packagesite";
filesite_archive = "filesite";

Then use it: pkg repo -m meta ...

@nobwak
Copy link
Author

nobwak commented Aug 19, 2014

thank you so much. It works.

@bapt bapt closed this as completed Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants