
.deb
幾個月前我已經成功編譯了linux原始碼並內建其中。流程大致是這樣的:
- 將現有設定檔複製到目前資料夾(例如:cp /boot/config-xxxxx-generic .config)
- 製作選單配置
- make -j4 deb-pkg LOCALVERSION=-custom
....那麼編譯需要很長時間
最近,我在第3步失敗。
make[2]: *** [debian/rules:7: build-arch] Error2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make[1]: *** [scripts/Makefile.package:77: deb-pkg] Error 2
我發現了一些類似的問題,並表明問題出在設定檔中。我也嘗試過生成配置文件make oldconfig
但仍然失敗。
有人知道如何解決嗎?
PS1。在我模糊的記憶中,幾個月前,我需要禁用某些東西.config
才能成功建立它。我不確定我到底掩蓋了什麼,這是否與問題有關。
PS2。我複製的設定檔非常接近5.13
先致謝!