Skip to content

Commit

Permalink
create_packages: no deb/rpm for integrationtests
Browse files Browse the repository at this point in the history
The integrationtests need the scripts start_px4_sitl.sh that are not
included right now. Also it doesn't make much sense to have this as an
installable packet. The integration tests might rather be it's own repo
or included in PX4 firmware.
  • Loading branch information
julianoes committed Dec 17, 2017
1 parent e702b11 commit 1ab9726
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions create_packages.sh
Expand Up @@ -32,9 +32,6 @@ library_files="\
plugins/offboard/offboard.h=/usr/include/dronecore/offboard.h \
plugins/telemetry/telemetry.h=/usr/include/dronecore/telemetry.h"

integrationtests_files="\
build/default/dronecore-integrationtests=/usr/bin/dronecore-integrationtests"

echo "#!/bin/sh" > run_ldconfig
echo "/sbin/ldconfig" >> run_ldconfig

Expand All @@ -52,32 +49,17 @@ then
--after-remove run_ldconfig \
$library_files

fpm $common_args \
--output-type deb \
--depends libdronecore-dev \
--deb-no-default-config-files \
--name dronecore-integrationtests \
--provides dronecore-integrationtests \
$integrationtests_files

elif cat /etc/os-release | grep -q 'Fedora\|RedHat'
then
echo "Building RPM package"
fpm $common_args \
--output-type rpm \
--depends libdronecore-devel \
--name dronecore-integrationtests \
--provides dronecore-integrationtests \
--after-install run_ldconfig \
--after-remove run_ldconfig \
$integrationtests_files

fpm $common_args \
--output-type rpm \
--depends tinyxml2-devel \
--depends libcurl-devel \
--name libdronecore-devel \
--provides libdronecore-devel \
--after-install run_ldconfig \
--after-remove run_ldconfig \
$library_files
fi

Expand Down

0 comments on commit 1ab9726

Please sign in to comment.