Skip to content

Commit

Permalink
create dnf repos dir before configuring new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Jun 24, 2023
1 parent 8e78ff0 commit 4a23293
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ name = jpalus
path = http://jpalus.fastmail.com.user.fm/dists/th/PLD/$ARCH/RPMS/
signed = yes
EOF
if [ ! -e "$CHROOT_DIR/etc/dnf/repos.d" ]; then
run_log_priv "Creating /etc/dnf/repos.d directory" mkdir -p "$CHROOT_DIR/etc/dnf/repos.d"
fi
run_log_priv "Configuring custom dnf repository" tee "$CHROOT_DIR/etc/dnf/repos.d/jpalus.repo" <<EOF
[jpalus]
name=PLD Linux ARM
Expand Down

0 comments on commit 4a23293

Please sign in to comment.