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)
Thu, Oct 31, 07:17
Unknown Object (File)
Thu, Oct 31, 01:40
Unknown Object (File)
Thu, Oct 31, 01:23
Unknown Object (File)
Tue, Oct 29, 01:49
Unknown Object (File)
Mon, Oct 28, 05:33
Unknown Object (File)
Sun, Oct 27, 22:51
Unknown Object (File)
Sun, Oct 27, 08:39
Unknown Object (File)
Sat, Oct 26, 02:50
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.