![如何產生自訂內核的linux-tools套件?](https://rvso.com/image/1083720/%E5%A6%82%E4%BD%95%E7%94%A2%E7%94%9F%E8%87%AA%E8%A8%82%E5%85%A7%E6%A0%B8%E7%9A%84linux-tools%E5%A5%97%E4%BB%B6%EF%BC%9F.png)
如何使用 Ubuntu 建置腳本來產生linux-tools
並linux-cloud-tools
打包自訂核心?
嘗試新增 do_tools=true
生成
linux-tools-3.14.17-generic_3.14.17_amd64.deb
但沒有產生上面需要的基礎包
linux-tools-3.14.17_3.14.17_amd64.deb
所以還是無法安裝。
答案1
您正在尋找的建置目標是binary-perarch
:
$ fakeroot debian/rules binary-headers binary-generic binary-perarch skipmodule=true
有點相關的連結:
答案2
只需執行
fakeroot debian/rules binary
這將創建全部debs 的一部分,包括工具、雲端工具、低延遲核心等。