From 6907034b89595a1f70a619f640d1569cf093be8a Mon Sep 17 00:00:00 2001 From: taoky Date: Sun, 15 Sep 2024 15:21:09 +0800 Subject: [PATCH] contents(loongarch): Add Closes: #143 --- contents/loongarch.mdx | 29 +++++++++++++++++++++++++++++ src/routes.json | 6 ++++++ 2 files changed, 35 insertions(+) create mode 100644 contents/loongarch.mdx diff --git a/contents/loongarch.mdx b/contents/loongarch.mdx new file mode 100644 index 00000000..272d4e09 --- /dev/null +++ b/contents/loongarch.mdx @@ -0,0 +1,29 @@ +--- +title: Loong Arch Linux 软件仓库镜像使用帮助 +cname: 'loongarch' +--- + +Loong Arch Linux 是为 LoongArch 架构移植的 ArchLinux 发行版,它遵循 Arch 的 K.I.S.S.原则,采用滚动升级模式,尽力为大多数软件提供最新的稳定版本。 + +Loong Arch Linux 可运行在龙芯 3A5000、3C5000(L)、3D5000 等处理器的机器上。以下帮助修改自 [Loong Arch Linux 镜像列表](https://loongarchlinux.org/pages/mirrorlist/)。 + +软件包 `pacman-mirrorlist` 提供了预配置好的仓库镜像,您可通过以下命令来安装/升级: + + +```bash +{{sudo}}pacman -Syu pacman-mirrorlist +``` + + +如需调整仓库,请编辑 `/etc/pacman.d/mirrorlist` 文件,对您想使用的镜像取消注释,并将其置于 mirrorlist 文件的最上方。或直接在该文件最顶端添加: + + + +```ini +Server = {{http_protocol}}{{mirror}}/archlinux/$repo/os/$arch +``` + + diff --git a/src/routes.json b/src/routes.json index a257d1aa..6eeec5e1 100644 --- a/src/routes.json +++ b/src/routes.json @@ -533,6 +533,12 @@ "file": "llvm-project.git.mdx", "cname": "llvm-project.git" }, + "/loongarch/": { + "title": "Loong Arch Linux 软件仓库", + "fullTitle": "Loong Arch Linux 软件仓库镜像使用帮助", + "file": "loongarch.mdx", + "cname": "loongarch" + }, "/lxc-images/": { "title": "LXC Images", "fullTitle": "LXC Images 镜像使用帮助",