Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经构建了我想用来设置 dm-verity 的 initramfs。出于测试目的,我不 switch_root 并且在启动后它停留在 initramfs 中。但是我需要工具veritysetup。我已将它预编译并复制到 initramfs 上的 /usr/sbin,但是当我在平台上运行它时,它显示 - /bin/sh: /usr/sbin/veritysetup: not found。任何想法如何使其执行?
/bin/sh: /usr/sbin/veritysetup: not found
是的,我已经做到了。作为提示,让我先给出一个简单的线索。要使 veritysetup 命令在您的 initramfs 中工作,您还需要将所有依赖库(相同架构)复制到 initramfs 内的 libs 文件夹中。