Skip to content

Commit

Permalink
Align architecture with golang distribution
Browse files Browse the repository at this point in the history
ngardiner committed Jan 31, 2025
1 parent 9d42891 commit 71ccac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEPS := git libffi-dev libpq-dev libssl-dev
WEBDEPS := $(DEPS) lighttpd
ARCH := $(shell uname -m)
ARCH := $(shell uname -m | sed s/x86_64/amd64/)
GODIST := go1.23.4.linux-$(ARCH).tar.gz
HOME := /home/twcmanager
SUDO := sudo
@@ -15,6 +15,8 @@ build: deps build_pkg
docker: deps build_pkg config tesla-control
webbuild: webdeps build_pkg

arch:
echo $(ARCH)
config:
# Create twcmanager user and group
$(SUDO) useradd -U -m $(USER) 2>/dev/null; exit 0

0 comments on commit 71ccac2

Please sign in to comment.