Skip to content

Commit

Permalink
Add figlet and remove rock64 helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Jun 30, 2017
1 parent 9c6a1a5 commit 41bc5d5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 56 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ linux-rock64-package-$(RELEASE_NAME).deb: package
-p $@ \
--deb-priority optional --category admin \
--force \
--depends figlet \
--deb-compression bzip2 \
--after-install package/scripts/postinst.deb \
--before-remove package/scripts/prerm.deb \
Expand Down
3 changes: 3 additions & 0 deletions package/root/etc/update-motd.d/05-figlet
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

figlet $(hostname)
8 changes: 0 additions & 8 deletions package/root/etc/update-motd.d/11-rock64-help-text

This file was deleted.

47 changes: 0 additions & 47 deletions package/root/usr/local/sbin/rock64_update_package.sh

This file was deleted.

5 changes: 4 additions & 1 deletion rootfs/make_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ locale-gen en_US.UTF-8
apt-get -y update
apt-get -y install dosfstools curl xz-utils iw rfkill wpasupplicant openssh-server alsa-utils \
nano git build-essential vim jq wget ca-certificates software-properties-common dirmngr \
gdisk parted
gdisk parted figlet
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BF428671
if [[ "$DISTRO" == "jessie" ]]; then
REPO=xenial
Expand All @@ -166,6 +166,9 @@ elif [[ "$DISTRO" == "stretch" ]]; then
else
REPO="$DISTRO"
fi
if [[ "$DISTRO" == "xenial" || "$DISTRO" == "zesty" ]]; then
apt-get -y install landscape-common
fi
add-apt-repository "deb http://ppa.launchpad.net/ayufan/rock64-ppa/ubuntu \$REPO main"
curl -fsSL http://deb.ayufan.eu/orgs/ayufan-rock64/archive.key | apt-key add -
apt-get update -y
Expand Down

0 comments on commit 41bc5d5

Please sign in to comment.