Skip to content

Instantly share code, notes, and snippets.

@dlintw
Created February 18, 2014 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlintw/9065260 to your computer and use it in GitHub Desktop.
Save dlintw/9065260 to your computer and use it in GitHub Desktop.
test build duckbox-max-tdt + suzuke kernel patch
# log 格式說明, # 為註解, 其他為 root 執行之指令, 有縮排為執行之結果
docker pull dlin/ubuntu-duckbox
docker run -t -i -v /Archive:/Archive dlin/ubuntu-duckbox /bin/bash
#進入 docker 之後
cd /pdk7105-tdt/tdt/cvs/cdk
git pull && git checkout pdk7150
make -j$((`nproc` + 1)) yaud-xbmc-nightly
# 這動作約須 1:45 分 2.8G * 2 core AMD CPU, 出現提示後按 Ctrl-C 中斷
# 打算修正這問題, 先把目前 container 狀態存檔(假定存為 d:bef_xbmc)
docker ps root@u40 /home/dlin$
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ba5f6d5fe7e4 dlin/ubuntu-duckbox:latest /bin/bash About an hour ago Up About an hour suspicious_newton
docker commit ba5f d:bef_xbmc
2f23a39c55fb9c11dbd4fff6ec3d3cf9546825c01a0f4fd0140214dd2576a639
# patch 放在 https://github.com/dlintw/pdk7105-tdt/tree/pdk7105, 但仍無法正確編譯
Making all in .
make[3]: Entering directory `/pdk7105-tdt/tdt/cvs/cdk/libnfs-c0ebf57b21'
make[3]: Leaving directory `/pdk7105-tdt/tdt/cvs/cdk/libnfs-c0ebf57b21'
make[2]: Leaving directory `/pdk7105-tdt/tdt/cvs/cdk/libnfs-c0ebf57b21'
make[1]: Leaving directory `/pdk7105-tdt/tdt/cvs/cdk/libnfs-c0ebf57b21'
make install DESTDIR=/pdk7105-tdt/tdt/tufsbox/cdkroot
make[1]: Entering directory `/pdk7105-tdt/tdt/cvs/cdk'
make[2]: Entering directory `/pdk7105-tdt/tdt/cvs/cdk'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/pdk7105-tdt/tdt/cvs/cdk'
make[1]: Leaving directory `/pdk7105-tdt/tdt/cvs/cdk'
cp -r libnfs-c0ebf57b21/include/nfsc /pdk7105-tdt/tdt/tufsbox/host/../cdkroot/usr/include/
cp: cannot stat `libnfs-c0ebf57b21/include/nfsc': No such file or directory
make: *** [.deps/libnfs] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment