------- Comment From <email address hidden> 2021-04-27 09:16 EDT-------
I just tested the installkernel script on Ubuntu 20.04 + Focal Proposed
with linux-base 4.5ubuntu3.2.
I performed the following testing on a s390x z15 LPAR:
# 5.12.0-07600-g75079231a966.tar is a tar of the modules compiled on another system
% ls
5.12.0-07600-g75079231a966.tar System.map bzImage
% tar -xavf 5.12.0-07600-g75079231a966.tar -C /usr/
% installkernel 5.12.0-07600-g75079231a966 bzImage System.map /boot
So this does NOT seem to be fixed. Do note that during the dpkg based kernel install the symlink is updated correctly as can be seen by the symlink after installing Proposed updates now pointing to initrd.img-5.4.0-73-generic.
------- Comment From <email address hidden> 2021-04-27 09:16 EDT-------
I just tested the installkernel script on Ubuntu 20.04 + Focal Proposed
with linux-base 4.5ubuntu3.2.
I performed the following testing on a s390x z15 LPAR:
# 5.12.0- 07600-g75079231 a966.tar is a tar of the modules compiled on another system 07600-g75079231 a966.tar System.map bzImage 07600-g75079231 a966.tar -C /usr/ 07600-g75079231 a966 bzImage System.map /boot
% ls
5.12.0-
% tar -xavf 5.12.0-
% installkernel 5.12.0-
After that with the previous linux-base version I see the following: map-5.12. 0-07600- g75079231a966 map-5.4. 0-72-generic 5.4.0-72- generic img-5.4. 0-72-generic img-5.12. 0-07600- g75079231a966 img-5.4. 0-72-generic img-5.4. 0-72-generic 5.12.0- 07600-g75079231 a966 5.12.0- 07600-g75079231 a966 5.4.0-72- generic 5.4.0-72- generic
% ls -la /boot
total 68556
drwxr-xr-x 2 root root 4096 Apr 27 12:56 .
drwxr-xr-x 20 root root 4096 Apr 27 08:33 ..
-rw-r--r-- 1 root root 4475596 Apr 27 12:56 System.
-rw------- 1 root root 3099673 Apr 12 15:12 System.
-rw------- 1 root root 45056 Apr 27 12:56 bootmap
-rw-r--r-- 1 root root 90468 Apr 12 15:12 config-
lrwxrwxrwx 1 root root 27 Apr 27 08:34 initrd.img -> initrd.
-rw-r--r-- 1 root root 20356043 Apr 27 12:56 initrd.
-rw-r--r-- 1 root root 24196892 Apr 27 12:46 initrd.
lrwxrwxrwx 1 root root 27 Apr 27 08:34 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 34 Apr 27 12:56 vmlinuz -> vmlinuz-
-rw-r--r-- 1 root root 9744384 Apr 27 12:56 vmlinuz-
-rw------- 1 root root 8172088 Apr 12 16:56 vmlinuz-
lrwxrwxrwx 1 root root 24 Apr 27 08:34 vmlinuz.old -> vmlinuz-
Note the wrong initrd.img symlink still pointing at initrd. img-5.4. 0-72-generic
After the upate and performing the same steps again I get:
% ls -la /boot map-5.12. 0-07600- g75079231a966 map-5.12. 0-07600- g75079231a966. old map-5.4. 0-72-generic map-5.4. 0-73-generic 5.4.0-72- generic 5.4.0-73- generic img-5.4. 0-73-generic img-5.12. 0-07600- g75079231a966 img-5.4. 0-72-generic img-5.4. 0-73-generic img-5.12. 0-07600- g75079231a966 5.12.0- 07600-g75079231 a966 5.12.0- 07600-g75079231 a966 5.12.0- 07600-g75079231 a966.old 5.4.0-72- generic 5.4.0-73- generic 5.4.0-73- generic
total 117188
drwxr-xr-x 2 root root 4096 Apr 27 13:13 .
drwxr-xr-x 20 root root 4096 Apr 27 08:33 ..
-rw-r--r-- 1 root root 4475596 Apr 27 13:13 System.
-rw-r--r-- 1 root root 4475596 Apr 27 12:56 System.
-rw------- 1 root root 3099673 Apr 12 15:12 System.
-rw------- 1 root root 3100152 Apr 14 16:35 System.
-rw------- 1 root root 45056 Apr 27 13:13 bootmap
-rw-r--r-- 1 root root 90468 Apr 12 15:12 config-
-rw-r--r-- 1 root root 90468 Apr 14 16:35 config-
lrwxrwxrwx 1 root root 27 Apr 27 13:03 initrd.img -> initrd.
-rw-r--r-- 1 root root 20355627 Apr 27 13:13 initrd.
-rw-r--r-- 1 root root 24196892 Apr 27 12:46 initrd.
-rw-r--r-- 1 root root 24204650 Apr 27 13:04 initrd.
lrwxrwxrwx 1 root root 37 Apr 27 13:03 initrd.img.old -> initrd.
lrwxrwxrwx 1 root root 34 Apr 27 13:13 vmlinuz -> vmlinuz-
-rw-r--r-- 1 root root 9744384 Apr 27 13:13 vmlinuz-
-rw-r--r-- 1 root root 9744384 Apr 27 12:56 vmlinuz-
-rw------- 1 root root 8172088 Apr 12 16:56 vmlinuz-
-rw------- 1 root root 8172088 Apr 14 16:37 vmlinuz-
lrwxrwxrwx 1 root root 24 Apr 27 13:03 vmlinuz.old -> vmlinuz-
So this does NOT seem to be fixed. Do note that during the dpkg based kernel install the symlink is updated correctly as can be seen by the symlink after installing Proposed updates now pointing to initrd. img-5.4. 0-73-generic.