#!/bin/sh set -e . "${BR2_EXTERNAL_MynaPlayer_PATH}"/scripts/certs.sh # remove /etc/init.d and replace with the one copied from overlay rm -rf "${TARGET_DIR}"/etc/init.d mv "${TARGET_DIR}"/etc/init.d-overlay \ "${TARGET_DIR}"/etc/init.d # copy changelog into the target cp "${BR2_EXTERNAL_MynaPlayer_PATH}"/changelog.md \ "${TARGET_DIR}"/etc/changelog.md # grab keyring needed for rauc cp "${BR2_EXTERNAL_MynaPlayer_PATH}"/certs/keyring.pem \ "${TARGET_DIR}"/etc/rauc/keyring.pem