| #!/bin/bash |
| # Copyright 2026 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| set -e |
| |
| PREFIX="$1" |
| mkdir -p "$PREFIX" |
| |
| # Move the artifacts from the current directory (checkout_path) to $PREFIX |
| # Default files |
| mv ./vmlinuz "$PREFIX/vmlinuz" |
| mv ./initrd "$PREFIX/initrd" |
| mv ./ubuntu.iso "$PREFIX/ubuntu.iso" |
| |
| # HWE files (if they exist) |
| if [ -f "./hwe-vmlinuz" ]; then |
| mv ./hwe-vmlinuz "$PREFIX/hwe-vmlinuz" |
| fi |
| if [ -f "./hwe-initrd" ]; then |
| mv ./hwe-initrd "$PREFIX/hwe-initrd" |
| fi |
| |
| echo "Installation complete." |
| exit 0 |