[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: About console-setup in d-i



On Tuesday 01 May 2007 19:01, Christian Perrier wrote:
> > > >  This means that the console maintainers will have to make an
> > > > udeb with loadkeys.
> > >
> > > You mean a udeb from console-tools, named "console-tools-udeb",
> > > with only loadkeys?
> >
> > Yes.
> >
> > > If so, we should file this against console-tools.
> >
> > Or it can be filed against 'kbd'.
>
> Well, kbd was maintained by Denis if I believe the Uploaders
> field...and Denis is no longer here...while Alastair who maintains
> console-tools is active (not a lot, but active, still).

I have no idea what the real differences between kbd and console-setup are 
and what the future of both packages will be next to console-setup.
I tried creating the udeb for both and was successful for kbd (see 
attached patch).

I could probably also do it for console-tools, but that would result in a 
much bigger package as for some reason loadkeys in console-tools depends 
on three libraries from libconsole. The one in kbd only depends on libc.

Cheers,
FJP

diff -u kbd-1.12/debian/control kbd-1.12/debian/control
--- kbd-1.12/debian/control
+++ kbd-1.12/debian/control
@@ -18,0 +19,7 @@
+
+Package: kbd-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Linux console font and keytable utilities
diff -u kbd-1.12/debian/rules kbd-1.12/debian/rules
--- kbd-1.12/debian/rules
+++ kbd-1.12/debian/rules
@@ -15,6 +15,7 @@
 ubindir=${tmpdir}/usr/bin
 usbindir=${tmpdir}/usr/sbin
 docdir=${tmpdir}/usr/share/doc/${package}
+udebdir=${debdir}/kbd-udeb
 
 QUILT := quilt --quiltrc=debian/patches/quiltrc
 
@@ -70,6 +71,9 @@
 	ln -s openvt ${bindir}/open
 	ln -s openvt.1 ${tmpdir}/usr/share/man/man1/open.1
 
+     	# install files for the udeb
+	install -m 755 ${topdir}/src/loadkeys ${udebdir}/bin
+
 binary-indep:
 	dh_testdir
 
only in patch2:
unchanged:
--- kbd-1.12.orig/debian/kbd-udeb.dirs
+++ kbd-1.12/debian/kbd-udeb.dirs
@@ -0,0 +1 @@
+bin

Attachment: pgplFojxPT5uk.pgp
Description: PGP signature


Reply to: