From 59e8e3f76d0c59228d934102766a315470c55c42 Mon Sep 17 00:00:00 2001 From: Aayushmaan Date: Sun, 29 Mar 2026 21:42:38 +0530 Subject: [PATCH 1/2] fix(docs/cli): Replace broken RPM repo with GitHub Releases for Fedora/RHEL The RPM package registry at https://rpm.pkg.kraftkit.sh is no longer available (returns 404). Replace the broken yum .repo configuration with instructions to download the latest kraft RPM directly from GitHub Releases, which is the currently working distribution method. The Debian/Ubuntu GPG key URL (https://deb.pkg.kraftkit.sh/gpg.key) is already correct and functional. Fixes #194 --- content/docs/cli/install.mdx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/content/docs/cli/install.mdx b/content/docs/cli/install.mdx index 095e9ba6..b8e72f3e 100644 --- a/content/docs/cli/install.mdx +++ b/content/docs/cli/install.mdx @@ -94,22 +94,17 @@ sudo apt-get install kraftkit ## Fedora/RHEL We recommend installing KraftKit using the interactive method described above. -However, you can also directly add our remote RPM package registry entry. +However, you can also download the latest `kraft` RPM package for your +architecture directly from GitHub Releases: -First add new entry for `kraftkit` in `/etc/yum.repos.d/kraftkit.repo`: +https://github.com/unikraft/kraftkit/releases/latest -```toml -[kraftkit] -name=KraftKit Repo -baseurl=https://rpm.pkg.kraftkit.sh -enabled=1 -gpgcheck=0 -``` +For example, to install on an `x86_64` system: -Then run: ```bash -yum makecache -yum install -y kraftkit +KRAFTKIT_VERSION=$(curl -s https://api.github.com/repos/unikraft/kraftkit/releases/latest | grep '"tag_name"' | sed 's/.*"tag_name": "\(.*\)".*/\1/') +curl -LO "https://github.com/unikraft/kraftkit/releases/download/${KRAFTKIT_VERSION}/kraftkit_${KRAFTKIT_VERSION#v}_linux_amd64.rpm" +sudo rpm -i "kraftkit_${KRAFTKIT_VERSION#v}_linux_amd64.rpm" ``` From 900f24d34735c3e72405319db2a7a9544ba11124 Mon Sep 17 00:00:00 2001 From: Aayushmaan Date: Sun, 29 Mar 2026 22:25:35 +0530 Subject: [PATCH 2/2] docs: fix broken Linux GPG key install link and add usage-install redirect --- content/docs/cli/install.mdx | 4 ++++ next-redirect.js | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/content/docs/cli/install.mdx b/content/docs/cli/install.mdx index b8e72f3e..8e2d6f95 100644 --- a/content/docs/cli/install.mdx +++ b/content/docs/cli/install.mdx @@ -76,6 +76,10 @@ curl -fsSL https://deb.pkg.kraftkit.sh/gpg.key | \ sudo gpg --dearmor -o /etc/apt/keyrings/unikraft.gpg ``` +If you are following older instructions and see a `522` error for +`https://releases.unikraft.org/linux/gpg`, use +`https://deb.pkg.kraftkit.sh/gpg.key` instead. + Use the following command to set up the APT repository: ```console diff --git a/next-redirect.js b/next-redirect.js index a1d89de2..db452fee 100644 --- a/next-redirect.js +++ b/next-redirect.js @@ -61,6 +61,11 @@ async function redirect() { destination: '/docs/internals/architecture', permanent: true, }, + { + source: '/docs/usage/install', + destination: '/docs/cli/install', + permanent: true, + }, { source: '/docs/concepts/architecture', destination: '/docs/internals/architecture',