fix: add zstd package in essential hooks#112
fix: add zstd package in essential hooks#112RadxaYuntian merged 1 commit intoRadxaOS-SDK:mainfrom imguoguo:install-zstd-in-essential-hooks
Conversation
fix `/usr/sbin/dkms: line 1154: zstd: command not found` log: https://github.com/radxa-build/radxa-dragon-q6a/actions/runs/18756108590/job/53508440534#step:3:11638
|
No linked issues found. Please add the corresponding issues in the pull request description. |
|
CI挂了,你确认一下dkms日志是为什么报错 |
我检查了一下日志: 猜测是旧版内核构建到没受支持的 dtso 文件导致的?github action test 的时候给测试的 yaml 加了 CONFIG_ARCH_QCOM=n 来成功构建了,但是构建镜像时不会使用这个参数,会继续尝试构建 qcom 的 dtbo |
|
看看那些内核是不是有开CONFIG_ARCH_QCOM。也许overlay那边还需要加上内核版本的条件编译? |
我检查了一下 Radxa-zero-2pro 的内核是有开 CONFIG_ARCH_QCOM 的,另外再仔细检查了一下,猜测是:对于新版内核来说,我们有 dts 复制到 dtso 的操作,所以新版内核可以直接用 dtso 构建出 dtbo ,旧版内核没有 dtso 的支持,脚本也没有 dtso 复制到 dts ,所以no rule to make target。 同时,dtso 的支持是在这个 commit 被引入的: https://github.com/torvalds/linux/blob/363547d2191cbc32ca954ba75d72908712398ff2/scripts/Makefile.lib#L411 |
|
是的,所以看看怎么在makefile里面检查linux内核版本 |
fix
/usr/sbin/dkms: line 1154: zstd: command not foundlog: https://github.com/radxa-build/radxa-dragon-q6a/actions/runs/18756108590/job/53508440534#step:3:11638