Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
tvheadend 4.1 build log
dpkg-buildpackage: source package tvheadend
dpkg-buildpackage: source version 4.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Andreas Öman <andreas@tvheadend.org>
dpkg-buildpackage: host architecture armhf
dh clean
dh_testdir
dh_clean
rm -f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
rm -f debian/*.debhelper.log
rm -f debian/files
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
dh build
dh_testdir
debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/pi/tvstream/tvheadend'
dh_auto_configure --
./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=\${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking
Checking support/features
checking for cc execinfo.h ... ok
checking for cc -mmmx ... fail
checking for cc -msse2 ... fail
checking for cc getloadavg ... ok
checking for cc atomic64 ... ok
checking for cc lockowner ... ok
checking for cc qsort_r ... ok
checking for cc stime ... ok
checking for cc recvmmsg ... ok
checking for cc sendmmsg ... ok
checking for cc libiconv ... fail
checking for cc libdvben50221 ... fail
checking for py module gzip ... ok
checking for bzip2 ... ok
checking for pkg openssl ... ok (detected 1.0.1k)
checking for cc linux/dvb/version.h ... ok
checking for cc libhdhomerun/hdhomerun.h ... fail
checking for pkg zlib ... ok (detected 1.2.8)
checking for pkg liburiparser ... ok (detected 0.8.0.1)
checking for pkg avahi-client ... ok (detected 0.6.31)
checking for ffmpeg libraries ... fail
checking for pkg libavcodec >=55.34.1 ... fail (detected <none>)
WARNING: none or old libav or libffmpeg libraries were detected
* use --disable-libav or --enable-libffmpeg_static
** supported ffmpeg libs n1.2+
** supported libav libs v10+
checking for cc sys/inotify.h ... ok
fetching dvb-scan files ... ok
checking for pkg dbus-1 ... ok (detected 1.8.20)
Compiler:
Using C compiler: cc
Build for arch: armv7l
Binaries:
Using PYTHON: python
Options:
cwc yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client no
hdhomerun_static no
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
imagecache yes
avahi yes
zlib yes
libav no
libffmpeg_static no
libffmpeg_static_x264 yes
inotify yes
epoll yes
uriparser yes
ccache no
tvhcsa yes
bundle no
dvbcsa no
dvben50221 no
kqueue no
dbus_1 yes
android no
tsdebug no
gtimer_check no
execinfo yes
getloadavg yes
atomic64 yes
lockowner yes
qsort_r yes
stime yes
recvmmsg yes
sendmmsg yes
py_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
upnp yes
inotify_h yes
mpegts yes
mpegts_dvb yes
Packages:
openssl 1.0.1k
zlib 1.2.8
liburiparser 0.8.0.1
avahi-client 0.6.31
dbus-1 1.8.20
Installation paths:
Prefix: /usr
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: /usr/share/man
Final Binary:
/home/pi/tvstream/tvheadend/build.linux/tvheadend
Tvheadend Data Directory:
/usr/share/tvheadend
make[1]: Leaving directory '/home/pi/tvstream/tvheadend'
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/pi/tvstream/tvheadend'
make
make[2]: Entering directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui all
make[3]: Entering directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make[4]: Entering directory '/home/pi/tvstream/tvheadend'
src/webui/static/tvh.js.gz.tmp 1217817
src/webui/static/tvh.js.gz.tmp2 982191
src/webui/static/tvh.js.gz 265015
src/webui/static/tvh.css.gz.tmp 162165
src/webui/static/tvh.css.gz.tmp2 130854
src/webui/static/tvh.css.gz 20709
src/webui/static/tvh-tv.js.gz.tmp 748617
src/webui/static/tvh-tv.js.gz.tmp2 738904
src/webui/static/tvh-tv.js.gz 206064
src/webui/static/tvh-tv.css.gz.tmp 3457
src/webui/static/tvh-tv.css.gz.tmp2 2600
src/webui/static/tvh-tv.css.gz 842
WEBUI std finished
make[4]: Leaving directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make[4]: Entering directory '/home/pi/tvstream/tvheadend'
WEBUI debug finished
make[4]: Leaving directory '/home/pi/tvstream/tvheadend'
make[3]: Leaving directory '/home/pi/tvstream/tvheadend'
CC src/uuid.o
CC src/main.o
CC src/tvhlog.o
CC src/idnode.o
CC src/prop.o
CC src/utils.o
CC src/wrappers.o
CC src/access.o
CC src/tcp.o
CC src/udp.o
CC src/url.o
CC src/http.o
CC src/notify.o
CC src/file.o
CC src/epg.o
CC src/epgdb.o
CC src/epggrab.o
CC src/spawn.o
CC src/packet.o
CC src/streaming.o
CC src/channels.o
CC src/subscriptions.o
CC src/service.o
CC src/htsp_server.o
CC src/htsmsg.o
CC src/htsmsg_binary.o
CC src/htsmsg_json.o
CC src/htsmsg_xml.o
CC src/misc/dbl.o
CC src/misc/json.o
CC src/settings.o
CC src/htsbuf.o
CC src/trap.o
CC src/avg.o
CC src/htsstr.o
CC src/tvhpoll.o
CC src/huffman.o
CC src/filebundle.o
CC src/config.o
CC src/lang_codes.o
CC src/lang_str.o
CC src/imagecache.o
CC src/tvhtime.o
CC src/service_mapper.o
CC src/input.o
CC src/httpc.o
CC src/rtsp.o
CC src/fsmonitor.o
CC src/cron.o
CC src/esfilter.o
CC src/intlconv.o
CC src/profile.o
CC src/bouquet.o
CC src/lock.o
CC src/api.o
CC src/api/api_status.o
CC src/api/api_idnode.o
CC src/api/api_input.o
CC src/api/api_channel.o
CC src/api/api_service.o
CC src/api/api_mpegts.o
CC src/api/api_epg.o
CC src/api/api_epggrab.o
CC src/api/api_imagecache.o
CC src/api/api_esfilter.o
CC src/api/api_intlconv.o
CC src/api/api_access.o
CC src/api/api_dvr.o
CC src/api/api_caclient.o
CC src/api/api_profile.o
CC src/api/api_bouquet.o
CC src/parsers/parsers.o
CC src/parsers/bitstream.o
CC src/parsers/parser_h264.o
CC src/parsers/parser_latm.o
CC src/parsers/parser_avc.o
CC src/parsers/parser_teletext.o
CC src/epggrab/module.o
CC src/epggrab/channel.o
CC src/epggrab/module/pyepg.o
CC src/epggrab/module/xmltv.o
CC src/plumbing/tsfix.o
CC src/plumbing/globalheaders.o
CC src/dvr/dvr_db.o
CC src/dvr/dvr_rec.o
CC src/dvr/dvr_autorec.o
CC src/dvr/dvr_timerec.o
CC src/dvr/dvr_config.o
CC src/dvr/dvr_cutpoints.o
CC src/webui/webui.o
CC src/webui/comet.o
CC src/webui/extjs.o
CC src/webui/simpleui.o
CC src/webui/statedump.o
CC src/webui/html.o
CC src/webui/webui_api.o
CC src/muxer.o
CC src/muxer/muxer_pass.o
CC src/muxer/muxer_tvh.o
CC src/muxer/tvh/ebml.o
CC src/muxer/tvh/mkmux.o
CC src/upnp.o
CC src/satip/server.o
CC src/satip/rtsp.o
CC src/satip/rtp.o
CC src/descrambler/descrambler.o
CC src/descrambler/caclient.o
CC src/input/mpegts.o
CC src/input/mpegts/mpegts_pid.o
CC src/input/mpegts/mpegts_input.o
CC src/input/mpegts/tsdemux.o
CC src/input/mpegts/dvb_psi_lib.o
CC src/input/mpegts/mpegts_network.o
CC src/input/mpegts/mpegts_mux.o
CC src/input/mpegts/mpegts_service.o
CC src/input/mpegts/mpegts_table.o
CC src/input/mpegts/dvb_support.o
CC src/input/mpegts/dvb_charset.o
CC src/input/mpegts/dvb_psi.o
CC src/input/mpegts/fastscan.o
CC src/input/mpegts/mpegts_mux_sched.o
CC src/input/mpegts/mpegts_network_scan.o
CC src/input/mpegts/mpegts_network_dvb.o
CC src/input/mpegts/mpegts_mux_dvb.o
CC src/input/mpegts/scanfile.o
CC src/epggrab/otamux.o
CC src/epggrab/module/eit.o
CC src/epggrab/support/freesat_huffman.o
CC src/epggrab/module/opentv.o
CC src/input/mpegts/linuxdvb/linuxdvb.o
CC src/input/mpegts/linuxdvb/linuxdvb_adapter.o
CC src/input/mpegts/linuxdvb/linuxdvb_frontend.o
CC src/input/mpegts/linuxdvb/linuxdvb_satconf.o
CC src/input/mpegts/linuxdvb/linuxdvb_lnb.o
CC src/input/mpegts/linuxdvb/linuxdvb_switch.o
CC src/input/mpegts/linuxdvb/linuxdvb_rotor.o
CC src/input/mpegts/linuxdvb/linuxdvb_en50494.o
CC src/input/mpegts/satip/satip.o
CC src/input/mpegts/satip/satip_frontend.o
CC src/input/mpegts/satip/satip_satconf.o
CC src/input/mpegts/satip/satip_rtsp.o
CC src/input/mpegts/iptv/iptv.o
CC src/input/mpegts/iptv/iptv_mux.o
CC src/input/mpegts/iptv/iptv_service.o
CC src/input/mpegts/iptv/iptv_http.o
CC src/input/mpegts/iptv/iptv_udp.o
CC src/input/mpegts/iptv/iptv_rtsp.o
CC src/input/mpegts/iptv/iptv_pipe.o
CC src/input/mpegts/tsfile/tsfile.o
CC src/input/mpegts/tsfile/tsfile_input.o
CC src/input/mpegts/tsfile/tsfile_mux.o
CC src/timeshift.o
CC src/timeshift/timeshift_filemgr.o
CC src/timeshift/timeshift_writer.o
CC src/timeshift/timeshift_reader.o
CC src/dvr/dvr_inotify.o
CC src/avahi.o
CC src/descrambler/tvhcsa.o
CC src/descrambler/cwc.o
CC src/descrambler/capmt.o
CC src/descrambler/constcw.o
CC src/descrambler/ffdecsa/ffdecsa_interface.o
CC src/descrambler/ffdecsa/ffdecsa_int.o
CC src/descrambler/libaesdec/libaesdec.o
CC src/dbus.o
CC tvheadend
make[2]: Leaving directory '/home/pi/tvstream/tvheadend'
make[1]: Leaving directory '/home/pi/tvstream/tvheadend'
dh_auto_test
dh binary
dh_testroot
dh_prep
rm -f debian/tvheadend.substvars
rm -f debian/tvheadend.*.debhelper
rm -rf debian/tvheadend/
rm -f debian/tvheadend-dbg.substvars
rm -f debian/tvheadend-dbg.*.debhelper
rm -rf debian/tvheadend-dbg/
dh_installdirs
install -d debian/tvheadend
install -d debian/tvheadend/usr/bin
install -d debian/tvheadend-dbg
debian/rules override_dh_auto_install
make[1]: Entering directory '/home/pi/tvstream/tvheadend'
dh_auto_install --destdir=debian/tvheadend
make -j1 install DESTDIR=/home/pi/tvstream/tvheadend/debian/tvheadend AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui all
make[3]: Entering directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui WEBUI=std compile-std
make[4]: Entering directory '/home/pi/tvstream/tvheadend'
WEBUI std finished
make[4]: Leaving directory '/home/pi/tvstream/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make[4]: Entering directory '/home/pi/tvstream/tvheadend'
WEBUI debug finished
make[4]: Leaving directory '/home/pi/tvstream/tvheadend'
make[3]: Leaving directory '/home/pi/tvstream/tvheadend'
CC tvheadend
install -d /home/pi/tvstream/tvheadend/debian/tvheadend/usr/bin
install /home/pi/tvstream/tvheadend/build.linux/tvheadend /home/pi/tvstream/tvheadend/debian/tvheadend/usr/bin/tvheadend
install -d /home/pi/tvstream/tvheadend/debian/tvheadend/usr/share/man/man1
install /home/pi/tvstream/tvheadend/man/tvheadend.1 /home/pi/tvstream/tvheadend/debian/tvheadend/usr/share/man/man1/tvheadend.1
for bundle in docs/html docs/docresources src/webui/static data/conf data/dvb-scan; do \
mkdir -p /home/pi/tvstream/tvheadend/debian/tvheadend/usr/share/tvheadend/$bundle ;\
cp -LR /home/pi/tvstream/tvheadend/$bundle/* /home/pi/tvstream/tvheadend/debian/tvheadend/usr/share/tvheadend/$bundle ;\
done
find /home/pi/tvstream/tvheadend/debian/tvheadend/usr/share/tvheadend -name .git -exec rm -rf {} \; &>/dev/null || /bin/true
make[2]: Leaving directory '/home/pi/tvstream/tvheadend'
make[1]: Leaving directory '/home/pi/tvstream/tvheadend'
dh_installdocs
install -g 0 -o 0 -d debian/tvheadend/usr/share/doc/tvheadend
cp -a README.md debian/tvheadend/usr/share/doc/tvheadend
cp -a LICENSE.md debian/tvheadend/usr/share/doc/tvheadend
chown -R 0:0 debian/tvheadend/usr/share/doc
chmod -R go=rX debian/tvheadend/usr/share/doc
chmod -R u\+rw debian/tvheadend/usr/share/doc
install -g 0 -o 0 -m 644 -p debian/copyright debian/tvheadend/usr/share/doc/tvheadend/copyright
install -g 0 -o 0 -d debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg
install -g 0 -o 0 -m 644 -p debian/copyright debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg/copyright
dh_installchangelogs
install -o 0 -g 0 -p -m644 debian/changelog debian/tvheadend/usr/share/doc/tvheadend/changelog
install -o 0 -g 0 -p -m644 debian/changelog debian/tvheadend-dbg/usr/share/doc/tvheadend-dbg/changelog
dh_installman
man --recode UTF-8 ./tvheadend\.1 > tvheadend\.1\.new
chmod 644 tvheadend.1.new
mv -f tvheadend.1.new tvheadend.1
dh_installdebconf
install -o 0 -g 0 -d debian/tvheadend/DEBIAN
sed s/#DEBHELPER#// < debian/tvheadend.config > debian/tvheadend/DEBIAN/config
chown 0:0 debian/tvheadend/DEBIAN/config
chmod 755 debian/tvheadend/DEBIAN/config
install -o 0 -g 0 -m 644 -p debian/tvheadend.templates debian/tvheadend/DEBIAN/templates
(grep -s -v misc:Depends debian/tvheadend.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/tvheadend.substvars.new
mv debian/tvheadend.substvars.new debian/tvheadend.substvars
echo "# Automatically added by dh_installdebconf">> debian/tvheadend.postrm.debhelper
sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/tvheadend.postrm.debhelper
echo '# End automatically added section' >> debian/tvheadend.postrm.debhelper
install -o 0 -g 0 -d debian/tvheadend-dbg/DEBIAN
dh_pysupport
/usr/share/python-support/private/movemodules debian/tvheadend
/usr/share/python-support/private/movemodules debian/tvheadend-dbg
dh_installinit
install -d debian/tvheadend/etc/init
install -p -m644 debian/tvheadend.upstart debian/tvheadend/etc/init/tvheadend.conf
install -d debian/tvheadend/etc/default
install -p -m644 debian/tvheadend.default debian/tvheadend/etc/default/tvheadend
install -d debian/tvheadend/etc/init.d
install -p -m755 debian/tvheadend.init debian/tvheadend/etc/init.d/tvheadend
echo "# Automatically added by dh_installinit">> debian/tvheadend.postinst.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postinst-init >> debian/tvheadend.postinst.debhelper
echo '# End automatically added section' >> debian/tvheadend.postinst.debhelper
echo "# Automatically added by dh_installinit">> debian/tvheadend.prerm.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/prerm-init >> debian/tvheadend.prerm.debhelper
echo '# End automatically added section' >> debian/tvheadend.prerm.debhelper
echo "# Automatically added by dh_installinit">> debian/tvheadend.postrm.debhelper
sed "s/#SCRIPT#/tvheadend/;s/#INITPARMS#/defaults/;s/#ERROR_HANDLER#/exit \$?/" /usr/share/debhelper/autoscripts/postrm-init >> debian/tvheadend.postrm.debhelper
echo '# End automatically added section' >> debian/tvheadend.postrm.debhelper
dh_perl
dh_link
dh_compress
cd debian/tvheadend
chmod a-x usr/share/man/man1/tvheadend.1 usr/share/doc/tvheadend/changelog
gzip -9nf usr/share/man/man1/tvheadend.1 usr/share/doc/tvheadend/changelog
cd '/home/pi/tvstream/tvheadend'
cd debian/tvheadend-dbg
chmod a-x usr/share/doc/tvheadend-dbg/changelog
gzip -9nf usr/share/doc/tvheadend-dbg/changelog
cd '/home/pi/tvstream/tvheadend'
dh_fixperms
find debian/tvheadend -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/tvheadend ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/tvheadend/usr/share/doc -type f ! -regex 'debian/tvheadend/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/tvheadend/usr/share/man debian/tvheadend/usr/man/ debian/tvheadend/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/tvheadend/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/tvheadend/usr/bin -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/tvheadend/etc/init.d -type f -print0 2>/dev/null | xargs -0r chmod a+x
find debian/tvheadend/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
find debian/tvheadend-dbg -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
find debian/tvheadend-dbg ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
find debian/tvheadend-dbg/usr/share/doc -type f ! -regex 'debian/tvheadend-dbg/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 755
find debian/tvheadend-dbg/usr/share/man debian/tvheadend-dbg/usr/man/ debian/tvheadend-dbg/usr/X11*/man/ -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg -perm -5 -type f \( -name '*.so.*' -or -name '*.so' -or -name '*.la' -or -name '*.a' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg -perm -5 -type f \( -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 644
find debian/tvheadend-dbg/usr/lib/arm-linux-gnueabihf/perl5/5.20 debian/tvheadend-dbg/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X
find debian/tvheadend-dbg/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w
debian/rules override_dh_strip
make[1]: Entering directory '/home/pi/tvstream/tvheadend'
dh_strip --dbg-package=tvheadend-dbg
install -d debian/tvheadend-dbg/usr/lib/debug//usr/bin
objcopy --only-keep-debug debian/tvheadend/usr/bin/tvheadend debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend
chmod 644 debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend
strip --remove-section=.comment --remove-section=.note debian/tvheadend/usr/bin/tvheadend
objcopy --add-gnu-debuglink debian/tvheadend-dbg/usr/lib/debug//usr/bin/tvheadend debian/tvheadend/usr/bin/tvheadend
make[1]: Leaving directory '/home/pi/tvstream/tvheadend'
dh_makeshlibs
rm -f debian/tvheadend/DEBIAN/shlibs
rm -f debian/tvheadend-dbg/DEBIAN/shlibs
dh_shlibdeps
dpkg-shlibdeps -Tdebian/tvheadend.substvars debian/tvheadend/usr/bin/tvheadend
dh_installdeb
perl -pe 's~#DEBHELPER#~qx{cat debian/tvheadend.postinst.debhelper}~eg' < debian/tvheadend.postinst > debian/tvheadend/DEBIAN/postinst
chown 0:0 debian/tvheadend/DEBIAN/postinst
chmod 755 debian/tvheadend/DEBIAN/postinst
printf '#!/bin/sh
set -e
' > debian/tvheadend/DEBIAN/prerm
cat debian/tvheadend.prerm.debhelper >> debian/tvheadend/DEBIAN/prerm
chown 0:0 debian/tvheadend/DEBIAN/prerm
chmod 755 debian/tvheadend/DEBIAN/prerm
perl -pe 's~#DEBHELPER#~qx{cat debian/tvheadend.postrm.debhelper}~eg' < debian/tvheadend.postrm > debian/tvheadend/DEBIAN/postrm
chown 0:0 debian/tvheadend/DEBIAN/postrm
chmod 755 debian/tvheadend/DEBIAN/postrm
find debian/tvheadend/etc -type f -printf '/etc/%P
' | LC_ALL=C sort >> debian/tvheadend/DEBIAN/conffiles
chmod 644 debian/tvheadend/DEBIAN/conffiles
dh_gencontrol
dpkg-gencontrol -ptvheadend -ldebian/changelog -Tdebian/tvheadend.substvars -Pdebian/tvheadend
chmod 644 debian/tvheadend/DEBIAN/control
chown 0:0 debian/tvheadend/DEBIAN/control
echo misc:Depends= >> debian/tvheadend-dbg.substvars
dpkg-gencontrol -ptvheadend-dbg -ldebian/changelog -Tdebian/tvheadend-dbg.substvars -Pdebian/tvheadend-dbg
chmod 644 debian/tvheadend-dbg/DEBIAN/control
chown 0:0 debian/tvheadend-dbg/DEBIAN/control
dh_md5sums
(cd debian/tvheadend >/dev/null ; find . -type f ! -path "./etc/default/tvheadend" ! -path "./etc/init.d/tvheadend" ! -path "./etc/init/tvheadend.conf" ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/tvheadend/DEBIAN/md5sums
chown 0:0 debian/tvheadend/DEBIAN/md5sums
(cd debian/tvheadend-dbg >/dev/null ; find . -type f ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
chmod 644 debian/tvheadend-dbg/DEBIAN/md5sums
chown 0:0 debian/tvheadend-dbg/DEBIAN/md5sums
dh_builddeb
dpkg-deb --build debian/tvheadend ..
dpkg-deb: a(z) „tvheadend” csomag építése itt: „../tvheadend_4.1_armhf.deb”.
dpkg-deb --build debian/tvheadend-dbg ..
dpkg-deb: a(z) „tvheadend-dbg” csomag építése itt: „../tvheadend-dbg_4.1_armhf.deb”.
dpkg-buildpackage: binary-only upload (no source included)
doozer-versioned-artifact:/home/pi/tvstream/tvheadend/../tvheadend_4.1_armhf.deb:deb:application/x-deb:tvheadend_4.1_armhf.deb
doozer-versioned-artifact:/home/pi/tvstream/tvheadend/../tvheadend-dbg_4.1_armhf.deb:deb:application/x-deb:tvheadend-dbg_4.1_armhf.deb
doozer-versioned-artifact:/home/pi/tvstream/tvheadend/../tvheadend_4.1_armhf.changes:changes:text/plain:tvheadend_4.1_armhf.changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment