Skip to content

Commit 2d7b9da

Browse files
Merge pull request #6 from fledge-iot/1.8.0RC
1.8.0 rc
2 parents 43deac2 + 01772a6 commit 2d7b9da

File tree

7 files changed

+19
-12
lines changed

7 files changed

+19
-12
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
.. Links
3-
.. _main repository: https://github.com/fledge/Fledge
3+
.. _main repository: https://github.com/fledge-iot/fledge
44

55

66
*****************************

docker/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ RUN apt-get install -y git rsyslog
99

1010
WORKDIR /fledge-core
1111

12-
RUN git clone --single-branch -b $FLEDGE_BRANCH https://github.com/fledge/Fledge.git
12+
RUN git clone --single-branch -b $FLEDGE_BRANCH https://github.com/fledge-iot/fledge.git
1313

14-
RUN cd Fledge && \
14+
RUN cd fledge && \
1515
chmod +x requirements.sh && \
1616
./requirements.sh && \
1717
make install
@@ -28,7 +28,7 @@ VOLUME /usr/local/fledge/data
2828

2929
# These Volumes will be used in future when we want to install plugins
3030
VOLUME /usr/local/fledge
31-
VOLUME /fledge-core/Fledge
31+
VOLUME /fledge-core/fledge
3232

3333
EXPOSE 8081 1995
3434

make_rpm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
set -e
2323

2424
PKG_ROOT=`pwd` # The script must be executed from the root git directory
25-
repo_name="Fledge" # Name of the Git repository
25+
repo_name="fledge" # Name of the Git repository
2626
branch="master" # Default Git branch to use
2727
pkg_name="fledge" # Name of the package to build
2828
architecture="x86_64" # The architecture for which the rpm should be created
@@ -83,7 +83,7 @@ while getopts ":hcasb:" opt; do
8383
esac
8484
done
8585

86-
if [ ! -f packages/rpmbuild/SPECS/fledge.spec ] ; then
86+
if [ ! -f packages/RPM/SPECS/fledge.spec ] ; then
8787
echo You must run this script from the fledge-pkg directory
8888
exit 1
8989
fi
@@ -97,7 +97,7 @@ if [[ $skip_build == 0 ]]; then
9797
echo WARNING: Repository ${repo_name} already exists, using the existing copy
9898
(cd ${repo_name}; git fetch --all; git pull ; git checkout "$branch")
9999
else
100-
git clone -b "$branch" https://github.com/fledge/${repo_name}.git
100+
git clone -b "$branch" https://github.com/fledge-iot/${repo_name}.git
101101
fi
102102

103103
GIT_ROOT=/tmp/"${repo_name}"
@@ -167,7 +167,7 @@ if [[ ! -d "${FLEDGE_ROOT}" ]]; then
167167
fi
168168

169169
version=`cat ${FLEDGE_ROOT}/VERSION | tr -d ' ' | grep 'fledge_version=' | head -1 | sed -e 's/\(.*\)=\(.*\)/\2/g'`
170-
BUILD_ROOT="${PKG_ROOT}/packages/rpmbuild/BUILDROOT"
170+
BUILD_ROOT="${PKG_ROOT}/packages/RPM/build/BUILDROOT"
171171

172172
mkdir -p ${PKG_ROOT}/packages/RPM/build/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
173173
mkdir -p ${PKG_ROOT}/packages/RPM/build/RPMS/x86_64

plugins/make_deb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ do
8383
echo WARNING: Repository ${REPO_NAME} already exists, using the existing copy
8484
(cd ${REPO_NAME}; git pull; git checkout "${BRANCH_NAME}")
8585
else
86-
git clone -b ${BRANCH_NAME} --single-branch https://github.com/fledge/${REPO_NAME}.git
86+
git clone -b ${BRANCH_NAME} --single-branch https://github.com/fledge-iot/${REPO_NAME}.git
8787
fi
8888

8989
GIT_ROOT=/tmp/"${REPO_NAME}"
@@ -236,6 +236,13 @@ EOF
236236
mkdir -p usr/lib
237237
cp -R --preserve=links /usr/lib/libbiodaq* usr/lib
238238
fi
239+
if [ "${plugin_name}" = "gcp-gateway" -o "${plugin_name}" = "gcp" ]; then
240+
cd -
241+
mkdir -p usr/local/lib
242+
cp -R --preserve=links /usr/local/lib/libjwt* usr/local/lib
243+
cp -R --preserve=links /usr/local/lib/libjansson* usr/local/lib
244+
cp -R --preserve=links /usr/local/lib/libpaho* usr/local/lib
245+
fi
239246
fi
240247
echo "Done."
241248

plugins/make_rpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ do
9696
echo WARNING: Repository $repos already exists, using the existing copy
9797
(cd $repos; git pull; git checkout "$branch")
9898
else
99-
git clone -b "$branch" https://github.com/fledge/${repos}.git
99+
git clone -b "$branch" https://github.com/fledge-iot/${repos}.git
100100
fi
101101

102102
GIT_ROOT=/tmp/"$repos"

service/make_deb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ do
8787
echo WARNING: Repository ${REPO_NAME} already exists, using the existing copy
8888
(cd ${REPO_NAME}; git pull; git checkout "${BRANCH_NAME}")
8989
else
90-
git clone -b ${BRANCH_NAME} --single-branch https://github.com/fledge/${REPO_NAME}.git
90+
git clone -b ${BRANCH_NAME} --single-branch https://github.com/fledge-iot/${REPO_NAME}.git
9191
fi
9292

9393
GIT_ROOT=/tmp/"${REPO_NAME}"

service/make_rpm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ do
115115
echo WARNING: Repository ${REPO_NAME} already exists, using the existing copy
116116
(cd ${REPO_NAME}; git pull; git checkout "${BRANCH_NAME}")
117117
else
118-
git clone -b "${BRANCH_NAME}" https://github.com/fledge/${REPO_NAME}.git
118+
git clone -b "${BRANCH_NAME}" https://github.com/fledge-iot/${REPO_NAME}.git
119119
fi
120120

121121
GIT_ROOT=/tmp/"${REPO_NAME}"

0 commit comments

Comments
 (0)