#!/bin/bash # for network boot through tftp+nbd apt-get install -y tftpd-hpa xnbd-server # adjust config file to have the server point to bitbake images deployment dir sed -i -e "s#^\(TFTP_DIRECTORY=\).*\$#\1\"$XDT_BUILD/tmp/deploy/images\"#" /etc/default/tftpd-hpa # install specific scrips mkdir -p /usr/local/bin for x in $INSTDIR/tools/scripts_netboot/*; do install --mode=755 $x /usr/local/bin/ done