Skip to content

when multiple kernels and initrds exist, use the latest#61

Merged
Adphi merged 1 commit intolinka-cloud:mainfrom
edgood1:handle-multiple-kernels
Mar 2, 2025
Merged

when multiple kernels and initrds exist, use the latest#61
Adphi merged 1 commit intolinka-cloud:mainfrom
edgood1:handle-multiple-kernels

Conversation

@edgood1
Copy link
Contributor

@edgood1 edgood1 commented Mar 1, 2025

When multiple kernels or initrds exist the process fails with the error

Step 7/8 : RUN mv $(find /boot -name 'vmlinuz-*') /boot/vmlinuz &&       mv $(find /boot -name 'initrd.img-*') /boot/initrd.img
 ---> Running in 6de2cb0b8003
mv: target '/boot/initrd.img' is not a directory

This is a quick fix to take the latest of each.

@Adphi
Copy link
Member

Adphi commented Mar 1, 2025

Hi @edgood1, thanks for your pull request 😀
Can you please squash the commits and [sign] (https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) ?

@edgood1 edgood1 force-pushed the handle-multiple-kernels branch from adb44ac to a51940f Compare March 1, 2025 19:23
@Adphi Adphi merged commit dfd4d7d into linka-cloud:main Mar 2, 2025
@Adphi
Copy link
Member

Adphi commented Mar 2, 2025

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants