diff options
author | Giorgio Gilestro | 2023-02-28 18:03:23 +0000 |
---|---|---|
committer | Giorgio Gilestro | 2023-02-28 18:03:23 +0000 |
commit | 2bdfe7027637d1304eff15223e9dfb7113dfdef2 (patch) | |
tree | 8b1e46709e5143f45be68b907d1d6a7037420e82 | |
parent | b479c1e8d6fc59c6f128f028f8644a6c77718791 (diff) | |
download | aur-2bdfe7027637d1304eff15223e9dfb7113dfdef2.tar.gz |
fixed error in pkgbuild
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -42,18 +42,23 @@ package() { cd "${srcdir}"/"${pkgname}"/scripts/ install -D --mode=0755 ethoscope_device.service ethoscope_listener.service ethoscope_GPIO_listener.service "${pkgdir}/usr/lib/systemd/system/" - tee -a /usr/bin/ethoclient <<EOF + tee -a $pkgdir/usr/bin/ethoclient <<EOF #!/bin/env bash python /opt/ethoscope-device/src/scripts/ethoclient.py $@ EOF - chmod +x /usr/bin/ethoclient + chmod +x $pkgdir/usr/bin/ethoclient - tee -a /etc/issue <<EOF + tee -a $pkgdir/etc/issue <<EOF Ethoscope Linux \r (\n) (\l) Ethernet IP: \4{eth0} WIFI IP: \4{wlan0} EOF + tee -a $pkgdir/etc/systemd/journal-upload.conf <<EOF +[Upload] +URL=http://node:19532 +EOF + cd "${srcdir}"/"${pkgname}"/scripts/ethoscope_updater/ install -D --mode=0755 ethoscope_update.service "${pkgdir}/usr/lib/systemd/system/" |