[atomic] Add a script to create ostree repo

This is a wrapper over ostree and rpm-ostree. It is intended to be run
in either Koji or Mock chroot.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-03-21 10:58:36 +01:00
parent 6230b0ff3e
commit 282058dafe
3 changed files with 104 additions and 0 deletions

15
bin/pungi-make-ostree Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
here = sys.path[0]
if here != '/usr/bin':
sys.path.insert(0, os.path.dirname(here))
from pungi import atomic
if __name__ == '__main__':
atomic.main()