blob: 05d6f30653b3655e32f5f5cdad67a68d13a2bbf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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
|