tag | 2774d49ffc6a3a2c26a43faa88ca3c65ace3feae | |
---|---|---|
tagger | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | Sun Sep 20 12:57:59 2020 +0200 |
object | 325edff51a8f03c8c777a6c2762e7891266cc9dc |
systemd-stable v245.8 -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXCUbX8VOsvgPQHqqxUyjNs/rVX4FAl9nNbcACgkQxUyjNs/r VX4YWg//Y4/KRgNopxlOu2qJqrSvJs6yTOc/91jFUlFthdK2TeL0vpyKDDJCPDKO RQFMsDmUfpMeMkoqcD0MSB1+xnOKBsfu6ei2ikTpZ8QdawF0dz90CIB1lmzIzq9/ o/wwauazeoaxiiQbgJWfBgvSsBrKoNLBrWG5w9pdCE2l3NlxOqCoJVKtxRbfI29t Of0SMrenGcM1R7gMcw5W3G+hagVGMUhTGQlAiR7uLhXSCgI9n2+SmBJJ+bepxiZI SjfqDq8qCs5qeH7sAqFACNMrCHbcJipGNwFL4dxGLpcoDz5x0++w331BUAR+60r7 Izt56bHHgst3xG+WVYLrhokENpF412NbM1T1jEqZOnRTEhS6u3zjYvxeMgSRroZe 6MR2jXM+cw1ba9OcicsBXThStiVxhgX/vVRiLuR7n6pjnGQmaKzZyd0FntdtEk2m ECsMvb9grS5zScij0U6iPgeJJpBLD0fNu6zhQ3jLQ8aTKqiLVuFICdud+p6Qyn8h I0ArJyfjc1Xx47P27rSq+r7R4/vJeGBYvrZMTpMfupjHkU18nuzw/Xvx82/2WC+z C27QXyllICshgkdhMRRn/MHrwAEy62hZKcwnQ5AeSnrwIdL6EhxezmpgtvEG4bY9 LGVpHrjqqgwGaRVmt/9QprdPympnIMhptaX+w6hqzQSKxmjPmbE= =zKbK -----END PGP SIGNATURE-----
commit | 325edff51a8f03c8c777a6c2762e7891266cc9dc | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kolyshkin@gmail.com> | Fri Jul 31 19:24:15 2020 -0700 |
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | Sun Sep 20 12:16:35 2020 +0200 |
tree | b9b01e547f160f38278202a2a694a243d5b184c0 | |
parent | d7f9314718803d551ddfc7b4950db44b5b65ca4b [diff] |
kernel-install/90-loaderentry: fix when /boot is not mountpoint I happen to have a machine where /boot is not a separate mountpoint, but rather just a directory under /. After upgrade to recent Fedora, I found out that grub2 can't find any new kernels. This happens because loadentry script generates kernel and initrd file paths relative to /boot, while grub2 expects path to be relative to the root of filesystem on which they are residing. This commit fixes this issue by using stat's %m to find the mount point of a partition holding the images, and using it as a prefix to be removed from ENTRY_DIR_ABS. Note that %m for stat requires coreutils 8.6, released in Oct 2010. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 1cdbff1c844ce46f1d84d8feeed426ebfd550988) (cherry picked from commit 2ee1c57c4ff4fd3349cf03c2e89fbd18ca0b3a4a)
System and Service Manager
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.