2016-01-01から1年間の記事一覧
.pro ファイルに次の行を書く。 distfiles.path = /assets distfiles.files = $$DISTFILES INSTALLS += distfiles
/etc/pam.d/common-password の次の行を書き換える。 # here are the per-package modules (the "Primary" block) password [success=1 default=ignore] pam_unix.so obscure sha512 ↓ # here are the per-package modules (the "Primary" block) password […
レシピに次の行を追記する。 inherit extrausers EXTRA_USERS_PARAMS = "usermod -P (パスワード) root;" 参考文献 FAQ:How do I set or change the root password - Yocto Project
原因 ファイルに埋め込まれた dpi 値が高いため。 解決策 ファイルの dpi 値を変更する。 FireAlpaca でファイルを開く。 [編集]メニュー>[画像解像度]を開く。 dpi 値を 96 に変更して、[OK]をクリックする。 ファイルを保存する。
http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#ref-tasks-unpack Unpacks the source code into a working directory pointed to by ${WORKDIR}. The S variable also plays a role in where unpacked source files ultimately resid…
原因 connect 関数のシグナル名とスロット名に括弧を付けてなかったため。 × connect(this, SIGNAL( mySignal ), this, SLOT( mySlot )); ○ connect(this, SIGNAL( mySignal() ), this, SLOT( mySlot() ));
方法1 QApplication::setFont() を使う。 QApplication a(argc, argv); QFont f = a.font(); f.setPointSize(f.pointSize() * 2); a.setFont(f);
プロジェクトファイル (.pro) に次の行を記述する。 target.path = /home/user INSTALLS = target
環境 BusyBox 1.22.1 説明 –full-time も –time-style も無いが、-e というオプションがある。 $ ls -e file -rw-rw-r-- 1 user user 0 Tue Feb 9 14:32:45 2016 file
問題 bitbake を実行すると次のエラーが表示される。 ERROR: Function failed: Fetcher failure for URL: 'git://host/repository.git'. Please set a valid SRCREV for url ['SRCREV_default_pn-recipe', 'SRCREV_default', 'SRCREV_pn-recipe', 'SRCREV'] …
http://www.yoctoproject.org/docs/1.6/poky-ref-manual/poky-ref-manual.html#var-GTKIMMODULES_PACKAGES For recipes that inherit the gtk-immodules-cache class, this variable specifies the packages that contain the GTK+ input method modules bei…
http://www.yoctoproject.org/docs/1.6/poky-ref-manual/poky-ref-manual.html#ref-classes-gtk-immodules-cache The gtk-immodules-cache class generates the proper post-install and post-remove (postinst/postrm) scriptlets for packages that instal…
問題 bitbake でイメージをビルドすると、次のエラーが表示される。 ERROR: package not found in the base feeds (arch ...). ... ERROR: Function failed: do_rootfs 原因 レシピの記述に誤りがあって、package.rpm がビルドされていなかった。 package-de…
調べてみたのでメモ。 とりあえず中を見る。 $ cat /etc/pointercal.xinput xinput set-int-prop "USB Touch Screen" "Evdev Axis Calibration" 32 49 6374 173 4591; xinput set-int-prop "USB Touch Screen" "Evdev Axes Swap" 8 0; 書式を調べてみる。 xi…
自分用の alias のメモ。Ubuntu の場合は ~/.bash_aliases に書く。 alias lsrpm='rpm -qpl'
OpenEmbedded ビルドシステムがルートファイルシステムを作成した後に、ポストプロセスコマンドを実行するクラスが追加されます。あなたは、セミコロンで区切られたシェルコマンドを指定することができます。 ROOTFS_POSTPROCESS_COMMAND += "<shell_command>; ... " コマン</shell_command>…
gconf クラスは、GConf スキーマをインストールする必要があるレシピに共通の機能を提供します。スキーマは、このクラスが継承された時に自動的に作成される別のパッケージ (${PN}-gconf) に入れられます。このパッケージは、ターゲットイメージへのスキーマ…
問題 リモートリポジトリをクローンすると次のエラーが発生する。 fatal: early EOF 解決策 内蔵 Git を更新した。(バージョン 1.9.5 → 2.6.1) ツール→オプション→Git→[内蔵 Git を更新]をクリックする。 ダウンロードとインストールが実行される。
問題 プロジェクトの新規作成がディスクフルでエラーになった。 その後、やり直したら「サポートされるプラットフォーム:」に何も表示されなくなった。 解決策 Qt バージョンを再登録する。 ツール>オプション>ビルドと実行>Qt バージョンを開く。 既設の…
The update-rc.d class uses update-rc.d to safely install an initialization script on behalf of the package. update-rc.d クラスは update-rc.d を使い、パッケージに代わって初期化スクリプトを安全にインストールします。 The OpenEmbedded build sy…
Usage: bitbake [options] [recipename/target ...] Executes the specified task (default is 'build') for a given set of target recipes (.bb files). It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which will provide t…