1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00
Backports of patch from systemd git to stable distributions
Go to file
Kir Kolyshkin 936a33812c 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 1cdbff1c84)
(cherry picked from commit 2ee1c57c4f)
(cherry picked from commit 325edff51a)
(cherry picked from commit 3ceaa81c61)
2020-09-20 12:51:37 +02:00
.github FUNDING: this needs to be yaml 2019-07-08 16:55:31 +02:00
.lgtm/cpp-queries lgtm: complain about accept() [people should use accept4() instead, due to O_CLOEXEC] 2019-04-10 20:03:38 +02:00
.mkosi mkosi: Find hostname command on Arch Linux 2019-11-19 10:39:00 +01:00
catalog catalog: update Polish translation 2019-07-29 09:30:24 +02:00
coccinelle tree-wide: use empty-to-root a bit more 2019-07-16 12:40:22 +02:00
docs sd-boot: fix menu ordering with boot counting 2020-09-20 12:47:51 +02:00
factory/etc factory: add default /etc/issue file 2019-07-24 08:57:23 +09:00
hwdb hwdb: update to v245-rc1 2020-02-05 18:05:43 +01:00
man sd-boot: fix menu ordering with boot counting 2020-09-20 12:47:51 +02:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network udev,network: warn when .link or .network file has no [Match] section 2019-04-25 08:41:10 +02:00
po l10n: update Czech Translation 2019-09-21 23:07:00 +02:00
presets presets: "disable" all passive targets by default 2020-02-05 17:36:02 +01:00
rules rules: don't install 80-drivers.rules when kmod is disabled 2020-09-20 12:49:13 +02:00
semaphoreci semaphore: switch back to the master branch 2019-08-24 10:06:48 +03:00
shell-completion zsh: correct journalctl command completion parsing 2020-09-20 12:49:10 +02:00
src kernel-install/90-loaderentry: fix when /boot is not mountpoint 2020-09-20 12:51:37 +02:00
sysctl.d sysctl: prefix ping port range setting with a dash 2019-07-26 09:26:07 +02:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test test: wait a bit after starting the test service 2020-03-26 14:33:55 +01:00
tmpfiles.d Corect man page reference in systemd-nologin.conf comments 2019-10-10 14:44:24 +02:00
tools tools/make-man-index: fix purpose text that contains tags 2020-09-20 12:48:29 +02:00
travis-ci coverity: replace python with jq 2019-11-19 10:32:49 +01:00
units units: add missing usb-gadget.target 2020-09-20 12:50:16 +02:00
xorg scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.editorconfig scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: use python3 2018-12-10 03:07:17 +09:00
.mailmap update .mailmap 2019-04-02 17:31:00 +02:00
.travis.yml travis: add missing closing quote sign 2019-12-15 12:10:38 +01:00
.vimrc scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
azure-pipelines.yml Free up some resources on Azure Pipelines 2019-07-17 13:28:38 +09:00
configure build-sys: add basic support for ./configure && make && make install 2017-07-18 10:05:06 -04:00
fuzzbuzz.yaml fuzzbuzz: rename fuzz.yaml to fuzzbuzz.yaml 2019-07-10 05:11:52 +03:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
meson_options.txt meson: update efi path detection to gnu-efi-3.0.11 2020-02-05 17:36:06 +01:00
meson.build meson: update efi path detection to gnu-efi-3.0.11 2020-02-05 17:36:06 +01:00
mkosi.build mkosi: let's update the boot loader also in /efi 2019-03-01 12:41:32 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
NEWS Update NEWS for v243 2019-09-03 11:27:19 +02:00
README Revert "Drop dbus activation stub service" 2020-02-05 17:25:02 +01:00
README.md README: add an OSS-Fuzz badge 2019-08-15 17:34:56 +00:00
TODO Fix typo in function name 2020-02-05 17:44:05 +01:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

systemd - System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
Coverity Scan Status
Fuzzit Status
OSS-Fuzz Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
Build Status

Details

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.