diff --git a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh index 0dec3192..3a98807e 100755 --- a/SOFTWARE/A64-TERES/scripts/make_rootfs.sh +++ b/SOFTWARE/A64-TERES/scripts/make_rootfs.sh @@ -77,6 +77,9 @@ case $DISTRO in xenial) ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/16.04.2/release/ubuntu-base-16.04.2-base-arm64.tar.gz" ;; + bionic) + ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/18.04.2/release/ubuntu-base-18.04-base-arm64.tar.gz" + ;; sid|jessie) ROOTFS="${DISTRO}-base-arm64.tar.gz" METHOD="debootstrap" @@ -282,10 +285,10 @@ EOF rm -f "$DEST/etc/resolv.conf" mv "$DEST/etc/resolv.conf.dist" "$DEST/etc/resolv.conf" ;; - xenial|sid|jessie) + xenial|bionic|sid|jessie) rm "$DEST/etc/resolv.conf" cp /etc/resolv.conf "$DEST/etc/resolv.conf" - if [ "$DISTRO" = "xenial" ]; then + if [ "$DISTRO" = "xenial" -o "$DISTRO" = "bionic" ]; then DEB=ubuntu DEBUSER=olimex DEBUSERPW=olimex @@ -320,12 +323,12 @@ EOF #!/bin/sh set -ex export DEBIAN_FRONTEND=noninteractive -locale-gen en_US.UTF-8 $ADDPPACMD apt-get -y update -apt-get -y install dosfstools curl xz-utils iw rfkill wpasupplicant openssh-server alsa-utils $EXTRADEBS +apt-get -y install dosfstools curl xz-utils iw rfkill wpasupplicant openssh-server alsa-utils locales $EXTRADEBS apt-get -y remove --purge ureadahead apt-get -y update +locale-gen en_US.UTF-8 adduser --gecos $DEBUSER --disabled-login $DEBUSER --uid 1000 chown -R 1000:1000 /home/$DEBUSER dpkg -i /home/prebuilt/*