Skip to contentSkip to conversation

fix pulling initscripts in keymaps

PATCH New Denis 'GNUtoo' Carikli 3 participants 5 messages Jul 17, 2010 – Jul 18, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix pulling initscripts in keymaps

Hi,
I've an issue with initscripts(instead of my specific distro initscript)
beeing pulled by keymaps.

As it may be considered core, Here's a patch attached.

Denis.

#1 lore raw

PATCH 1/1 keymaps: remove initscripts dependency

Multiple initscripts version exist,for instance
initscripts-shr,initscripts-openmoko,initscripts etc...
Depending on a particular initscript is not a good idea:

For instance on SHR(distro) and htcdream(machine)
it install initscripts instead of initscripts-shr in shr-image,which result in having the /etc/init.d/devices which is,according to mickeyl, an init script for devfs.
if this init script is present(with the corresponding rc links) it get executed,which causes some devices nodes to lack.
which prevent sound,modem and maybe other driver from working on the htcdream.

Thanks mrmoku in #openmoko-cdevel in Freenode
for helping me finding the offending recipe.
Thanks mickeyl in #openmoko-cdevel in Freenode for telling me
that usually packages don't depend on the initscripts

---
 recipes/keymaps/keymaps_1.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/keymaps/keymaps_1.0.bb +2 -2
index 25a93c2..f8cd77f 100644
@@ -1,9 +1,9 @@
 DESCRIPTION = "Keyboard map"
 SECTION = "base"
-RDEPENDS_${PN} = "initscripts console-tools"
+RDEPENDS_${PN} = "console-tools"
 LICENSE = "GPL"
 PACKAGE_ARCH = "${MACHINE}"
-PR = "r24"
+PR = "r25"
 
 inherit update-rc.d
 
Signature · 1 line
1.7.0.4