Page MenuHomeDevCentral

Create repository directory and provide build instructions
ClosedPublic

Authored by dereckson on Mar 30 2018, 19:42.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 24, 13:41
Unknown Object (File)
Fri, Nov 22, 10:37
Unknown Object (File)
Thu, Nov 21, 04:57
Unknown Object (File)
Sun, Nov 17, 22:04
Unknown Object (File)
Fri, Nov 15, 16:11
Unknown Object (File)
Fri, Nov 15, 05:56
Unknown Object (File)
Fri, Nov 15, 05:39
Unknown Object (File)
Thu, Nov 14, 21:37
Subscribers
None

Details

Summary

The Makefile allows to clean or generate the package metadata.

Test Plan

cd /var/repo && sudo -u builder make clean all

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
$ salt-call --local state.apply roles/freebsd-repo
[…]
          ID: /var/repo/Makefile
    Function: file.managed
      Result: True
     Comment: File /var/repo/Makefile updated
     Started: 19:40:19.627520
    Duration: 97.707 ms
     Changes:
              ----------
              diff:
                  New file
              mode:
                  0644

Summary for local
------------
Succeeded: 6 (changed=1)
Failed:    0
------------
Total states run:     6
Total run time: 155.436 ms

$ cd /var/repo

$ sudo -u builder make clean
rm -f digests.txz meta.txz packagesite.txz

$ sudo -u builder make clean all
rm -f digests.txz meta.txz packagesite.txz
pkg repo . /usr/local/etc/freebsd-pkg-repo/key/repo.key
Creating repository in .: 100%
Packing files for repository: 100%
This revision is now accepted and ready to land.Mar 30 2018, 19:55
This revision was automatically updated to reflect the committed changes.