summaryrefslogtreecommitdiffstats
path: root/test/test-compare-versions.sh
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-24 22:19:05 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-05-24 23:31:43 +0200
commit620ecc9c4bb8769b2acb6c1b9b64b330d0f76fc1 (patch)
tree4becd57f3612eab23de1b70a929df48623644b4a /test/test-compare-versions.sh
parentci: reenable validation of GH Actions files (diff)
downloadsystemd-620ecc9c4bb8769b2acb6c1b9b64b330d0f76fc1.tar.xz
systemd-620ecc9c4bb8769b2acb6c1b9b64b330d0f76fc1.zip
kernel-install: ignore extra args passed when invoked as installkernel
kernel's 'make install' invokes install.sh which calls /sbin/install-kernel. Thus we are invoked as e.g. /sbin/installkernel 5.18.0 arch/x86/boot/bzImage System.map /boot The last two arguments would be passed as "initrds". Before , we would just quitely ignore /boot, because it doesn't pass the 'test -f' test, and possibly try to do something with System.map. 742561efbe938c45936f2e4f5d81b3ff6b352882 tightened the check, so we now throw an error. It seems that the correct thing is to ignore those two arguments, because our plugin syntax has no notion of System.map. And the installation directory we can figure out ourselves better. Effectively, this makes things behave like before, but less by accident. Fixes #23490.
Diffstat (limited to 'test/test-compare-versions.sh')
0 files changed, 0 insertions, 0 deletions