Make profile.d file consistent between rpm and debian 33/17233/1
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 15 Oct 2018 15:54:40 +0000 (17:54 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 15 Oct 2018 15:54:53 +0000 (17:54 +0200)
The file /etc/profile.d/AGL-app-framework-binder.sh must have the same
name for all distro / packages, all the more that a reference of this
file is given in the online documentation:
  http://docs.automotivelinux.org/docs/devguides/en/dev/
reference/host-configuration/docs/2_AGL_Application_Framework.html

Change-Id: If3bd2d87bdce7af2f625eeb9a7b230f11520b9e9
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
conf.d/packaging/deb/debian.agl-app-framework-binder-bin.install
conf.d/packaging/deb/debian.rules

index 17c1952..1932a1e 100644 (file)
@@ -11,5 +11,5 @@
 /opt/AGL/bin/afb-exprefs
 /opt/AGL/bin/afb-client-demo
 /opt/AGL/bin/afb-genskel
-/etc/profile.d/AGL_app-framework-binder.sh
+/etc/profile.d/AGL-app-framework-binder.sh
 /opt/AGL/lib/*/afb/monitoring/*
index f957640..ba4aeb6 100644 (file)
@@ -48,13 +48,13 @@ install: build
        # Add here commands to install the package into debian/tmp
        cd build;make install DESTDIR=/usr/src/packages/BUILD/debian/tmp
        mkdir -p debian/tmp/etc/profile.d
-       echo '#----------  AGL app-framework-binder options Start ---------" '                          > debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo '# Object: AGL cmake option for  binder/bindings'                                          >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo 'export LD_LIBRARY_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH):$${LD_LIBRARY_PATH}'            >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo 'export LIBRARY_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH):$${LIBRARY_PATH}'                  >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo 'export PKG_CONFIG_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH)/pkgconfig:$${PKG_CONFIG_PATH}'  >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo 'export PATH=/opt/AGL/bin:$${PATH}'                                                        >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
-       echo '#----------  AGL options End ---------'                                                   >> debian/tmp/etc/profile.d/AGL_app-framework-binder.sh
+       echo '#----------  AGL app-framework-binder options Start ---------" '                          > debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo '# Object: AGL cmake option for  binder/bindings'                                          >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo 'export LD_LIBRARY_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH):$${LD_LIBRARY_PATH}'            >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo 'export LIBRARY_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH):$${LIBRARY_PATH}'                  >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo 'export PKG_CONFIG_PATH=/opt/AGL/lib/$(DEB_HOST_MULTIARCH)/pkgconfig:$${PKG_CONFIG_PATH}'  >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo 'export PATH=/opt/AGL/bin:$${PATH}'                                                        >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
+       echo '#----------  AGL options End ---------'                                                   >> debian/tmp/etc/profile.d/AGL-app-framework-binder.sh
        # Move all files in their corresponding package
        dh_install --list-missing -s --sourcedir=debian/tmp
        # empty dependency_libs in .la files