# SPDX-FileCopyrightText: 2020 Harald Sitter <sitter@kde.org>
# 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.
---
message: "Preparing the boot environment..."
dontChroot: true
timeout: 300
script:
    - cp --preserve=timestamps __LIVE_MEDIUM_PATH__live/vmlinuz-`uname -r` ${ROOT}/boot/vmlinuz-`uname -r`
    
