Fenix, docker build, debian buster, krescue

hi,
let’s try to make fenix running in docker be able to build debian buster server with latest mainline linux, for vim1 pro and also have the option to generate the rom image in kresq format so that direct installation (even from cloud) to emmc will be very simple

let’s try to make fenix be able to build debian buster server for vim1 and

i have test it today again

also have the option to generate the rom image in kresq format so that direct installation frop cloud to emmc will be very simple

sure will be soon

1 Like

please find here https://www.filehosting.org/file/details/851925/ztkJ9EEJUbCFb8uy/buildlog
the full build log ending with the error
tks

ok, i’ve seen that PR 67 now merged into fenix official repo by nick, so let’s retry…

I checked build in Docker is OK. VIM3_Debian-server-buster_Linux-4.9_arm64_EMMC_V0.8.3-20200322.img

why hyphop has stretch on kernel 5.5 but your buster still on 4.9 ???

@numbqq

here are today’s log, make has failed after using a fresh fenix clone running inside docker:

 LD [M]  sound/usb/hiface/snd-usb-hiface.ko
  LD [M]  sound/usb/line6/snd-usb-line6.ko
  LD [M]  sound/usb/line6/snd-usb-pod.ko
  LD [M]  sound/usb/line6/snd-usb-podhd.ko
  LD [M]  sound/usb/line6/snd-usb-toneport.ko
  LD [M]  sound/usb/line6/snd-usb-variax.ko
  LD [M]  sound/usb/misc/snd-ua101.ko
  LD [M]  sound/usb/snd-usb-audio.ko
  LD [M]  sound/usb/snd-usbmidi-lib.ko
warning: same module names found:
  fs/exfat/exfat.ko
  drivers/staging/exfat/exfat.ko
make[1]: Leaving directory '/home/khadas/fenix/build/linux-mainline-5.5-rc2'
Info: Building debs...
Building package: linux-u-boot-vim1-mainline
dpkg-deb: error: control directory has bad permissions 777 (must be >=0755 and <=0775)
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
khadas@62f63bb0c326:~/fenix$ history 
    1  source env/setenv.sh
    2  make
    3  history 
khadas@62f63bb0c326:~/fenix$ 

What other info would you need to help me understand why fenix fails here ,
tks

full log is here : https://gofile.io/?c=TpubHO

What’s your host OS?

os is xubuntu 18.04 64bits

OK. My test environment is Host 16.04 + Docker, I will check Host 18.04 + Docker.

Have you tried local build without docker?

i have ubuntu 18.04
works fine without docker

How about in Docker in your side? I don’t have 18.04 environment yet.

never use docker :wink: but why not :wink: i can check it today later !

1 Like

which one are u using ?

sudo snap install docker     # version 18.09.9, or
sudo apt  install docker.io

You can check here: https://docs.khadas.com/vim3/FenixScript.html#Build-Fenix-in-Docker

I used this guide to setup my build environment,
and my ubuntu was uptodate (including the docker in it) yesterday when “make” from it

In the past, using docker was the only way for me successfully build an img with fenix, its advantage is to share the same succesfull build tools config for everyone

Ubuntu 18.04 should be the best environment for buinding. The Docker image is a Ubuntu 18.04 OS, too.

Hello @ravelo

Can you update the repo and try to build Debian Buster in a Ubuntu 20.04 Docker?

$ cd fenix
$ git pull
$ docker build -t fenix-ubuntu-20.04 .
$ docker run -it --name fenix-ubuntu-20.04 -v $(pwd):/home/khadas/fenix -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro --privileged --device=/dev/loop0:/dev/loop0 --cap-add SYS_ADMIN fenix-ubuntu-20.04
khadas@df0a41bdd5ee:~/fenix$ source env/setenv.sh
khadas@df0a41bdd5ee:~/fenix$ make
1 Like