「Debian活用/Yocto設定」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
32行目: 32行目:
$ bitbake-config-build enable-fragment core/yocto/root-login-with-empty-password
$ bitbake-config-build enable-fragment core/yocto/root-login-with-empty-password
$ bitbake core-image-minimal
$ bitbake core-image-minimal
$ runqemu snapshot
</nowiki>
</nowiki>

2026年7月26日 (日) 14:41時点における版

概要

設定

準備

$ sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 libc
$ locale --all-locales | grep en_US.utf8
$ sudo dpkg-reconfigure locales

$ git clone https://git.openembedded.org/bitbake
$ ./bitbake/bin/bitbake-setup init

※「./bitbake/bin/bitbake-setup init」を非対話で設定

$ bitbake-setup init --non-interactive poky-wrynose poky distro/poky machine/qemuarm64

ビルド

$ source poky-master/build/init-build-env
$ bitbake-config-build list-fragments
$ bitbake-config-build enable-fragment core/yocto/root-login-with-empty-password
$ bitbake core-image-minimal
$ runqemu snapshot