Unverified Commit 2a6e96aa authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

fix makefile build instructions for golang script

parent a00097d8
GO_BUILD = go build
REPO = $(shell pwd)
BUILDDIR = $(REPO)/build
GO_BUILD = go build
ARCH := $(shell go version|awk -F'/' '{print $$NF}')
ifeq ($(ARCH), amd64)
ARCH = x86_64
......@@ -17,9 +30,10 @@ install:
chown root:root $(DESTDIR)/sandbox
chown -R root:root $(DESTDIR)/lib/
chmod 644 $(DESTDIR)/etc/default/grub.d/parrot.cfg
chmod 644 $(DESTDIR)/etc/used/rules.d/*
chmod 755 $(DESTDIR)/sandbox
chmod 644 $(DESTDIR)/lib/systemd/system/postgresql@.service.d/*
chmod 644 $(DESTDIR)/lib/systemd/system-preset/*
go build -o $(DESTDIR)/usr/bin/update-sandbox-launchers update-sandbox-launchers.go
mkdir -p $(BUILDDIR)
GOPATH=$(BUILDDIR) GOCACHE=$(BUILDDIR) $(GO_BUILD) $(GO_FLAGS) -o $(DESTDIR)/usr/bin/update-sandbox-launchers update-sandbox-launchers.go
strip $(DESTDIR)/usr/bin/update-sandbox-launchers
parrot-core (4.8.191105.1) rolling-testing; urgency=medium
parrot-core (4.8.191106) rolling-testing; urgency=medium
* Update Makefile.
......@@ -5,12 +5,11 @@ Maintainer: Parrot Dev Team <team@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>,
Lisetta "Sheireen" Ferrero <sheireen@parrotsec.org>
Standards-Version: 4.2.0
Build-Depends: debhelper (>= 10), golang-go
Build-Depends-Indep: pkg-config
Build-Depends: debhelper (>= 10), golang
Homepage: https://www.parrotsec.org/
Package: parrot-core
Architecture: all
Architecture: any
Depends: apt-parrot,
......@@ -13,7 +13,3 @@ cat /etc/bashrc > /usr/lib/parrot-skel/etc/skel/.bashrc
# Configure plymouth theme
[ ! -x /usr/sbin/plymouth-set-default-theme ] || /usr/sbin/plymouth-set-default-theme parrot || true
# Apply remediations to disable unwanted services that may have ben re-enabled by software updates
systemctl disable redsocks redis-server postgresql mariadb openvas-scanner openvas-manager greenbone-security-assistant apt-daily beef-xss strongswan bettercap phpsessionclean.timer couchdb miredo dradis || true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment