Skip to content
This repository has been archived by the owner on Feb 21, 2021. It is now read-only.

Commit

Permalink
solved more package bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
aitormf committed Oct 11, 2017
1 parent f0b72b0 commit fd84d0d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions cmake/cpackit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ configure_file(${MAKE_PACKAGE_CONFIG_DIR}/jderobot-deps-dev.info.in ${CMAKE_BINA
configure_file(${MAKE_PACKAGE_CONFIG_DIR}/jderobot-libs.info.in ${CMAKE_BINARY_DIR}/jderobot-libs_${PACKAGE_VERSION}_all.info)
configure_file(${MAKE_PACKAGE_CONFIG_DIR}/jderobot-tools.info.in ${CMAKE_BINARY_DIR}/jderobot-tools_${PACKAGE_VERSION}_all.info)
configure_file(${MAKE_PACKAGE_CONFIG_DIR}/jderobot-drivers.info.in ${CMAKE_BINARY_DIR}/jderobot-drivers_${PACKAGE_VERSION}_all.info)
configure_file(${MAKE_PACKAGE_CONFIG_DIR}/jderobot-zeroc-ice-python.info.in ${CMAKE_BINARY_DIR}/jderobot-zeroc-ice-python_${PACKAGE_VERSION}_all.info)

execute_process(
COMMAND ${MAKE_PACKAGE_EXECUTABLE}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

pip2 install --upgrade pip
pip2 install zeroc-ice
pip2 install zeroc-ice==3.6.3
File renamed without changes.
18 changes: 15 additions & 3 deletions scripts/metapackages/make_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,28 @@
build=.dpkg_pkgs
mkdir -p $build
mkdir -p debs
post=../scripts/cmake/postinst
for pkginfo in *.info
do
pkgname=${pkginfo%.info}
dr=${pkginfo%_*_*.info}
drname=$(echo $dr | sed 's/jderobot-//')
# echo $pkgname
echo $drname
target=$build/$pkgname/DEBIAN
mkdir -p $target
cp $pkginfo $target/control
cp $post $target
chmod 555 $target/postinst
FILE=../scripts/cmake/$drname/postinst
if [ -f $FILE ]; then
cp $FILE $target
chmod 555 $target/postinst
fi

FILE=../scripts/cmake/$drname/postrm
if [ -f $FILE ]; then
cp $FILE $target
chmod 555 $target/postrm
fi

dpkg --build $build/$pkgname
cp $build/${pkgname}.deb ./debs
done
Expand Down

0 comments on commit fd84d0d

Please sign in to comment.