diff options
| author | 2024-11-28 16:31:59 +0200 | |
|---|---|---|
| committer | 2025-02-07 15:06:22 +0100 | |
| commit | b5d377d912dd9cfd48b89e3084d6dd49ed9bbcad (patch) | |
| tree | e02651fd0c494d6afdf7d9f21363fe5e27285794 /uki-editbootconfig.sh | |
| parent | 4b4a83b33f8eff8f7f13f35b61b4f5464ea4444a (diff) | |
| download | kiwi-descriptions-b5d377d912dd9cfd48b89e3084d6dd49ed9bbcad.tar.gz kiwi-descriptions-b5d377d912dd9cfd48b89e3084d6dd49ed9bbcad.zip | |
Initial riscv64 support
Most of the changes are self-explanatory and just follow what's
already happening for existing architectures.
Two things are worth pointing out:
* we need to use shim-unsigned instead of shim-signed because
riscv64 is not fully integrated into Fedora yet and so we
can't do Secure Boot signing for the time being;
* we use ext4 as bootfilesystem since in most cases the
underlying firmware is going to be U-Boot, which needs to be
able to load the board's DTB from /boot and doesn't support
XFS.
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Diffstat (limited to 'uki-editbootconfig.sh')
| -rwxr-xr-x | uki-editbootconfig.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uki-editbootconfig.sh b/uki-editbootconfig.sh index 32cb463..a2e2bcc 100755 --- a/uki-editbootconfig.sh +++ b/uki-editbootconfig.sh @@ -3,8 +3,9 @@ echo "###" "$0" "$@" # set arch-specific variables case "$(uname -m)" in - aarch64) arch="aa64"; ARCH="AA64";; - x86_64) arch="x64"; ARCH="X64";; + aarch64) arch="aa64"; ARCH="AA64";; + riscv64) arch="riscv64"; ARCH="RISCV64";; + x86_64) arch="x64"; ARCH="X64";; esac # figure where shim.efi and BOOT.CSV are located |