繼續報告後續詳細測試結果
執行
- 代碼: 選擇全部
make-kpkg buildpackage -rev Custom.1 kernel_image
由於訊息顯示value 不同,所以我試著將Custom.1改成custom-1
結果可以編譯 ,不過到最後有錯誤 另外再試把 -rev Custom.1去掉
用make-kpkg buildpackage kernel_image
結果也是可以,不過也是跟之前的改成custom-1的錯誤類似
- 代碼: 選擇全部
---前面很多,所以貼最後不一樣的...---
dpkg-deb: building package `kernel-headers-2.4.18' in `../kernel-headers-2.4.18_2.4.18.custom-1_i386.deb'.
rm -rf debian/tmp-headers
touch stamp-headers
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
dpkg-genchanges -mUnknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: warning: package kernel-image-2.4.18 in control file but not in files list
dpkg-genchanges: error: cannot open .dsc file ../kernel-source-2.4.18_2.4.18.custom-1.dsc: No such file or directory
make: *** [stamp-buildpackage] Error 2
然後產生了下列幾個檔(下面是去掉-rev Custom.1編譯後所產生的)
- 代碼: 選擇全部
kernel-source-2.4.18-custom_2.4.18.custom-1_i386.changes
kernel-doc-2.4.18_2.4.18.custom-1_all.deb
kernel-headers-2.4.18_2.4.18.custom-1_i386.deb
kernel-source-2.4.18_2.4.18.custom-1_all.deb
kernel-source-2.4.18-custom_2.4.18.custom-1.dsc
kernel-source-2.4.18-custom_2.4.18.custom-1.tar.gz
而去掉-rev Custom.1跟將-rev Custom.1改成-rev custom-1兩個方法在編譯後所產生的不同的地方是,上面那幾個檔檔名會不一樣
-rev custom-1產生的檔名會多custom-1(檔名變很長)
不過呢......還是沒有kernel_image的deb檔出現
難道要放棄deb,只能用原本的make deb .....modules_install來更新核心了
附註:從之前到現在已經試過十幾次了,每次測試都是刪掉資料夾後,重新開始
第一次發問時所做的步驟為
- 代碼: 選擇全部
tar -jxf kernel-source-2.4.18.tar.bz2
cd kernel-source-2.4.18
make-kpkg clean
make-kpkg --revision 2.4.18.custom-1 --append-to-version -custom --config menuconfig
設定完後,接下來執行指令為make-kpkg binary-arch
之後的結果就是第一篇所貼的錯誤訊息
寫了真長,真是不好意思,麻煩大家了,感謝每個看完的朋友