khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
211 stars 134 forks source link

debian build fail - need fix paths #63

Closed hyphop closed 4 years ago

hyphop commented 4 years ago
...
make[1]: Leaving directory '/mnt/temp/khadas/fenix/build/linux-mainline-5.5-rc2'
Info: Building debs...
cp: cannot stat '/mnt/temp/khadas/fenix/linux/arch/arm64/boot/dts/amlogic/meson-g12b-a311d-khadas-vim3.dtb': No such file or directory
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 1

my temporary solution

master@peace:/mnt/temp/khadas/fenix$ ln -s build/linux-mainline-5.5-rc2 linux
numbqq commented 4 years ago

Hello @hyphop

Are you using the latest source code? I have fixed this issue https://github.com/khadas/fenix/commit/c59a0db3a16bfc3cb77ad508b69337f8d0548543

And I can build debian server for VIM3 with mainline kernel successfully.

Info: Image install type: SD-USB

Info: IMAGE: /home/khadas/fenix/build/images/VIM3_Debian-server-stretch_Linux-5.5-rc2_arm64_SD-USB_V0.8.3-20200305.img  is ready!
Cleanup...

Done.

Thu Mar  5 09:57:44 CST 2020
Time elapsed: 9 minute(s).
khadas@3a97a4844f91:~/fenix$ make info

Version: 0.8.3
Current environment:
===========================================

#KHADAS_BOARD=VIM3
#VENDOR=Amlogic
#CHIP=A311D
#LINUX=mainline
#UBOOT=mainline
#DISTRIBUTION=Debian
#DISTRIB_RELEASE=stretch
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=SD-USB

===========================================