guidol Posted April 23, 2019 Posted April 23, 2019 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
JMCC Posted April 23, 2019 Posted April 23, 2019 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?
guidol Posted April 23, 2019 Author Posted April 23, 2019 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"?
JMCC Posted April 24, 2019 Posted April 24, 2019 19 hours ago, guidol said: Can I use the parameters also from the commandline like the Expert="yes"? I haven't tried, but if it is not already set to a different value in your config file, I guess it will also work.
Recommended Posts