Files
buildroot/board/hp/9000/post-image.sh
Vincent Stehlé 1a6e81fa13 configs/hp_9000: new defconfig
Add a defconfig to run Linux on a large range of 32-bit HP PA-RISC 1.1
Workstations, such as the HP 9000 700 and Visualize workstations.

While at it, add this defconfig to myself in DEVELOPERS.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-02-02 16:21:47 +01:00

17 lines
442 B
Bash
Executable File

#!/bin/sh
set -eu
BOARD_DIR="$(dirname "$0")"
# Generate a random 32-bit signature for the disk image and
# substitute it in genimage configuration file and palo script.
PARTUUID="$("$HOST_DIR"/bin/uuidgen -r |sed 's/-.*//')"
sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg.in" \
> "$BINARIES_DIR/genimage.cfg"
sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/palo.sh.in" \
> "$BINARIES_DIR/palo.sh"
chmod +x "$BINARIES_DIR/palo.sh"