forked from sig_core/toolkit
missing logic
This commit is contained in:
parent
eefb69361b
commit
44a1cd08b9
@ -104,9 +104,15 @@ for x in "${ARCHES[@]}"; do
|
|||||||
for y in "${MODS[@]}"; do
|
for y in "${MODS[@]}"; do
|
||||||
echo "Modules: ${y} ${x}"
|
echo "Modules: ${y} ${x}"
|
||||||
cp "/mnt/compose/8_metadata/${x}/${y}-modules.yaml" /tmp/modules.yaml
|
cp "/mnt/compose/8_metadata/${x}/${y}-modules.yaml" /tmp/modules.yaml
|
||||||
modifyrepo --mdtype=modules /tmp/modules.yaml \
|
test -d "${COMPOSE_DIR}/${y}/${x}/os"
|
||||||
"${COMPOSE_DIR}/${y}/${x}/os/repodata" \
|
ret_val=$?
|
||||||
--compress --compress-type=gz
|
if [ "$ret_val" -eq 0 ]; then
|
||||||
|
modifyrepo --mdtype=modules /tmp/modules.yaml \
|
||||||
|
"${COMPOSE_DIR}/${y}/${x}/os/repodata" \
|
||||||
|
--compress --compress-type=gz
|
||||||
|
else
|
||||||
|
echo "${COMPOSE_DIR}/${y}/${x}/os does not exist"
|
||||||
|
fi
|
||||||
|
|
||||||
rm /tmp/modules.yaml
|
rm /tmp/modules.yaml
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user