Jump to content

Recommended Posts

Posted (edited)

HI

I cannot find anywhere option to run compile.sh without GUI/NCurses. I'd like to just run basic command to build image (have configuration done)

Can you point me to place where i can look ?

 

Edited by prutka
Posted

Hi

Sorry for long delay but I have strange limit one post per day which makes impossible to use forum....

Anyway, I looked into this doc few times and could not get there what I want. The only thing that is there is chapter mentioning cryptic "variables minimizing user input". So did you referred to some special part of this page that I overlooked, or |You mean that I need to pass all those variables from this chapter to not have UI popup or its not possible at all ?

Also some link to CI runner scripts would probably help ;)

Posted
10 hours ago, prutka said:

You mean that I need to pass all those variables from this chapter to not have UI popup

If you were to run this on a normal environment (it is designed to run on a PC (x86) running Ubuntu Jammy) you would see that at the end of the UI it prints out the command line equivalent of what you just entered through the UI,  So the UI is only invoked if a particular parameter isn't passed on the command line.  Experiment around and see how this works.

Posted

Imho it's bad that such fundamental usecase is not desribed in any sensible 1-2 sentences. For the record output from UI mangles terminal and "consumes" logs. I also did not found any logs in bash scripts. What you will find is comment in code:

 

# if KERNEL_ONLY, KERNEL_CONFIGURE, BOARD, BRANCH or RELEASE are not set, display selection menu

 

So summary, manualy debuging seems like minimal subset is (values up to user wish ofc):

sudo ./compile.sh  KERNEL_ONLY=yes KERNEL_CONFIGURE=false BOARD=bananapim2zero BRANCH=current RELEASE=jammy

 

Which boils down that you need to set each param that corresponds 1to1 to each UI screen.

 

Hope it helps next one. Thx ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines