git clone https://github.com/150balbes/Build-Armbian
cd Build-Armbian
./compile.sh
Excuse me, when I tried to compile for an ubuntu bonic image of 5.60 rc-6, I got the following error message:
scripts/Makefile.package:87: recipe for target 'intdeb-pkg' failed
Makefile:1417: recipe for target 'intdeb-pkg' failed
debian/rules:9: recipe for target 'binary-arch' failed
scripts/Makefile.package:82: recipe for target 'bindeb-pkg' failed
Makefile:1417: recipe for target 'bindeb-pkg' failed
mv: missing destination file operand after '/root/x/Build-Armbian/output/debs/'
Try 'mv --help' for more information.
[ error ] ERROR in function compile_kernel [ compilation.sh:431 ]
[ error ] Failed moving kernel DEBs
[ o.k. ] Process terminated
I checked compilation.log,and got
== deb packages: image, headers, firmware, dtb ==
[1mdpkg-buildpackage: [0m[1;33mwarning[0m: using a gain-root-command while being root
[1;35m dpkg-source --before-build 5.6
[0m[1;35m debian/rules build
[0m[1;35m fakeroot -u debian/rules binary
[0m[1mdpkg-gencontrol: [0m[1;33mwarning[0m: debian/changelog(l1): unrecognized line
LINE: () bionic; urgency=low
[1mdpkg-gencontrol: [0m[1;33mwarning[0m: unknown information field '' in input data in parsed version of changelog
[1mdpkg-gencontrol: [0m[1;31merror[0m: invalid source version unknown
make[4]: *** [intdeb-pkg] Error 255
make[3]: *** [intdeb-pkg] Error 2
make[2]: *** [binary-arch] Error 2
[1mdpkg-buildpackage: [0m[1;31merror[0m: fakeroot -u debian/rules binary subprocess returned exit status 2
make[1]: *** [bindeb-pkg] Error 2
make: *** [bindeb-pkg] Error 2
It showed that the file debian/changlog was wrong.
nano ./cache/sources/linux-aml-current/5.6/debian/changelog
and got
() bionic; urgency=low
* Custom built Linux kernel.
-- Oleg Ivanov <balbes-150@yandex.ru> Tue, 07 Apr 2020 16:39:57 +0800
there was no version included in debian/changlog , how could I solve this problem ?
By the way, complied for an ubuntu bonic image of 5.5.1 correct, the file of 5.5.1's debian/changlog showed
linux-5.5.1-aml-s9xxx (20.05.0) bionic; urgency=low
* Custom built Linux kernel.
-- Oleg Ivanov <balbes-150@yandex.ru> Tue, 24 Mar 2020 08:15:13 +0000