Update/fix rpm and deb packaging 75/15075/2
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 6 Jul 2018 09:31:06 +0000 (11:31 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Sat, 7 Jul 2018 20:40:50 +0000 (20:40 +0000)
Change-Id: I132dc3085dddfedc869135ba3a967b0060afb72b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
conf.d/etc/profile.d/xds-agent.sh
conf.d/packaging/deb/agl-xds-agent.dsc
conf.d/packaging/deb/debian.control
conf.d/packaging/deb/debian.rules
conf.d/packaging/rpm/agl-xds-agent.spec
lib/xdsconfig/config.go

index dd7f01d..17848f9 100644 (file)
@@ -1,4 +1,3 @@
-#!/bin/bash
  ###########################################################################
 # Copyright 2017-2018 IoT.bzh
 #
index 7034c51..36c4e93 100644 (file)
@@ -2,10 +2,10 @@ Format: 1.0
 Source: agl-xds-agent
 Binary: agl-xds-agent
 Architecture: any
-Version: 1.1.1
+Version: 0.0.0
 Maintainer: Sebastien Douheret <sebastien@iot.bzh>
 Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-agent.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-agent.git
 Build-Depends: debhelper (>= 5),
  unzip
-Debtransform-Tar: xds-agent_linux-amd64-v1.1.1_2018-04-05_112625.zip
+Debtransform-Tar: xds-agent_linux-amd64-*.zip
index afe4157..7fa3a5d 100644 (file)
@@ -4,7 +4,7 @@ Source: agl-xds-agent
 Build-Depends: debhelper (>= 5),
  unzip
 Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-agent.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-agent.git
 
 Package: agl-xds-agent
 Section: libs
index c6c7bd3..ee3eef5 100644 (file)
@@ -78,6 +78,7 @@ postinst: install
        if [ -f "/etc/xds-agent/config.json" ]; then
                install -b -S .rpmsave /etc/xds-agent/config.json /etc/xds/agent/agent-config.json
        fi
+       echo "[XDS Agent] To enable the service with your user session: systemctl --user enable xds-agent"
 
 prerm:
        rm -f /etc/xds-agent/*.rpm*
index 0d493a4..66373c4 100644 (file)
@@ -6,14 +6,15 @@
 %global debug_package %{nil}
 
 Name:           agl-xds-agent
-Version:        1.1.1
+Version:        0.0.0
 Release:        0
 License:        Apache-2.0
 Summary:        XDS agent/client tool
-Url:            https://github.com/iotbzh/xds-agent.git
-Source0:        xds-agent_linux-amd64-v%{version}_2018-04-05_112625.zip
+Url:            https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-agent.git
+Source0:        xds-agent_linux-amd64-%{version}.zip
 BuildRequires:  unzip
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Group:          Development/Tools/Debuggers
 
 # currently embedded with xds
 # Requires:       syncthing
index 352ba84..ef94f0a 100644 (file)
@@ -93,7 +93,7 @@ func Init(ctx *cli.Context, log *logrus.Logger) (*Config, error) {
                        },
                        ProfileConf: ProfileConfT{
                                XDSBinder: XDSBinderConf{
-                                       URL:       "http://localhost:5678",
+                                       URL:       "http://localhost:8810",
                                        ConnRetry: 10,
                                },
                        },