Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Prefill form fields on first run

Featured Replies

Hi

I want to modify base armbian image using choot in order to install necessary software. I am also creating user during that process.

My question is how can I skip or prefill the form that appears on first run? (user creation, time zone setting etc.)

I was surfing the forum and found this answer.

So, I came up with few options:
1) It looks like I can prefill my desired values for the form in "/usr/lib/armbian/armbian_firstlogin" file by editing it during chroot
2) I can remove user input parts in "/usr/lib/armbian/armbian_firstlogin", but preserve other important lines, since user will be created during chroot

Is this valid options or there is more proper way to do this?

Edited by Roman Khudobei

  • Roman Khudobei changed the title to Prefill form fields on first run

I don't know if editing armbian_firstlogin is the right thing to do. Wouldn't it prevent the source code from being updated (git pull) or make it more difficult? Did you already looked at the following links?

Don't have experience with such things yet, but hope it helps.

  • Author

Thank you @atone for sending links, I will check them. Looks like it's related to custom Armbian build creation. I don't want to dig into it right now, because I'm not familiar with those processes and it will take some time to learn.
Looks like editing armbian_firstlogin works for me currently.

Edited by Roman Khudobei

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.