summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorggilestro2019-07-10 20:46:28 +0100
committerggilestro2019-07-10 20:46:28 +0100
commit9572eeffd804efb70121cb598a522a4ef2b9b6d5 (patch)
treee8812fbb1a34d70d21ea4285a5026af36c95ba84
parent66ef88705bba030331982c10bbfb6b9d02029d9d (diff)
downloadaur-9572eeffd804efb70121cb598a522a4ef2b9b6d5.tar.gz
second attempt at fixing network installation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--ethoscope-device.install17
3 files changed, 10 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4848c1b2eec9..b25717ac8d95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ethoscope-device
pkgdesc = A platform from monitoring animal behaviour in real time from a raspberry pi - Device version
pkgver = r1702.g1c43fc3
- pkgrel = 4
+ pkgrel = 5
url = http://lab.gilest.ro/ethoscope
install = ethoscope-device.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index d9a153de401d..b79f202b3893 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ethoscope-device
pkgver=r1702.g1c43fc3
-pkgrel=4
+pkgrel=5
pkgdesc="A platform from monitoring animal behaviour in real time from a raspberry pi - Device version"
arch=('any')
url="http://lab.gilest.ro/ethoscope"
@@ -37,7 +37,7 @@ package() {
#install python service
cd "${srcdir}/${pkgname}/src"
#pip install -e . --install-option="--prefix=${pkgdir}" --no-deps
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ python setup.py install --root="$pkgdir/"
#install service files
cd "${srcdir}"/"${pkgname}"/scripts/
diff --git a/ethoscope-device.install b/ethoscope-device.install
index 8fc00ddfcaf3..fec302b52ced 100644
--- a/ethoscope-device.install
+++ b/ethoscope-device.install
@@ -45,16 +45,13 @@ post_install() {
netctl enable ether
netctl enable wlan
- #netctl-auto is for wireless connections only
- netctl-auto enable wlan0
- netctl-auto start wlan0
- systemctl enable netctl-auto@wlan0.service
- systemctl start netctl-auto@wlan0.service
-
- systemctl enable netctl@eth0.service
- systemctl start netctl@eth0.service
- systemctl enable netctl-ifplugd@eth0.service
- systemctl start netctl-ifplugd@eth0.service
+ #netctl-auto is for wireless connections only, ifplugd for wired
+ netctl-auto enable wlan
+ systemctl start netctl-auto@wlan
+ systemctl enable netctl-auto@wlan0
+
+ systemctl enable netctl-ifplugd@eth0
+ systemctl start netctl-ifplugd@eth0
echo "configure the NTP file"
echo 'server node' > /etc/ntp.conf