2
我最近一直在嘗試從主機上爲主機上qemu上運行的yocto distrib建立一個包飼料。Yocto apt config sources.list
我加入作爲告知「容易」的IMAGE_INSTALL並在EXTRA_FEATURE
然後我設置好的使用以下的配置一個Apache 2 http服務器添加的包同治:
Alias /deb ~/yocto/build-qemuarm/tmp-glibc/deploy/deb
<Directory "~/yocto/build-qemuarm/tmp-glibc/deploy/deb">
Options +Indexes
</Directory>
然後我試着沒有成功設置目標(qemu)上的sources.list
我查看了互聯網,但沒有辦法找到apt設置的具體示例,僅適用於ipk/rpm。我看不到如何設置強制套件選項和組件。
這裏是部署/ DEB迪爾沒有所有的* .dev軟件包列表:
tree -I *.deb
.
--- all
| Packages
| Packages.gz
| Release
--- armv5te
| Packages
| Packages.gz
| Release
--- qemuarm
| Packages
| Packages.gz
| Release
這裏是我的sources.list到現在:
deb http://192.168.7.1:8000/all all all
這裏是日誌apt-get的更新:
[email protected]:/etc/apt/sources.list.d# apt-get update
Ign http://192.168.7.1:8000 all InRelease
Ign http://192.168.7.1:8000 all Release.gpg
Ign http://192.168.7.1:8000 all Release
Err http://192.168.7.1:8000 all/all armel Packages
404 File not found
Ign http://192.168.7.1:8000 all/all Translation-en
W: Failed to fetch http://192.168.7.1:8000/all/dists/all/all/binary-armel/Packages 404 File not found
E: Some index files failed to download. They have been ignored, or old ones used instead.
[email protected]:/etc/apt/sources.list.d# apt-get update
Err http://192.168.7.1:8000 all InRelease
Err http://192.168.7.1:8000 all Release.gpg
Unable to connect to 192.168.7.1:8000:
Reading package lists... Done
W: Failed to fetch http://192.168.7.1:8000/all/dists/all/InRelease
W: Failed to fetch http://192.168.7.1:8000/all/dists/all/Release.gpg Unable to connect to 192.168.7.1:8000:
W: Some index files failed to download. They have been ignored, or old ones used instead.
我想爲我的sources.list:
deb http://192.168.7.1:8000 all
不過的了:
E: Malformed line 1 in source list /etc/apt/sources.list.d/oe.list (dist parse)
E: The list of sources could not be read.
所以,如果有人得到了更多的Debian軟件包經驗比我,和/或已經嘗試做同樣的我,我會很高興喲有一些線索。
感謝,