Skip to content
dynamis edited this page Apr 11, 2018 · 3 revisions

IPK 形式のパッケージについて

Yocto で bitbake するとビルドイメージだけでなく build/tmp/deploy/ipk にソフトウェアの ipk ファイルができ、そのボード向けの (ターゲットアーキテクチャが一致するのであれば他のボードでも) 追加ソフトウェアとしてこちらを配付することも可能。勿論 conf/bblayers.conf と conf/local.conf などでビルド対象に含めておいてイメージに含めるのが良いが、後で追加したいときは opkg install <ipk-file> することがある。このページではよく使う追加パッケージに関するメモ

nodejs (node & npm)

# install nodejs_<version>_<targetarch>.ipk
opkg install nodejs_6.10.3-r1.8_coretexa7hf-vfp-neon.ipk
# install python-*_<version>_<targetarch>.ipk
opkg install python-compiler_2.7.9-r1_coretexa7hf-vfp-neon.ipk

opkg install python-mmap_2.7.9-r1_coretexa7hf-vfp-neon.ipk
opkg install python-ctypes_2.7.9-r1_coretexa7hf-vfp-neon.ipk
opkg install python-multiprocessing_2.7.9-r1_coretexa7hf-vfp-neon.ipk

opkg install python-shell_2.7.9-r1_coretexa7hf-vfp-neon.ipk
opkg install python-misc_2.7.9-r1_coretexa7hf-vfp-neon.ipk

opkg install python-fcntl_2.7.9-r1_coretexa7hf-vfp-neon.ipk
opkg install python-subprocess_2.7.9-r1_coretexa7hf-vfp-neon.ipk

# install node-npm_<version>_<targetarch>.ipk
opkg install node-npm_6.10.3-r1.8_coretexa7hf-vfp-neon.ipk

git

# install libcurl4_<version>_<targetarch>.ipk
opkg install libcurl4_7.44.0-r0_coretexa7hf-vfp-neon.ipk
# install git_*.ipk
opkg install git_2.5.0-r0_coretexa7hf-vfp-neon.ipk

nano

# install ncurses-teminfo_<version>_<targetarch>.ipk
opkg install ncurses-teminfo_5.9-r15.1_coretexa7hf-vfp-neon.ipk
# install nano_*.ipk
opkg install nano_2.2.5-r3.0_coretexa7hf-vfp-neon.ipk