I'm currently developing on the Omega 2+ and am confused as to how I should handle maintaining the latest firmware/kernel/package builds.
I notice that the latest Onion firmware build v0.1.10-b160 (http://repo.onion.io/omega2/images/) is from March 1, 2017 and is running kernel version 4.4.46-1-611bddde2031bc44b7d050f62495d77
Let's assume I want to upgrade all packages on my Omega 2+, for example "kmod-fs-ext4". When I run "opkg install kmod-fs-ext4" opkg gives me the following dependency error:
Upgrading kmod-fs-ext4 on root from 4.4.46-1 to 4.4.74-1...
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-fs-ext4:
* kernel (= 4.4.74-1-97eec485b1ee24d5b1ca0357d1dd7304) *
* opkg_install_cmd: Cannot install package kmod-fs-ext4.
On the surface this seems like an easy fix, install the specified kernel first then try again.
From browsing http://repo.onion.io/omega2/packages/core/ I can see that the newest three kernel builds are as follows (all newer than what is found on b160):
kernel_4.4.46-1-a034340f992dd68b87dc5b7a57950bb..> 02-Mar-2017 19:50 790
kernel_4.4.46-1-70b845231417daffde6a00b449f8955..> 20-Apr-2017 21:44 791
kernel_4.4.74-1-97eec485b1ee24d5b1ca0357d1dd730..> 19-Sep-2017 15:39 781
This is where I get confused...
Is updating the kernel considered safe?
Are specific kernels more stable than others?
Will it likely break other installed packages?
If I update to kernel 4.4.74 does that mean I need to update all other currently installed kmods as well (to avoid incompatibility)?
What is the best approach to using the latest packages releases while maintaining compatibility? (eg. update kernel first, then update kmods, then update all other packages?)
Is there an easy way I can incorporate the latest kernel and packages into a .bin for me to flash?
Not a critique of Onion, but any idea why Onion would build new kernels and packages, but not build a new firmware to include them?
I went ahead and decided to install the new 4.4.74 kernel, but when I update "kmod-usb-net" to kmod-usb-net_4.4.74-1_mipsel_24kc I am presented with the following opkg error:
failed to find a module named usbnet
* pkg_run_script: package "kmod-usb-net" postinst script returned status 255.
* opkg_configure: kmod-usb-net.postinst returned 255.
I have noticed that many other kmod packages that rely on the 4.4.74 also report the same "255" error. Any idea why this is happening?