Package: equivs
Version: 2.0.8
Severity: normal

Hi,

the man page of equivs suggests that it is possible to name a
directory as target of a Files: directive:

$ cat example.ctl
Section: non-free/kernel
Package: firmware-radeon-nonfree
Description: Binary firmware for Radeon graphics
 This package contains the binary firmware for Radeon graphics which
 are not included in the linux-firmware-image deb.
Copyright: LICENSE.radeon
Files:  R600_rlc.bin /lib/firmware/radeon/

This, however, does not work:
$ equivs-build example.ctl
dh_testdir
<snip>
dpkg-deb: building package `firmware-radeon-nonfree' in 
`../firmware-radeon-nonfree_1.0_all.deb'.
dh_builddeb: Compatibility levels before 5 are deprecated.

The package has been created.
Attention, the package has been created in the current directory,
not in ".." as indicated by the message above!
[21/48]mh@fan:~/packages/firmware-radeon-nonfree$ dpkg-deb -x 
firmware-radeon-nonfree_1.0_all.deb deb
[22/49]mh@fan:~/packages/firmware-radeon-nonfree$ find deb/
deb/
deb/usr
deb/usr/share
deb/usr/share/doc
deb/usr/share/doc/firmware-radeon-nonfree
deb/usr/share/doc/firmware-radeon-nonfree/README.Debian
deb/usr/share/doc/firmware-radeon-nonfree/copyright
deb/usr/share/doc/firmware-radeon-nonfree/changelog.gz
deb/lib
deb/lib/firmware
deb/lib/firmware/radeon
[23/50]mh@fan:~/packages/firmware-radeon-nonfree$ ls -al deb/lib/firmware/radeon
-rw-r--r-- 1 mh mh 3.0K Jul 31 08:56 deb/lib/firmware/radeon
[24/51]mh@fan:~/packages/firmware-radeon-nonfree$

Including the full target path including the target file name (like in
R600_rlc.bin /usr/lib/firmware/radeon/R600_rlc.bin) seems to work.

Greetings
Marc

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-zgws1 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages equivs depends on:
ii  debhelper                     8.9.3      helper programs for debian/rules
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  fakeroot                      1.16-1     tool for simulating superuser priv
ii  make                          3.81-8.1   An utility for Directing compilati
ii  perl                          5.12.4-2   Larry Wall's Practical Extraction 

equivs recommends no packages.

equivs suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to