如何设置烤面包机 yocto 本地设置
how to setup the toaster yocto local setup
我尝试了很多方法来设置yocto toaster local set-up
,但我没有完成。请告诉过程如何设置本地 yocto 烤面包机设置。
我观察到,每次当我编译经过修改的食谱时,在网络界面中,toaster
从网络搜索 rcipe 并进行 git 硬重置然后编译,所以我不需要网络我需要使用 local repo
.
编译所有食谱的界面
转到 poky/bitbake/lib/toaster/bldcontrol
并打开文件 localhostbecontroller.py
,然后搜索 git reset --hard
。
从文件中删除单词 --hard
。那么它应该如下所示
self._shellcmd('git fetch --all && git reset "%s"' % ref, localdirname)
之后您可以重新启动烤面包机。
我尝试了很多方法来设置yocto toaster local set-up
,但我没有完成。请告诉过程如何设置本地 yocto 烤面包机设置。
我观察到,每次当我编译经过修改的食谱时,在网络界面中,toaster
从网络搜索 rcipe 并进行 git 硬重置然后编译,所以我不需要网络我需要使用 local repo
.
转到 poky/bitbake/lib/toaster/bldcontrol
并打开文件 localhostbecontroller.py
,然后搜索 git reset --hard
。
从文件中删除单词 --hard
。那么它应该如下所示
self._shellcmd('git fetch --all && git reset "%s"' % ref, localdirname)
之后您可以重新启动烤面包机。