xref: /OK3568_Linux_fs/buildroot/board/kontron/smarc-sal28/post-build.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/sh
2BOARD_DIR="$(dirname $0)"
3PARTUUID="$($HOST_DIR/bin/uuidgen)"
4
5install -d "$TARGET_DIR/boot/extlinux/"
6sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf"
7sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg"
8