logo       

postinst question: msg#00195

linux.debian.devel.mentors

Subject: postinst question


I must be missing something here, I want the package to show a not when
installing to indicate that custom builds _are_ very useful for the time
being, but guess what, it's not asking :(

Any help?

[marc@scorpius nvrec-20020624]$ sudo ./debian/nvrec.config
debconf (developer): frontend started
debconf (developer): Trying to find a templates file..
debconf (developer): Trying ./debian/nvrec.config.templates
debconf (developer): Trying ./debian/nvrec.templates
debconf (developer): I guess it is ./debian/nvrec.templates
debconf (developer): frontend running, package name is
debconf (developer): starting ./debian/nvrec.config
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- INPUT high nvrec/nvrec_build_optimised
debconf (developer): --> 0 question will be asked
[marc@scorpius nvrec-20020624]$ cat debian/nvrec.config
#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule
db_version 2.0

db_input high nvrec/nvrec_build_optimised

[marc@scorpius nvrec-20020624]$ cat debian/nvrec.templates
Template: nvrec/nvrec_build_optimised
Type: note
Default: true
Description: build optimised version of nvrec
The nvrec tools are very efficient for captureing video. Until this
package will have run-time CPU detection that lets you benefit from
the full power the machine it runs on, you might want to build a
custom package for your machine.
.
the following will do this for you:
.
apt-get source nvrec
DEB_BUILD_OPTIONS=optimise fakeroot dpkg-buildpackage


--
greetz, marc

BOFH excuse #41:

interrupt configuration error
pgp Key ID: 0xD3562DE1
Key fingerprint = 890C E47F 1589 F240 9CC8 C60C 510A 63D3 D356 2DE1
Linux mykene 2.4.19-pre4 #1 Tue Apr 2 22:47:06 CEST 2002 i686 unknown

Attachment: pgpXEGcSib41F.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise