我正在使用 beagleboard-xm,并使用 buildroot 创建了 rootfs,添加了opkg 包。现在,我想在 angstrom 中添加一些包,所以我在 /etc/opkg/base-feed.conf 中添加 opkg 更新源...</p>
src/gz base http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base/
“opkg update”命令报告许多错误消息“没有有效的体系结构,忽略。”
[root@beagleboard-xm ~]# opkg-cl update
Downloading http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base//Packages.gz.
Collected errors:
* pkg_hash_add_from_file: Package a52dec-doc version 0.7.4-r4.7 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package a52dec version 0.7.4-r4.7 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-dev version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-doc version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-meta version 2.8.6-r7.17 has no valid architecture, ignoring.
* pkg_hash_add_from_file: Package abiword-plugin-applix version 2.8.6-r7.17 has no valid architecture, ignoring.
......
然后我手动下载包,并将其解压缩为这个链接,并复制到 beagleboard-xm。运行时报“No such file or directory”</p>
[root@beagleboard-xm ~]# fbi
-bash: /usr/bin/fbi: No such file or directory
但是在这个链接中,opkg 可以安装自己构建的 ipk 包。ipk控制文件有什么不同吗?
为什么程序在埃中运行正常,但在buildroot系统中无法运行?
我得到它。当我添加“/etc/opkg/arch.conf”时,似乎没问题。