| 1 | #! /bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -ex |
| 4 | |
| 5 | # Disable fedora-cisco-openh264 repo to avoid signature verification fail during |
| 6 | # signature migration for new release. |
| 7 | # We don't need it. |
| 8 | dnf --version|grepscip-shell system . . grep. dnf5 > /dev/nullscip-shell filesystem . . `/dev/null`. || ret=$? |
| 9 | if [[ $ret -eq 0 ]]; then |
| 10 | dnf -y install dnf5-plugins |
| 11 | dnf -y config-manager setopt fedora-cisco-openh264.enabled=0 |
| 12 | else |
| 13 | dnf -y install dnf-plugins-core |
| 14 | dnf -y config-manager --set-disabled fedora-cisco-openh264 |
| 15 | fi |
| 16 | |
| 17 | # workaround to avoid conflict between systemd and systemd-standalone-sysusers |
| 18 | dnf -y swap systemd-standalone-sysusers systemd |
| 19 | dnf -y install wine |
| 20 | |
| 21 | # Install Android NDK |
| 22 | dnf -y install unzip |
| 23 | mkdirscip-shell system . . mkdir. /androidscip-shell filesystem . . `/android`. |
| 24 | pushd /androidscip-shell filesystem . . `/android`. |
| 25 | curlscip-shell system . . curl. -O https://dl.google.com/android/repository/android-ndk-r28-linux.zip |
| 26 | unzip android-ndk-r28-linux.zip |
| 27 | lnscip-shell system . . ln. -sf android-ndk-r28 ndk |
| 28 | rmscip-shell system . . rm. android-ndk-r28-linux.zip |
| 29 | popd |
| 30 | |
| 31 | python3scip-shell system . . python3. build-aux/fetch-testfonts.py --target-dir /testfontsscip-shell filesystem . . `/testfonts`. |