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.

Armbian build environment in chroot jail

Featured Replies

Probably the easiest and fastest way to set up an Ubuntu Xenial build environment (needed by the armbian build scripts) is using a chroot jail. This thread should be a quick copy paste "tutorial" to create your own chroot jail and on an Debian based linux installation.

 

1.) Install debootstrap

$ sudo apt install debootstrap

 

2.) Chreate chroot jail using debootstrap

$ sudo debootstrap --variant=buildd --arch=amd64 xenial ./system/ http://archive.ubuntu.com/ubuntu/

 

3.) Mount your local system into the chroot

$ for f in dev dev/pts proc sys ; do sudo mount -o bind /$f ./system/$f ; done

4.) Mount resolv.conf from host system into chroot

$ sudo mount --bind /etc/resolv.conf ./system/etc/resolv.conf

 

5.) Enter the chroot and install some important packages

$ sudo chroot ./system
$ apt install -y sudo nano git

6.) Add universe to your chroots repo list (needed by the build scripts)

$ sudo nano /etc/apt/sources.list

change from:
deb http://archive.ubuntu.com/ubuntu xenial main

to:
deb http://archive.ubuntu.com/ubuntu xenial main universe

then:
$ sudo apt update

7.) Download and start build script in root users home directory

$ cd
$ git clone https://github.com/armbian/build
$ cd build
$ service apt-cacher-ng start
( $ export EXPERT=yes )
$ ./compile.sh

Now you can start building your images from source :)

I know this is not rocket science, but I think this might help some people getting into Armbian!

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.