mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
debian: update upload_debs.sh
This commit is contained in:
parent
635e73e7e0
commit
7bd5f8047a
@ -4,7 +4,7 @@ Priority: optional
|
||||
Maintainer: Ettus Research <uhd.maintainer@emerson.com>
|
||||
Uploaders: Joerg Hofrichter <joerg.hofrichter@emerson.com>
|
||||
Build-Depends: cmake,
|
||||
debhelper (>= 12),
|
||||
debhelper-compat (= 12),
|
||||
libboost-dev,
|
||||
libboost-filesystem-dev,
|
||||
libboost-program-options-dev,
|
||||
|
||||
@ -4,7 +4,7 @@ Priority: optional
|
||||
Maintainer: Ettus Research <uhd.maintainer@emerson.com>
|
||||
Uploaders: Joerg Hofrichter <joerg.hofrichter@emerson.com>
|
||||
Build-Depends: cmake,
|
||||
debhelper (>= 12),
|
||||
debhelper-compat (= 12),
|
||||
libboost-dev,
|
||||
libboost-filesystem-dev,
|
||||
libboost-program-options-dev,
|
||||
|
||||
@ -95,11 +95,6 @@ fi
|
||||
# create package info for each version. We need to store the original outside the
|
||||
# UHD repo, or dpkg-source will detect the change and error out.
|
||||
#
|
||||
cp -r host/cmake/debian .
|
||||
cp host/utils/uhd-usrp.rules debian/uhd-host.udev
|
||||
find host/docs -name '*.1' > debian/uhd-host.manpages
|
||||
rm -f debian/postinst.in debian/postrm.in debian/preinst.in debian/prerm.in
|
||||
|
||||
if [ $FORCE_YES -ne 1 ]
|
||||
then
|
||||
echo "Proceed to generate package info? (yes/no)"
|
||||
@ -112,6 +107,16 @@ fi
|
||||
|
||||
for RELEASE in ${RELEASES}
|
||||
do
|
||||
rm -rf debian
|
||||
cp -r ${UHD_TOP_LEVEL}/host/cmake/debian .
|
||||
if [ -f debian/control.${RELEASE} ]
|
||||
then
|
||||
cp debian/control.${RELEASE} debian/control
|
||||
fi
|
||||
rm -f debian/control.*
|
||||
cp host/utils/uhd-usrp.rules debian/uhd-host.udev
|
||||
find host/docs -name '*.1' > debian/uhd-host.manpages
|
||||
rm -f debian/postinst.in debian/postrm.in debian/preinst.in debian/prerm.in
|
||||
cp debian/changelog ../changelog.backup
|
||||
sed -i "s/${ORIG_RELEASE}/${RELEASE}/;s/0ubuntu1/0ubuntu1~${RELEASE}1/" debian/changelog
|
||||
debuild -S -i -sa
|
||||
|
||||
Loading…
Reference in New Issue
Block a user