It looks ok. regards On Mon, Feb 23, 2009 at 04:58:46PM +0100, Hans de Goede wrote: > Some keyboard maps are symlinks to others, we were not handling this properly, > this patch fixes this. > --- > mkinitrd | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/mkinitrd b/mkinitrd > index 4eb2e78..111d361 100755 > --- a/mkinitrd > +++ b/mkinitrd > @@ -1410,6 +1410,14 @@ if [ -f /etc/sysconfig/keyboard ] || [ -f > /etc/sysconfig/console/default.kmap ]; > findkeymap $KEYMAP > > for FN in $KEYMAPS; do > + if [ -L $FN ]; then > + TARGET=$(readlink $FN) > + TG=$(echo $TARGET | sed -e 's/\.gz$//' -e 's/\.bz2$//') > + LN=$(echo $FN | sed -e 's/\.gz$//' -e 's/\.bz2$//') > + mkdir -p "$MNTIMAGE/$(dirname $LN)" > + ln -s "$TG" "$MNTIMAGE/$LN" > + FN=$TARGET > + fi > inst $FN "$MNTIMAGE" > case "$FN" in > *.gz) > -- > 1.6.1.3 > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list -- Joel Andres Granados Brno, Czech Republic, Red Hat. _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list