2.12.c calculate-sources

Kernel names

When you emerge your kernel from the calculate-sources package with the "vmlinuz" USE flag enabled, the kernel is compiled and installed in /boot. The kernel version as well as the distro's short name and architecture are appended to the names of"vmlinuz", "config", "initramfs" and "System.map" files (as in, for instance, "-3.9.7-i686-CLD"). If these files already exist in the /boot directory, the older versions will have the extension ".old".

Symbolic links to the kernel and to the accessory files are created. To prevent changes in the bootloader, the names of these symlinks are not subject to modifications.

When you install Calculate Linux 13 and later, a unique kernel identificator is specified as the cl_kernel_uid variable in /etc/calculate/calculate.env, that is calculated based on the four first bytes of the root partition UUID, the root partition being the place where the system will be installed. This specified uid will be used later to create the symlink. Symlinks are in fact created to vmlinuz, initramfs and System.map with "-uid" added at the end, where uid is the value assigned to the cl_kernel_uid variable.

Compatibility with earlier versions
If the value of cl_kernel_uid is not defined when installing sys-kernel/calculate-sources, it will be generated and saved in /etc/calculate/calculate.env. The names of all kernel files in /boot/grub/grub.conf will be replaced by symlinks. If needed, you can regenerate Grub with the following command:

cl-setup-boot

Deleting old versions

Now old Calculate kernels are deleted automatically when you unmerge the corresponding versions of calculate-sources. Therefore, if you do not need them after kernel update, make sure the system runs correctly with the new kernel and then delete the old packages:

emerge -c
Thank you!