joeylib2/installer/components/kickstart.sh

36 lines
929 B
Bash

# shellcheck shell=bash
# Part of JoeyLib, Copyright (c) 2026 Scott Duensing, under the MIT License.
# See LICENSE.md for license information.
# SPDX-License-Identifier: MIT
#
# Amiga Kickstart 3.1 ROM. Cloanto still sells it (Amiga Forever), so it is
# never downloaded from a public source: it comes from the private bundle
# or `install.sh import`. The Amiga gates need it; AROS, FS-UAE's free
# fallback, is not reliable enough for them.
compDescription="Amiga firmware: Kickstart 3.1 (private: bundle or import)"
compGroups="emulator:amiga"
compRequires=""
compHostDeps=""
compPrivateFile="toolchains/firmware/amiga/kickstart.rom"
compPin="$(privateSha1For "$compPrivateFile")"
compInstall() {
privateEnsure "$compPrivateFile"
}
compInstalled() {
privatePresent "$compPrivateFile"
}
compVerify() {
privatePresent "$compPrivateFile"
}
compEnv() {
envVar KICKSTART_ROM "$JOEY_REPO/$compPrivateFile"
}