# SPDX-FileCopyrightText: 2020 Harald Sitter # SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL # # This is run outside the chroot! # As per at least 20.04+ /boot on the squashfs no longer contains the initrd # or vmlinuz, instead we'll first fish the kernel out of the ISO. # # NB: initrd is handled by the initramfs module. --- dontChroot: true timeout: 300 script: # This is a teeny tiny bit hacky but sufficient for 20.04+ as we don't have # to consider signed vs. unsinged anymore, so the below is practically # sufficient. Error handling is a bit on the weak side though. - cp --preserve=timestamps /cdrom/casper/vmlinuz @@ROOT@@/boot/vmlinuz-`uname -r` # We'll reconfigure the kernel in the boot_reconfigure module to ensure hooks # are run as needed.