Skip to content

Commit 568556e

Browse files
committed
In Plugin package .Package file added in its installed directory
Signed-off-by: ashish-jabble <[email protected]>
1 parent 8457dd4 commit 568556e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/make_deb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ EOF
239239
fi
240240
cp -R ${GIT_ROOT}/python .
241241
cp -R ${GIT_ROOT}/VERSION.${plugin_type}.${plugin_name} ./python/fledge/plugins/${plugin_type}/${plugin_name}
242+
echo ${pkg_name} > ./python/fledge/plugins/${plugin_type}/${plugin_name}/.Package
242243
else
243244
(cd ${GIT_ROOT};
244245
if [ -f requirements.sh ]; then
@@ -248,6 +249,7 @@ EOF
248249
echo ${version} > VERSION;
249250
mkdir -p build; cd build; cmake ..; make)
250251
mkdir -p "plugins/${plugin_type_install}/${plugin_install_dirname}"
252+
echo ${pkg_name} > plugins/${plugin_type_install}/${plugin_install_dirname}/.Package
251253
if [ -f "${GIT_ROOT}/extras_install.sh" ]; then
252254
sed -i "s/sudo//" ${GIT_ROOT}/extras_install.sh
253255
cp -p ${GIT_ROOT}/extras_install.sh plugins/${plugin_type_install}/${plugin_install_dirname}/extras_install.sh

0 commit comments

Comments
 (0)