summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorggilestro2020-04-29 12:33:29 +0100
committerggilestro2020-04-29 12:33:29 +0100
commitcd0d6292eaccacacede9e8575062dd20989400af (patch)
tree0f43ce4e7f066bbc2ff134bf4acb518e5e4dec8c
parentafe78682eb2696a391439cf726fea209ddc1ce1f (diff)
downloadaur-cd0d6292eaccacacede9e8575062dd20989400af.tar.gz
Limiting journalog size
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--ethoscope-device.install3
3 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d830ad9184ff..b219a0b39c84 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 = 7
+ pkgrel = 1
url = http://lab.gilest.ro/ethoscope
install = ethoscope-device.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 139b91f41804..c0c27c13f447 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ethoscope-device
pkgver=r1702.g1c43fc3
-pkgrel=7
+pkgrel=1
pkgdesc="A platform from monitoring animal behaviour in real time from a raspberry pi - Device version"
arch=('any')
url="http://lab.gilest.ro/ethoscope"
diff --git a/ethoscope-device.install b/ethoscope-device.install
index 8f5d026fd036..b83b25fdc64a 100644
--- a/ethoscope-device.install
+++ b/ethoscope-device.install
@@ -87,6 +87,9 @@ post_install() {
echo 'Loading bcm2835 module'
echo "bcm2835-v4l2" > /etc/modules-load.d/picamera.conf
+ echo "limiting journal log space"
+ echo 'SystemMaxUse=250MB' >> /etc/systemd/journald.conf
+
echo "generating locale"
echo "en_GB.UTF-8 UTF-8\n" >> /etc/locale.gen
locale-gen