Paketbau mittels dh_make und dpkg-buildpackage: keine Binaries im resultierenden Paket enthalten ?!
Hallo zusammen !
Ich habe Probleme bei der Erstellung eines Debian Paketes. Genauer geht es
um die Erstellung eines iproute2 Pakets, mit integriertem Patch von
http://www.adsl-optimizer.dk/ .
Meine vorgehensweise habe ich
http://www.linux-user.de/ausgabe/2008/02/088/index.html entnommen. Hier kurz
meine Schritte
Auf http://www.adsl-optimizer.dk/ADSL-optimizer/patches/mainline_2.6.24/
nachgeschaut und Quelltextarchiv
http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-2.6.
24-rc7.tar.bz2 runtergeladen.
Enttart, gepatched, dann wieder getart.
Nun liegt folgende Struktur vor.
-rw-r--r-- 1 root root 2218 May 6 2008 07_atm_adsl.patch
-rw-r--r-- 1 root root 1843200 Dec 5 06:40
iproute2-2.6.24-rc7-07_atm_adsl.tar
drwxr-xr-x 15 root root 4096 Dec 5 07:18 iproute2-2.6.24-rc7-patched
-rw-r--r-- 1 root root 1843200 Jan 8 2008 iproute2-2.6.24-rc7.tar
cd iproute2-2.6.24-rc7-patched
dh_make -e lala@lala.de -f ../iproute2-2.6.24-rc7-07_atm_adsl.tar
> b für multi binary ?
/debian/control angepasst
>Source: iproute2
>Section: net
>Priority: extra
>Maintainer: Alexander Wirt <formorer@debian.org>
>Build-Depends: debhelper (>= 5), autotools-dev
>Standards-Version: 3.7.2
>
>Package: iproute2
>Architecture: i386
>Depends: ${shlibs:Depends}, ${misc:Depends}
>Description: Professional tools to control the networking in Linux kernels
> This is `iproute', the professional set of tools to control the
> networking behavior in kernels 2.2.x and later.
> .
> At least, the options CONFIG_NETLINK and CONFIG_NETLINK_DEV (or
> CONFIG_RTNETLINK) must be compiled into the running kernel.
> .
> This package is also known as iproute2 upstream and in some
> documentation.
> Package: iproute2-doc
> patch applied: 07_atm_adsl.patch
Nun mittels
Fakeroot dpkg-buildpackage
Das paket erzeugt.
Nun meine Frage:
Liste ich den Inhalt meines frisch erzeugten Paketes auf sehe ich das da
nicht viel drin ist. Zum Vergleich mal die dpkg --contents meines Pakets und
des original Paketes von
http://ftp.de.debian.org/debian/pool/main/i/iproute/iproute_20061002-3_i386.
deb
dpkg --contents iproute2_2.6.24-rc7-patched-1_i386.deb
drwxr-xr-x root/root 0 2008-12-05 07:19 ./
drwxr-xr-x root/root 0 2008-12-05 07:19 ./usr/
drwxr-xr-x root/root 0 2008-12-05 07:19 ./usr/share/
drwxr-xr-x root/root 0 2008-12-05 07:19 ./usr/share/doc/
drwxr-xr-x root/root 0 2008-12-05 07:19 ./usr/share/doc/iproute2/
-rw-r--r-- root/root 601 2008-12-05 06:49
./usr/share/doc/iproute2/copyright
-rw-r--r-- root/root 3595 2008-01-08 17:59
./usr/share/doc/iproute2/README.iproute2+tc
-rw-r--r-- root/root 1990 2008-01-08 17:59
./usr/share/doc/iproute2/README.lnstat
-rw-r--r-- root/root 169 2008-12-05 06:49
./usr/share/doc/iproute2/README.Debian
-rw-r--r-- root/root 1112 2008-01-08 17:59
./usr/share/doc/iproute2/README
-rw-r--r-- root/root 5868 2008-01-08 17:59
./usr/share/doc/iproute2/changelog.gz
-rw-r--r-- root/root 1266 2008-01-08 17:59
./usr/share/doc/iproute2/README.decnet
-rw-r--r-- root/root 195 2008-12-05 06:49
./usr/share/doc/iproute2/changelog.Debian.gz
-rw-r--r-- root/root 2081 2008-01-08 17:59
./usr/share/doc/iproute2/README.distribution.gz
drwxr-xr-x root/root 0 2008-12-05 07:18 ./usr/sbin/
drwxr-xr-x root/root 0 2008-12-05 07:18 ./usr/bin/
dpkg --contents iproute_20061002-3_i386.deb
drwxr-xr-x root/root 0 2006-12-14 21:42 ./
drwxr-xr-x root/root 0 2006-12-14 21:42 ./bin/
-rwxr-xr-x root/root 154444 2006-12-14 21:42 ./bin/ip
drwxr-xr-x root/root 0 2006-12-14 21:42 ./sbin/
-rwxr-xr-x root/root 19828 2006-12-14 21:42 ./sbin/rtmon
-rwxr-xr-x root/root 201596 2006-12-14 21:42 ./sbin/tc
-rwxr-xr-x root/root 1420 2006-12-14 21:42 ./sbin/netbug
-rwxr-xr-x root/root 23244 2006-12-14 21:42 ./sbin/rtacct
-rwxr-xr-x root/root 59172 2006-12-14 21:42 ./sbin/ss
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/bin/
-rwxr-xr-x root/root 10904 2006-12-14 21:42 ./usr/bin/lnstat
-rwxr-xr-x root/root 12740 2006-12-14 21:42 ./usr/bin/nstat
-rwxr-xr-x root/root 60 2006-10-02 22:13 ./usr/bin/routef
-rwxr-xr-x root/root 1262 2006-10-02 22:13 ./usr/bin/routel
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/lib/
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/lib/tc/
-rw-r--r-- root/root 7912 2006-12-14 21:42 ./usr/lib/tc/q_atm.so
-rw-r--r-- root/root 9168 2006-12-14 21:42 ./usr/lib/tc/q_netem.so
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/sbin/
-rwxr-xr-x root/root 26852 2006-12-14 21:42 ./usr/sbin/arpd
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/man/
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/man/man3/
-rw-r--r-- root/root 1656 2006-10-02 22:13
./usr/share/man/man3/libnetlink.3.gz
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/man/man8/
-rw-r--r-- root/root 4850 2006-10-02 22:13
./usr/share/man/man8/tc-cbq.8.gz
-rw-r--r-- root/root 2181 2006-10-02 22:13
./usr/share/man/man8/tc-htb.8.gz
-rw-r--r-- root/root 1016 2006-10-02 22:13
./usr/share/man/man8/tc-pbfifo.8.gz
-rw-r--r-- root/root 1014 2006-12-14 21:42
./usr/share/man/man8/tc-pfifo.8.gz
-rw-r--r-- root/root 2579 2006-12-14 21:42
./usr/share/man/man8/tc-prio.8.gz
-rw-r--r-- root/root 1956 2006-10-02 22:13
./usr/share/man/man8/tc-red.8.gz
-rw-r--r-- root/root 1750 2006-10-02 22:13
./usr/share/man/man8/tc-sfq.8.gz
-rw-r--r-- root/root 2505 2006-10-02 22:13
./usr/share/man/man8/tc-tbf.8.gz
-rw-r--r-- root/root 4008 2006-12-14 21:42 ./usr/share/man/man8/tc.8.gz
-rw-r--r-- root/root 1039 2006-12-14 21:42
./usr/share/man/man8/lnstat.8.gz
-rw-r--r-- root/root 1001 2006-12-14 21:42
./usr/share/man/man8/rtmon.8.gz
-rw-r--r-- root/root 1533 2006-12-14 21:42 ./usr/share/man/man8/ss.8.gz
-rw-r--r-- root/root 12737 2006-12-14 21:42 ./usr/share/man/man8/ip.8.gz
-rw-r--r-- root/root 5689 2006-12-14 21:42
./usr/share/man/man8/tc-cbq-details.8.gz
-rw-r--r-- root/root 890 2006-10-02 22:13
./usr/share/man/man8/tc-pfifo_fast.8.gz
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/doc/
drwxr-xr-x root/root 0 2006-12-14 21:42 ./usr/share/doc/iproute/
-rw-r--r-- root/root 257 2006-12-14 21:42
./usr/share/doc/iproute/README.Debian
-rw-r--r-- root/root 1734 2006-12-14 21:42
./usr/share/doc/iproute/copyright
-rw-r--r-- root/root 4692 2006-12-14 21:42
./usr/share/doc/iproute/changelog.Debian.gz
drwxr-xr-x root/root 0 2006-12-14 21:42 ./etc/
drwxr-xr-x root/root 0 2006-10-02 22:13 ./etc/iproute2/
-rw-r--r-- root/root 59 2006-10-02 22:13 ./etc/iproute2/ematch_map
-rw-r--r-- root/root 286 2006-10-02 22:13 ./etc/iproute2/rt_dsfield
-rw-r--r-- root/root 304 2006-10-02 22:13 ./etc/iproute2/rt_protos
-rw-r--r-- root/root 112 2006-10-02 22:13 ./etc/iproute2/rt_realms
-rw-r--r-- root/root 92 2006-10-02 22:13 ./etc/iproute2/rt_scopes
-rw-r--r-- root/root 87 2006-10-02 22:13 ./etc/iproute2/rt_tables
lrwxrwxrwx root/root 0 2006-12-14 21:42 ./sbin/ip -> /bin/ip
lrwxrwxrwx root/root 0 2006-12-14 21:42 ./usr/bin/ctstat -> lnstat
lrwxrwxrwx root/root 0 2006-12-14 21:42 ./usr/bin/rtstat -> lnstat
Was habe ich falsch gemacht ?
Reply to: