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.

[Q] How to update a user-built image the right way?

Featured Replies

with the armiban-build-system I did build some dev-images.

Sometimes I see in other threads, that later build images have newer kernel or package versions.

 

While trying apt update && apt upgrade I didnt get these newer packages :(

 

So my first try was to use the armbian-build-system and do use the function for creating u-boot and kernel

that will give me some .debs in ./build/output/debs/ like this:

linux-u-boot-dev-nanopineo2_5.82_arm64.deb
linux-dtb-dev-sunxi64_5.82_arm64.deb
linux-image-dev-sunxi64_5.82_arm64.deb
linux-headers-dev-sunxi64_5.82_arm64.deb
linux-source-dev-sunxi64_5.82_all.deb

install these (mostly I didnt do that for the headers and source) with dpkg -i will result in higher package numbers,

but not for the armbian / bsp-kernel version :(

 

for getting here the right version I have to compile (again) - now - the a whole OS-image to get 

linux-stretch-root-dev-nanopineo2_5.82_arm64.deb

in ./build/output/debs/stretch

 

If you did install also this .deb with dpkg -i I do get the right/higer armbian/bsp-kernel-version:

 

Welcome to ARMBIAN 5.82 user-built Debian GNU/Linux 9 (stretch) 5.0.7-sunxi64
package bsp-kernel[5.82] u-boot[5.82] dtb[5.82] firmware[5.79] config[5.81]

 

armbian-config does update via apt update && apt upgrade
 

I try to update this way because I didnt want to use a whole new OS-image and reconfigure it.

 

But I think it isnt the right way to update, when I have to compile 2 times on to get the root-deb

 

Is there another way to generate this file?

And is there a way to not generate the headers and source .debs?

The source .deb take a while because it is getting as big as 370MB :(

 

Is there a better way or does nobody other like me update this way?

 

1 hour ago, guidol said:

And is there a way to not generate the headers and source .debs?

You can control this by setting

INSTALL_HEADERS="no"
BUILD_KSRC="no"

in config-default.conf

 

About the other issue you describe, I'm not sure to be understanding you correctly. Are you saying that you get different kernel version when building complete images and when building only kernel packages?

  • Author
1 hour ago, JMCC said:

About the other issue you describe, I'm not sure to be understanding you correctly. Are you saying that you get different kernel version when building complete images and when building only kernel packages?

no - i dont get different versions.....

the root .debs only does change the bsp-kernel/armbian-version number, but the image .deb does contain the new kernel.

 

Can I use the parameters also from the commandline like the Expert="yes"?

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.