From 644bc4e9d8ec942f6d41ea8ba1f89b2b07ba318c Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Wed, 3 Apr 2024 12:10:33 +0800 Subject: [PATCH] feat: add Slackwareloong instructions --- content/_index.md | 1 + content/docs/usage.md | 24 ++++++++++++ data/icons.yaml | 87 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+) diff --git a/content/_index.md b/content/_index.md index a82aea8..2952d5d 100644 --- a/content/_index.md +++ b/content/_index.md @@ -16,6 +16,7 @@ libLoL (LoongArch on LoongArch) 是一款用于提供旧世界 ABI 兼容性的 {{< card link="/docs/usage/#debian" title="Debian" icon="debian" >}} {{< card link="/docs/usage/#gentoo" title="Gentoo" icon="gentoo" >}} {{< card link="/docs/usage/#loong-arch-linux" title="Loong Arch Linux" icon="archlinux" >}} +{{< card link="/docs/usage/#slackwareloong" title="Slackwareloong" icon="slackware" >}} {{< /cards >}} ### 常用链接 diff --git a/content/docs/usage.md b/content/docs/usage.md index 2494fd3..1cd0b01 100644 --- a/content/docs/usage.md +++ b/content/docs/usage.md @@ -114,6 +114,30 @@ sudo pacman -S la_ow_syscall-dkms liblol 其中带有 `local` 字样的目录可供用户自助放置一些库文件,以便绕过个别应用所存在的问题。 +### Slackwareloong + +Slackwareloong 在 SlackBuilds 软件仓库提供 libLoL,使用如下命令即可安装: + +```bash +slackpkg install liblol + +``` + +加载 la_ow_syscall 内核模块,若没有此模块请更新内核 + +```bash +insmod /lib/modules/`uname -r`/kernel/arch/loongarch/ow_syscall/la_ow_syscall.ko +``` + +由于不同发行版的目录布局各异,不同发行版上的 libLoL 库搜索路径之间也存在不同。Slackwareloong 上 libLoL 的库搜索路径如下: + +|加载阶段|路径(从上到下顺序搜索)| +|:------:|:---| +|优先|| +|正常|| + +其中带有 `local` 字样的目录可供用户自助放置一些库文件,以便绕过个别应用所存在的问题。 + ## 安装应用 您可在[龙芯应用合作社](http://app.loongapps.cn/#/home)或其他分发渠道下载和安装旧世界应用。 diff --git a/data/icons.yaml b/data/icons.yaml index d3fcd8f..00dba59 100644 --- a/data/icons.yaml +++ b/data/icons.yaml @@ -658,3 +658,90 @@ archlinux: > gentoo: > +slackware: > + + + + + + + + + + + + + + + + + + \ No newline at end of file