我有一个使用 buildroot 构建的文件系统,用于使用旧内核和 uClibc 为设备编译代码。
现在我想chroot
进fs。问题是,我没有/bin/bash
,只是/bin/busybox
。
我怎么说要使用 chrootbusybox ash
来代替?
我已经尝试创建到 的链接busybox ash
,但 chroot 仍然显示failed to run command /bin/bash. no such file or directory
.
chroot /path/to/fs /bin/ash
Run Code Online (Sandbox Code Playgroud)
有关详细信息,请参阅chroot
手册页。
归档时间: |
|
查看次数: |
10507 次 |
最近记录: |