Jump to content

Recommended Posts

Posted

Hello, everybody

I have a task to make "easy install image" to orange pi pc2.

I build already Armbian_5.46_Orangepipc2_Ubuntu_xenial_next_4.14.47_desctop.img and its actualy what i need and now I need to make it "easy install"  - becouse we have a lot of SD card to burning.

Could you recommend me, how to:

1. Scip first boot user creation. (Armbian on the first boot ask to set the new root password and create new user). Can i preinstalled this information? I need that Armbian on first boot just load without some user inputs.

2. Add my program to start up. I have a A ) zip with my program and B ) bash script which unzip program and set it lunch on startup. If i understand correctly - I must do this: "put my zip in userpatches/overlay and access them in /tmp/overlay from customize-image.sh - and here (customize-image.sh) lunch my bash script?

 

Ideally, I need make Armbian image that I just put in Orange pi pc2 device - and it just start up and lunch my program.

Thank you

 

<
Posted
On 6/4/2018 at 3:33 PM, Igor said:

Take a look at this example:

https://github.com/igorpecovnik/iot

 

I did like in this example and get one trouble:

 

On the first boot system ask my login and password, I successfully authenticated and stay in console. desktop environment dose not start!, but I use parameter BUILD_DESKTOP="yes"

What me to do to start desktop on boot?

Posted

if I login by root - system ask me to create normal user and after it desktop environment is start. 

but if i login by user, which I add in customize-image.sh, I stay in console and desktop environment dose not start

Posted
7 hours ago, Evgeny Dmitrichenko said:

I did like in this example and get one trouble:


If you can't work out with those tips, I can only point you to hire help or dig in. Your problems are generic and are not covered by free https://www.armbian.com/donate/ technical support.

Posted

I modified /etc/default/nodm in customize-image.sh and its help me

in /etc/default/nodm I set:

NODM_ENABLES = true

NODM_USER = $MY_USER

 

And now my user autologin on first boot without any input!

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines