Jump to content

Debian upgrade changes uInitrd link to point at latest Debian (instead of Armbian) version (ODROID-XU4)


Recommended Posts

Posted (edited)

Just doing maintenance tonight on my boxen, regular `apt upgrade && apt update` on ODROID-XU4 and I noticed Debian upgraded to latest kernel (5.8 or whatever).  I go look in boot and notice `uInitrd' is pointing at the new Debian version (instead of Armbian version):

 

drwxr-xr-x  4 root root     4096 Nov 15 19:53 .
drwxr-xr-x 22 root root     4096 Nov 15 19:50 ..
-rw-r--r--  1 root root       65 Nov 15 19:28 armbianEnv.txt
-rw-r--r--  1 root root     1536 Jun  4 15:24 armbian_first_run.txt.template
-rw-r--r--  1 root root    38518 Jun  4 15:24 boot.bmp
-rw-r--r--  1 root root     4882 Jun  4 15:24 boot-desktop.png
-rw-r--r--  1 root root    12479 Jun  4 15:24 boot.ini
-rw-r--r--  1 root root       64 Jun  4 15:24 boot.scr
-rw-r--r--  1 root root   151722 Oct 18 15:42 config-4.14.202-odroidxu4
-rw-r--r--  1 root root   238874 Apr 23  2020 config-5.5.0-0.bpo.2-armmp-lpae
-rw-r--r--  1 root root   246529 Sep 26 13:31 config-5.8.0-0.bpo.2-armmp-lpae
lrwxrwxrwx  1 root root       22 Nov 15 19:49 dtb -> dtb-4.14.202-odroidxu4
drwxr-xr-x  2 root root     4096 Nov 15 19:49 dtb-4.14.180-odroidxu4
drwxr-xr-x  2 root root     4096 Nov 15 19:49 dtb-4.14.202-odroidxu4
lrwxrwxrwx  1 root root       22 Jun  4 15:24 dtb.old -> dtb-4.14.180-odroidxu4
-rw-r--r--  1 root root  7011311 Nov 15 19:50 initrd.img-4.14.202-odroidxu4
-rw-r--r--  1 root root 21912634 Nov 15 19:51 initrd.img-5.8.0-0.bpo.2-armmp-lpae
-rw-r--r--  1 root root        0 Nov 15 19:50 .next
-rw-r--r--  1 root root  2394556 Oct 18 15:42 System.map-4.14.202-odroidxu4
-rw-r--r--  1 root root  4131671 Apr 23  2020 System.map-5.5.0-0.bpo.2-armmp-lpae
-rw-r--r--  1 root root       83 Sep 26 13:31 System.map-5.8.0-0.bpo.2-armmp-lpae
lrwxrwxrwx  1 root root       26 Nov 15 19:53 uInitrd -> uInitrd-5.8.0-0.bpo.2-armmp-lpae # <--- see here
-rw-r--r--  1 root root  7011375 Nov 15 19:50 uInitrd-4.14.202-odroidxu4
-rw-r--r--  1 root root 21912698 Nov 15 19:51 uInitrd-5.8.0-0.bpo.2-armmp-lpae
-rwxr-xr-x  1 root root  5728872 Oct 18 15:42 vmlinuz-4.14.202-odroidxu4
-rw-r--r--  1 root root  4817408 Apr 23  2020 vmlinuz-5.5.0-0.bpo.2-armmp-lpae
-rw-r--r--  1 root root  4874752 Sep 26 13:31 vmlinuz-5.8.0-0.bpo.2-armmp-lpae
lrwxrwxrwx  1 root root       26 Nov 15 19:50 zImage -> vmlinuz-4.14.202-odroidxu4

 

Only uInitrd was changed, not any others (as you can see).

 

I'm on Buster Stable.

 

I don't think this is supposed to happen?  Just wanted to ask here before filing bug though.

 

EDIT:  I also don't think it's a big deal either, as I'm pretty sure I rebooted without issue at least once in the meantime (before noticing).

Edited by TRS-80
add last sentence
Posted
On 11/16/2020 at 2:37 AM, TRS-80 said:

oot and notice `uInitrd' is pointing at the new Debian version

 

On 11/16/2020 at 2:37 AM, TRS-80 said:

I don't think this is supposed to happen? 


Actually yes.

If you have more kernels installed, this is expected.  Its more like a random race ...

Posted

OK.  Thanks, Igor.

 

In case it was not clear, I did not explicitly install any kernel, it was installed by Debian just by doing regular `apt upgrade`.

 

Sounds like there is nothing to be done then?  Other then be aware and go in manually and change it after each upgrade?

 

If all of above is the case, I start to wonder if apt provides any sort of post-update hook...  /wheelsturning

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines