farmbot_os/apps/nerves_system_rpi3/post-createfs.sh

13 lines
333 B
Bash
Executable File

#!/bin/sh
set -e
FWUP_CONFIG=$NERVES_DEFCONFIG_DIR/fwup.conf
# Mark the Raspberry Pi kernel image as using device tree
$HOST_DIR/usr/bin/mkknlimg \
$BINARIES_DIR/zImage $BINARIES_DIR/zImage.mkknlimg
# Run the common post-image processing for nerves
$BR2_EXTERNAL/board/nerves-common/post-createfs.sh $TARGET_DIR $FWUP_CONFIG