Debian活用/Yocto設定

提供: Medeshima wiki
< Debian活用
2026年7月27日 (月) 08:00時点におけるHosakino (トーク | 投稿記録)による版 (→‎設定)
ナビゲーションに移動 検索に移動

概要

設定

Wrynose

$ 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/bin/bitbake-setup init --non-interactive poky-wrynose poky distro/poky machine/qemuarm64

$ source bitbake-builds/poky-wrynose/build/init-build-env
$ bitbake-config-build list-fragments
$ bitbake-config-build enable-fragment core/yocto/root-login-with-empty-password

Raspberry Pi用の設定

$ git clone -b wrynose https://git.yoctoproject.org/meta-raspberrypi ../layers/meta-raspberrypi
$ bitbake-layers add-layer ../layers/meta-raspberrypi
$ bitbake-config-build enable-fragment machine/raspberrypi4-64

conf/local.conf

LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"

$ bitbake core-image-sato
$ runqemu snapshot