pungi-rocky/night.sh
2021-02-20 22:22:59 -07:00

27 lines
624 B
Bash

#!/bin/bash
export LC_ALL=C
CONFIG="rocky-8.conf"
TARGET_DIR="/mnt/koji/compose/8"
NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg"
DEST=$(pwd)
DATE=$(date "%Y%m%d")
SHORT="Rocky"
RELEASE="8"
RELEASE_TITLE="8"
COMPSFILE="comps-rocky-8.3.xml"
TMPDIR=$(mktemp -d /tmp/rockyrc.$DATE.XXXX)
RSYNCPREFIX="sudo -u syncer"
RSYNCTARGET="/rocky-8-stage/$RELEASE"
LOCATION="https://mirror.rockylinux.org$RSYNCTARGET"
# OSTREE FUTURE
OSTREESRCREPO="/mnt/koji/compose/ostree/repo/"
OSTREEDESTREPO="/mnt/koji/ostree/repo/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
# OSTREE END
# Run pungi?
# Run rsync?