找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 27567|回复: 188

[openwrt(x86)] 给 openwrt 内核添加 binfmt 支持

 火.. [复制链接]
本帖最后由 noreph 于 2020-9-20 11:32 编辑

openwrt 在某些使用场景如跨平台运行 docker 镜像
  1. # docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
复制代码

的时候提示:
  1. No binfmt support in the kernel.

  2.   Try: '/sbin/modprobe binfmt_misc' from the host
复制代码

解决方法是编译 openwrt 时打开内核对 binfmt 的支持:

打开内核配置

$ make kernel_menuconfig

找到 Executable file formats,然后勾选上 Kernel support for MISC binaries,再编译固件即可。



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 1恩山币 +1 收起 理由
Not*** + 1 图片选的好,高手少不了!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
好的,我看看,那完蛋了,自己不会编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看怎么添加
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

编译时打开哪个开关
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

6666666666666666666666
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

好的,我看看,那完蛋了,自己不会编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个是什么 干嘛的

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢分享!看看
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

支持楼主分享~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

1111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢楼主分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
这是你要的膝盖
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

多谢分享!!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看内容,谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 17:41

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表