#43 closed defect (fixed)
defkeymap.map.gz can't be a symlink to a file in another directory
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Book | Version: | 3.0-pre2 |
Severity: | normal | Keywords: | |
Cc: |
Description
If the keymap includes another keymap and searches for it in the current directory, defkeymap.map.gz can't be a symlink to that first keymap if it is placed in another directory. Some solutions:
1) We state explicitely the keymap name in the loadkeys script. 2) We use /etc/sysconfig/keymap to define the default keymap. 3) We use a symlink to the default keymap, but we leave it in the same directory. kbd will find it anyway.
I vote for 1.
Change History (7)
comment:1 by , 24 years ago
comment:2 by , 24 years ago
The way this will be fixed is by creating the /etc/sysconfig/kbd file and putting the default keymap in it. Then we source that file in the /etc/init.d/loadkeys file.
comment:3 by , 23 years ago
Simon,
You've been working on this one the most as it seems. What are we going to do? Can you check it kbd fixes that problem? If not, can you take care of creating /etc/sysconfig/kbd and stuff like that?
comment:4 by , 23 years ago
Owner: | changed from | to
---|
comment:5 by , 23 years ago
Having glanced at this, I think the safest way to fix it is the way Simon suggested a while back. Create an /etc/sysconfig/kbd file with the name of the default keymap in. This would scrap the need for the defkeymap symlink wouldn't it? I suggest we do it this way. If you lot agree, I'll take this one on.
comment:6 by , 23 years ago
Yes go for it. A while ago we had the discussion on lfs-discuss about this (well before you, Mark, became active in LFS development so you may have missed it) and the majority of people who responded agreed on the /etc/sysconfig/kbd thing. Perhaps call the file /etc/sysconfig/keyboard instead, which may make it easier to figure out when just glancing through the files therein.
comment:7 by , 23 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Right. I've done it. Could everyone check the new loadkeys creation to check I haven't buggered something up.
Oops, I meant to vote for 2.