- バックアップ一覧
- ソース を表示
- バックアップ を表示
- Sota/IntelEdsion版/opkg は削除されています。
- 1 (2015-04-02 (木) 10:36:56)
- 追加された行はこの色です。
- 削除された行はこの色です。
[[Sota/IntelEdsion版]]
#navi
-------------------------------------
#contents
-------------------------------------
*設定 [#a586c6c7]
vi /etc/opkg/base-feeds.conf
以下を追記 [#h86f708f]
src/gz all http://repo.opkg.net/edison/repo/all
src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32
*以下は絶対に追加したらダメ。カーネルモジュール壊れる [#dd18c6e2]
src/gz edison http://repo.opkg.net/edison/repo/edison
**Intelリポジトリの登録 [#racfbdef]
vi /etc/opkg/intel-iotdk.conf
以下を追記
src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic
src intel-all http://iotdk.intel.com/repos/1.1/iotdk/all
src intel-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586
src intel-x86 http://iotdk.intel.com/repos/1.1/iotdk/x86
**パッケージリストのアップデート [#f499c1cb]
opkg update
*インストーラでは以下を実行する [#u8113cf5]
echo "append path"
filepath=/etc/opkg/base-feeds.conf
if [ -e ${filepath} ]; then
hantei=`grep "http://repo.opkg.net/edison/repo/all" ${filepath}`
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src/gz all http://repo.opkg.net/edison/repo/all"
fi
# hantei=`grep "http://repo.opkg.net/edison/repo/edison" ${filepath}`
# echo $hantei
# if [ -z "${hantei}" ]; then
# perl append_bashprofile.pl ${filepath} "src/gz edison http://repo.opkg.net/edison/repo/edison"
# fi
hantei=`grep "http://repo.opkg.net/edison/repo/core2-32" ${filepath}`
echo $hantei
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32"
fi
else
perl append_bashprofile.pl ${filepath} "src/gz all http://repo.opkg.net/edison/repo/all"
perl append_bashprofile.pl ${filepath} "src/gz edison http://repo.opkg.net/edison/repo/edison"
perl append_bashprofile.pl ${filepath} "src/gz core2-32 http://repo.opkg.net/edison/repo/core2-32"
fi
filepath=/etc/opkg/intel-iotdk.conf
if [ -e ${filepath} ]; then
hantei=`grep "http://iotdk.intel.com/repos/1.1/intelgalactic" ${filepath}`
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic"
fi
hantei=`grep "http://iotdk.intel.com/repos/1.1/iotdk/all" ${filepath}`
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src intel-all http://iotdk.intel.com/repos/1.1/iotdk/all"
fi
hantei=`grep "http://iotdk.intel.com/repos/1.1/iotdk/i586" ${filepath}`
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src intel-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586"
fi
hantei=`grep "http://iotdk.intel.com/repos/1.1/iotdk/x86" ${filepath}`
if [ -z "${hantei}" ]; then
perl append_bashprofile.pl ${filepath} "src intel-x86 http://iotdk.intel.com/repos/1.1/iotdk/x86"
fi
else
perl append_bashprofile.pl ${filepath} "src intel-iotdk http://iotdk.intel.com/repos/1.1/intelgalactic"
perl append_bashprofile.pl ${filepath} "src intel-all http://iotdk.intel.com/repos/1.1/iotdk/all"
perl append_bashprofile.pl ${filepath} "src intel-i586 http://iotdk.intel.com/repos/1.1/iotdk/i586"
perl append_bashprofile.pl ${filepath} "src intel-x86 http://iotdk.intel.com/repos/1.1/iotdk/x86"
fi
echo "opkg update"
opkg update