Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel-install: fix move of cpio output file
Its name is already `initrd` since 6b0dfe5 Otherwise: ``` ‣ /tmp/tmpgpvfc6y8/initrd.cpio.zst size is 44.9M, consumes 44.9M. ‣ Copying /tmp/tmpgpvfc6y8/initrd to /tmp/kernel-install.staging.KXnXSC/initrd Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mkosi/run.py", line 64, in uncaught_exception_handler yield File "/usr/lib64/python3.11/contextlib.py", line 81, in inner return func(*args, **kwds) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/kernel/install.d/50-mkosi.install", line 167, in main shutil.move(next(context.staging_area.glob("initrd*.cpio*")), context.staging_area / "initrd") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration /usr/lib/kernel/install.d/50-mkosi.install failed with exit status 1. ```
- Loading branch information