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.

Build Armbian as User

Featured Replies

This might be more targeted towards security, but building Armbian should not be as a root/privileged user...

 

https://docs.armbian.com/Developer-Guide_Build-Preparation/#how-to-start

 

OpenWRT builds fine as a normal user account, does not need elevated access.

 

Also - FWIW - the local build directory should be armbian, not build - too many other things use /build.

 

@Igor-- thoughts here?

1 hour ago, Werner said:

By the way it is recommended to create a building environment encapsulated in a VM and not

running natively on a dedicated PC or a server (not recommended),

 

I also did read that - but why?
The VM also needs internet access for getting the updates for ubuntu and the armbian-build-system.

 

I have two armbian-build-systems 

The first is in a VirtualBox VM on a AMD QuadCore 3Ghz and

the second is on a dedicated Intel Core2Duo 2.4Ghz.

 

Sometimes I got the feeling the "slower" dedicated Intel is faster than the AMD Virtualbox VM.

 

  • Author
11 hours ago, Werner said:

By the way it is recommended to create a building environment encapsulated in a VM and not

 

I have a dedicated KVM image, as I don't want to introduce changes from the distribution that might impact the build process - it's an old habit of mine.

 

Anyways - root is a major deity on a *nix system, and an errant script could do a fair amount of damage - it doesn't have to be a "bad actor" but even a typo...

 

Started looking at fakeroot as an option, as this does provide the opportunity to do file manipulation as needed to build an image.

 

  • Author

The second item...

 

Instead of doing from "/build" as the top directory for the build platform, how much would it be to have "/armbian" as the top level?

 

For example - /armbian_h5 or /armbian/rk3288 (so this is two options actually) - this can help with the nightly builds, and also with folks that are working on multiple platforms.

 

EDIT - actually, would be better to have the final target directory instead - so "~/armbian/target/boardname/image"

 

Some folks have multiple build environments - I have ~/builds/openwrt, and ~/builds/build - would be nicer to have ~/builds/armbian

 

 

Edited by sfx2000
clarified the ask for the build and dest paths

  • Author

And since I'm thinking about things.... not complaining, but looking to provide some opportunity to make things better over time.

 

Armbian-Installer (or Armbian Minimal) - this would be a minimalist image - since both the Debain and Ubuntu flavors have the same uboot/kernel/device tree, along with basic rootfs...

 

Then the installer can do the customization. at first run.

 

1) Select Environment - Debian/Ubuntu Desktop/Ubuntu Server for example - this would set the apt sources list, along with the packages needed to complete the install

2) Personalization - create the admin user account (not root), hostname, initial network config

 

If one does a full build now - it's a fairly large chunk of disk space and package downloads - which isn't really needed when one is doing iterative builds across multiple boards - while most of my SBC's are Allwinner based, I do have a Rockchip and a Marvell board, so it does take time and space for all those images - a minimal image like discussed about has benefits here...

 

1) less network bandwidth needed

2) less storage requirements over time

 

Thoughts?

Guest
This topic is now closed to further replies.

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.