aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrijesh Singh <brijesh.singh@amd.com>2019-02-21 12:11:58 -0500
committerBrijesh Singh <brijesh.singh@amd.com>2019-02-21 12:11:58 -0500
commit4bbf7fcd67ebe63eb02a583c92e7ba8a12d81579 (patch)
treeda85ac40543a171cf2f778061291fd3779bb8c1e
parentfa5221019411bbf109d56b04fab571505e2f9f31 (diff)
downloadcachepc-amdsev-4bbf7fcd67ebe63eb02a583c92e7ba8a12d81579.tar.gz
cachepc-amdsev-4bbf7fcd67ebe63eb02a583c92e7ba8a12d81579.zip
add script for Fedora-29
-rw-r--r--distros/fedora-29/build.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/distros/fedora-29/build.sh b/distros/fedora-29/build.sh
new file mode 100644
index 0000000..76777b1
--- /dev/null
+++ b/distros/fedora-29/build.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+. ../common.sh
+
+run_cmd "cp ../launch-qemu.sh /usr/local/bin"
+
+# fix the path
+sed -i 's|QEMU_INSTALL_DIR=/usr/local/bin/|QEMU_INSTALL_DIR=""|' /usr/local/bin/launch-qemu.sh
+sed -i 's|UEFI_BIOS_CODE="/usr/local/share/qemu/OVMF_CODE.fd"|UEFI_BIOS_CODE=/usr/share/edk2/ovmf/OVMF_CODE.fd|' /usr/local/bin/launch-qemu.sh