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.

Building out of tree with armbian

Featured Replies

Hi all,

 

I have the clearfog base - Armbian 5.32 works great on it. Now let's say I need to develop an application which uses Boost. I can create a custom user config to install the appropriate packages, but how do I compile against it? rootfs seems to be deleted every time I create an image to be flashed. How can I package my own application into the sd card image?

 

I have done this before with openwrt and their custom packages, but if I could do it in Armbian that would be great. 

 

 

  • Author

Hi all,

 

Thanks for the info. I wasn't trying to build a kernel module or to customize the image, but only to compile against the rootfs. I eventually unset use_tmpfs and removed the "rm $SD_CARD" command from the scripts. I now have a rootfs in .tmp I can use.

 

Alternatively, I just mounted the .img and compiled against it!

On 8/7/2017 at 6:26 PM, zador.blood.stained said:

You can put custom commands in userpatches/customize-image.sh

 

I think that the best approach would be to chroot+qemu the img that is actually running on your armbian device and compile within it.

The performances are really good, considering it is an x86->aarch64 emulation. I have used it to compile libraries that run out of memory (and swap on SD/USB is so slow that it is basically useless) on my OrangePi PC2 1Gb RAM

 

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.