Joey Hess wrote:
Michael S. Peek wrote:
I'm trying to write my own udeb. I have a prototype that loads and runs,
but it's menu entry in the debian installer is a blank line. I don't
suppose that's really all that important, since my package is designed to
allow me to do things with preseed files that automate installation, but
from a programmer point of view I would at least like to understand *why*
it's not working.
I thought this would do it (package's name is auto-netcfg):
auto-config-0.0/debian/auto-netcfg.templates
---------------------------------------------------------------------------------------------------------
Template: debian-installer/auto-netcfg/title
Type: text
# Main menu item
_Description: Auto-configure network
Template: auto-netcfg/preseed-dir
Type: string
Description: The directory where preseeded network configuration files/dirs
may be found.
---------------------------------------------------------------------------------------------------------
Anyone have any ideas what I've got wrong?
Maybe you forgot to call dh_installdebconf in the rules file?
Nope, it's in there -- unless it's in the wrong place. I got my rules
file by copying it from the source of one of the other udebs:
auto-config-0.0/debian/rules:
---------------------------------------------------------------------------------------------------------
#!/usr/bin/make -f
build:
dh_testdir
clean:
dh_testdir
dh_testroot
dh_clean
binary-arch: build
binary-indep: build
dh_testdir
dh_testroot
dh_installdebconf
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
---------------------------------------------------------------------------------------------------------
Michael Peek
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]