e260fe5581
This a standalone script that will look into a compose and create unified ISO for each architecture. The ISO contains RPM repositories for all variants that have the arch. Known issues: * The filename does not respect settings. This is tricky because the name could include variant name, which we don't have here (by design of unified ISO). * The same is true for volume id. In order to test the feature without running actual compose, we need to add essentially a big chunk of compose. Most of the files are empty, as their content is never accessed. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
19 lines
346 B
Bash
Executable File
19 lines
346 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
PYTHONPATH=$(pwd)/../:$PYTHONPATH
|
|
PATH=$(pwd)/../bin:$PATH
|
|
export PYTHONPATH PATH
|
|
|
|
mkdir -p _composes
|
|
|
|
pungi-koji \
|
|
--target-dir=_composes \
|
|
--old-composes=_composes \
|
|
--config=data/dummy-pungi.conf \
|
|
--test "$@"
|
|
|
|
# Run this to create unified ISOs for the just created compose
|
|
#pungi-create-unified-isos _composes/latest-DP-1/
|