# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: architecture/hppa/boot/boot.in # Copyright (C) 2006 - 2023 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- arch_boot_cd_pre() { mkdir -p $isofsdir/boot cp -f $build_root/usr/share/palo/iplboot $isofsdir/boot/ palo_label=0 } arch_boot_cd_add() { # Note: palo only supports one config, one kernel/initrd :-/ [ $((palo_label++)) != 0 ] && echo_warning "Palo only support one config, skipped!" && return cat > $build_toolchain/palo.sh <<-EOT $build_toolchain/cross/bin/palo \ -b $isofsdir/boot/iplboot \ -k $isofsdir/$4 -r $isofsdir/$5 \ -c "0/${4##*/} initrd=0/${5##*/}" -C "\$2" EOT chmod +x $build_toolchain/palo.sh } arch_boot_cd_post() { echo_status "Creating isofs_arch.txt file .." cat > $build_toolchain/isofs_arch.txt <<- EOT DISK1 $isofsdir/ / SCRIPT $build_toolchain/palo.sh EOT }