]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/install: do not require /dev/null to be present in chroots 15955/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jul 2020 18:03:48 +0000 (20:03 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 5 Jul 2020 18:06:22 +0000 (20:06 +0200)
commit4276749dd3546dea6cc4a5967c698886829f4573
tree453a73cdd552f666b65f2fce6ec94a82eff03676
parent640f3b143d77b02612dc694a6a2be08f98d6c0e4
shared/install: do not require /dev/null to be present in chroots

This partially undoes the parent commit. We follow the symlink and
if it appears to be a symlink to /dev/null, even if /dev/null is not
present, we treat it as such. The addition of creation of /dev/null
in the test is reverted.
src/shared/install.c
src/test/test-install-root.c