Permalink
Browse files

support entire lineup of Pine64

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 26, 2018
1 parent 637f607 commit 3447b66e713b0456057d6e6c450e5c3f024cdb0f
Showing with 6 additions and 3 deletions.
  1. +3 −2 nems-build.sh
  2. +3 −1 nems-cleanup.sh
@@ -136,8 +136,9 @@ echo "------------------------------"
echo ""
# Rock64/Pine A64-LTS NIC
if [[ "$2" = "43" ]] || [[ "$2" = "44" ]]; then
# NIC on Pine64 boards need eth0 to be set to DHCP
# Could probably do this on all boards that use eth0
if (( $2 >= 40 )) && (( $2 <= 49 )); then
#echo "source /etc/network/interfaces.d/*" > /etc/network/interfaces # https://askubuntu.com/a/854226
#echo "allow-hotplug eth0
#iface eth0 inet dhcp" > /etc/network/interfaces.d/eth0
@@ -224,10 +224,12 @@ nameserver 2001:4860:4860::8844
# Also a bit of extra cleanup on the ODROID:
rm -rf /root/scripts
fi
if (( $platform == 43 )); then
if (( $platform >= 45 )) && (( $platform <= 47 )); then
# ROCK64
rm -rf /var/lib/rock64 # Ayufan's build places a file in that folder which stops it from resizing on boot
fi
if (( $platform == 44 )); then
# PINE64
addition="/root/nems/nems-admin/resize_rootfs/pine64\n"

0 comments on commit 3447b66

Please sign in to comment.