Skip to content

Commit

Permalink
Try with yum
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Nov 1, 2024
1 parent 7792aea commit 431bf14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-targz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function build() {
echo "##[section] Make sure /dev is created before later mount"
mkdir -m 0755 "${TMPDIR}"/dist/dev

echo "##[section] Use mock to initialise chroot filesystem"
mock --root="fedora-${version_id}-${arch}" --init --dnf --forcearch="${arch}" --rootdir="${TMPDIR}"/dist
echo "##[section] Use mock to initialie chroot filesystem"
mock --root="fedora-${version_id}-${arch}" --init --yum --forcearch="${arch}" --rootdir="${TMPDIR}"/dist

echo "##[section] Bind mount current /dev to new chroot/dev"
# (fixes '/dev/null: Permission denied' errors)
Expand Down

0 comments on commit 431bf14

Please sign in to comment.