Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] 0.12.0 feature release review

arch-projects has been fairly quietly recently, so here's a patch dump
for interested parties to amuse themselves with. This is what I'm looking
at merging for the next release. Most of it is fairly innocuous and there's
the usual occurences of cleanup and bugfixing, but there's a few things worth
explicitly calling out:

* I'm merging all of the block device build hooks into a single "block"
  hook. So previously, if your array had "pata sata scsi" in it, you
  now can replace all that with "block".  Since this will also include
  things like "usb" and "virtio", there's some nice surprises for people
  who previously had to add these things explicitly.

* Addition of a modconf hook, which will be added by default. Rather
  than have people explicitly add their modprobe.conf (which is no
  longer the "right thing" as per upstream, this hook will just add
  the entirety of /{etc,lib}/modprobe.d to the image. I think this
  is generally the right thing to do as it would be rare that you
  want an option in early userspace and not later, and vice versa.

* Dropping support for /etc/rc.conf. This means that the keymap and
  consolefont hooks will no longer read from /etc/rc.conf, but only
  from /etc/vconsole.conf and /etc/locale.conf. We've been slowly
  dropping this support in other places, and I think it makes sense
  to do this here as well.

* Dropping support for old hook API. No one should really notice this.
  I personally did the work to update the hooks in the repos when I
  introduced the new API several months ago, and I prodded some of
  the hook authors in the AUR to update.

(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 01/18] shutdown: share dm teardown with lvm

lvm is a chatty bitch and wants to tell all its friends about what it's
doing. Mostly this just goes poorly with udev, but now its lvmetad as
well. Use dmsetup as a shortcut and just tear down the volumes without
worrying about the needless accounting.

Guys? GUYS?!?! GUYS IM TEARING STUFF DOWN NOW!!!11!!!111

Fixes FS#32680.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 shutdown | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/shutdown b/shutdown
index e13e6fb..88ec9ca 100644
--- a/shutdown
+++ b/shutdown
 <at>  <at>  -16,18 +16,10  <at>  <at>  stop_device() {
             read devname <"$1/dm/name"
             cryptsetup remove "$devname"
             ;;
-        dm)
+        lvm|dm)
             read devname <"$1/dm/name"
             dmsetup remove "$devname"
             ;;
-        lvm)
-            # disassemble the parent VG
-            read devname <"$1/dm/name"
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 04/18] usbinput: use autodetection on newer kernels

This is a partial "revert" of 822a88700e since kernels as of 3.5 add
module aliases for hid devices.

Fixes FS#32575.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 install/usbinput | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/install/usbinput b/install/usbinput
index f427600..a292345 100644
--- a/install/usbinput
+++ b/install/usbinput
 <at>  <at>  -1,9 +1,20  <at>  <at> 
 #!/bin/bash

 build() {
+    local major minor
+
     add_checked_modules -f '(_cs|sl811_hcd|isp116x_hcd)' '/usb/host'
-    add_all_modules '/hid/hid-'
-    add_module 'usbhid?'
+
+    # As of 3.5, modaliases seem to be exported for HID
+    # devices, so we can leverage autodetection.
+    IFS=.- read major minor _ <<<"$KERNELVERSION"
+    if (( major > 3 || (major == 3 && minor >= 5) )); then
+        add_checked_modules '/hid/hid'
+    else
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 02/18] shutdown: avoid talking to udev via dmsetup

Similar to c257b0d7b4dd.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 shutdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shutdown b/shutdown
index 88ec9ca..c705541 100644
--- a/shutdown
+++ b/shutdown
 <at>  <at>  -18,7 +18,7  <at>  <at>  stop_device() {
             ;;
         lvm|dm)
             read devname <"$1/dm/name"
-            dmsetup remove "$devname"
+            dmsetup --noudevsync remove "$devname"
             ;;
         raid*)
             # wait for arrays with external metadata to be marked as
--

-- 
1.8.0

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 03/18] shutdown: copy kexec from host if requested and not available

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 shutdown | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/shutdown b/shutdown
index c705541..dc293d4 100644
--- a/shutdown
+++ b/shutdown
 <at>  <at>  -50,10 +50,28  <at>  <at>  disassemble() {
     done
 }

+copy_binary_from_host() {
+    local bin=$1
+
+    # hardcode a sane PATH
+    for p in '/usr/sbin' '/usr/bin' '/sbin' '/bin'; do
+        if [ -e "/oldroot/$p/$bin" ]; then
+            cp "/oldroot/$p/$bin" "/usr/bin/$1"
+            return 0
+        fi
+    done
+
+    return 1
+}
+
 # XXX: Discourage libdevmapper from thinking that udev
 # might be in a useful state. FS#30995.
 rm -rf /run/udev
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 05/18] init: condense early module loading

Since mkinitcpio rewrites its runtime config, we can guarantee that
these variable are sanitized of extraneous whitespace. Meld the two
calls together, ensuring that we retain the ordering, but only call
modprobe once.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 init | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/init b/init
index b95565d..3351cfc 100644
--- a/init
+++ b/init
 <at>  <at>  -24,8 +24,9  <at>  <at>  done

 run_hookfunctions 'run_earlyhook' 'early hook' $EARLYHOOKS

-[ -n "${earlymodules//[[:space:]]}" ] && modprobe -qab ${earlymodules//,/ }
-[ -n "${MODULES//[[:space:]]}" ] && modprobe -qab $MODULES
+if [ -n "$earlymodules$MODULES" ]; then
+    modprobe -qab ${earlymodules//,/ } $MODULES
+fi

 # If rootdelay is empty or not a non-negative integer, set it to 10
 if [ -z "${rootdelay}" ] || ! [ "${rootdelay}" -ge 0 ]; then
--

-- 
1.8.0

(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 08/18] init: declare defaults earlier

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 init | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/init b/init
index b375e72..f3f9253 100644
--- a/init
+++ b/init
 <at>  <at>  -1,6 +1,8  <at>  <at> 
 #!/usr/bin/ash

 udevd_running=0
+mount_handler=default_mount_handler
+init=/sbin/init

 if [ -x /usr/bin/systemd-timestamp ]; then
     RD_TIMESTAMP=$(systemd-timestamp)
 <at>  <at>  -43,12 +45,11  <at>  <at>  unset rootdev
 fsck_root

 # Mount root at /new_root
-${mount_handler:-default_mount_handler} /new_root
+"$mount_handler" /new_root

 run_hookfunctions 'run_latehook' 'late hook' $LATEHOOKS
 run_hookfunctions 'run_cleanuphook' 'cleanup hook' $CLEANUPHOOKS

-init=${init:-/sbin/init}
 if [ "$(stat -c %D /)" = "$(stat -c %D /new_root)" ]; then
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 07/18] init: remove needless workaround for empty rootdelay

Adjust the test in poll_device to look for either an unset OR an empty
2nd parameter.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 init           | 6 +-----
 init_functions | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/init b/init
index 3351cfc..b375e72 100644
--- a/init
+++ b/init
 <at>  <at>  -1,4 +1,5  <at>  <at> 
 #!/usr/bin/ash
+
 udevd_running=0

 if [ -x /usr/bin/systemd-timestamp ]; then
 <at>  <at>  -28,11 +29,6  <at>  <at>  if [ -n "$earlymodules$MODULES" ]; then
     modprobe -qab ${earlymodules//,/ } $MODULES
 fi

-# If rootdelay is empty or not a non-negative integer, set it to 10
-if [ -z "${rootdelay}" ] || ! [ "${rootdelay}" -ge 0 ]; then
-    rootdelay=10
-fi
-
 run_hookfunctions 'run_hook' 'hook' $HOOKS

(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 06/18] init: use exponential backoff in poll_device

Start at .1 second and double the interval, capping at 1s.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 init_functions | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/init_functions b/init_functions
index 3ac0588..2bd07bd 100644
--- a/init_functions
+++ b/init_functions
 <at>  <at>  -11,14 +11,24  <at>  <at>  poll_device() {
     local device=$1 seconds=${2//[!0-9]}

     [ -z "$seconds" ] && seconds=10
+    deciseconds=$(( seconds * 10 ))
+
+    # tenths of a second
+    sleepinterval=1

     [ -b "$device" ] && return 0

     if [ "$udevd_running" -eq 1 ]; then
         msg "Waiting $seconds seconds for device $device ..." >&2
-        while [ ! -b "$device" -a "$seconds" -gt 0 ]; do
-            sleep 1
-            seconds=$(( $seconds - 1 ))
+        while [ ! -b "$device" -a "$deciseconds" -gt 0 ]; do
+            if [ "$sleepinterval" -ge 10 ]; then
+                sleep 1
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 09/18] init: remove unneeded variable expansion

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 init_functions | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/init_functions b/init_functions
index bdc6cc9..761f7a2 100644
--- a/init_functions
+++ b/init_functions
 <at>  <at>  -143,7 +143,7  <at>  <at>  fsck_root() {
     fsck_ret() {
         [ -z "$fsckret" ] && return 1
         [ "$fsckret" -eq "$1" ] && return 0
-        [ "$(( $fsckret & $1 ))" -eq "$1" ]
+        [ "$(( fsckret & $1 ))" -eq "$1" ]
     }

     if [ "$fsckret" -ne 255 ]; then
 <at>  <at>  -218,8 +218,8  <at>  <at>  resolve_device() {
             minor=$(( 0x0$device & 0xff ))
             ;;
         0x[0-9a-fA-F][0-9a-fA-F]*)
-            major=$(( $device >> 8 ))
-            minor=$(( $device & 0xff ))
+            major=$(( device >> 8 ))
+            minor=$(( device & 0xff ))
             ;;
     esac

--

-- 
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 13/18] functions: only show the basename of a deprecated hook

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 functions | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/functions b/functions
index e370190..491fc6c 100644
--- a/functions
+++ b/functions
 <at>  <at>  -627,7 +627,8  <at>  <at>  run_build_hook() {
             error "$script is a broken symlink to $(readlink "$script")"
             return 1
         fi
-        warning "Hook '%s' is deprecated. Replace it with '%s' in your config" "$script" "${realscript##*/}"
+        warning "Hook '%s' is deprecated. Replace it with '%s' in your config" \
+            "${script##*/}" "${realscript##*/}"
         script=$realscript
     fi

--

-- 
1.8.0

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 14/18] Makefile: copy directories, not individual files on install

This allow preservation of symlinks.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 756d42f..7bf70cf 100644
--- a/Makefile
+++ b/Makefile
 <at>  <at>  -43,9 +43,8  <at>  <at>  install: all
 	install -m644 -t $(DESTDIR)/usr/lib/initcpio init_functions functions
 	install -m644 01-memdisk.rules $(DESTDIR)/usr/lib/initcpio/udev/01-memdisk.rules

-	cp -at $(DESTDIR)/usr/lib/initcpio/hooks hooks/*
-	cp -at $(DESTDIR)/usr/lib/initcpio/install install/*
-	cp -at $(DESTDIR)/etc/mkinitcpio.d mkinitcpio.d/*
+	cp -at $(DESTDIR)/usr/lib/initcpio hooks install
+	cp -at $(DESTDIR)/etc mkinitcpio.d

 	install -m644 man/mkinitcpio.8 $(DESTDIR)/usr/share/man/man8/mkinitcpio.8
 	install -m644 man/mkinitcpio.conf.5 $(DESTDIR)/usr/share/man/man5/mkinitcpio.conf.5
--

-- 
1.8.0

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 10/18] drop support for reading /etc/rc.conf

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 install/consolefont | 9 ++-------
 install/keymap      | 5 ++---
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/install/consolefont b/install/consolefont
index 0bb1af6..bbcd7ec 100644
--- a/install/consolefont
+++ b/install/consolefont
 <at>  <at>  -3,11 +3,7  <at>  <at> 
 build() {
     # subshell to avoid namespace pollution
     (
-        for cfg in /etc/{rc,vconsole}.conf; do
-            [[ -s $cfg ]] && . "$cfg"
-        done
-
-        [[ $FONT ]] && CONSOLEFONT=$FONT
+        [[ -s /etc/vconsole.conf ]] && . /etc/vconsole.conf

         if [[ $CONSOLEFONT ]]; then
             for file in "/usr/share/kbd/consolefonts/$CONSOLEFONT". <at> (fnt|psf?(u))?(.gz); do
 <at>  <at>  -32,8 +28,7  <at>  <at>  build() {

 help() {
     cat <<HELPEOF
-This hook loads consolefont specified in locale.conf or rc.conf during early
-userspace.
+This hook loads consolefont specified in locale.conf during early userspace.
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 11/18] obsolete old-style install hook API

This removes any meaning from the definitions of MODULES, BINARIES,
FILES, and SCRIPT within install hooks. It also removed the deprecated
checked_modules() function, which is replaced by add_checked_modules().

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 functions        | 68 +++++++++++++++++---------------------------------------
 mkinitcpio       |  3 +--
 mkinitcpio.8.txt |  3 +--
 3 files changed, 22 insertions(+), 52 deletions(-)

diff --git a/functions b/functions
index 8c44e43..e370190 100644
--- a/functions
+++ b/functions
 <at>  <at>  -288,21 +288,6  <at>  <at>  add_checked_modules() {
     return $(( !${#mods[*]} ))
 }

-checked_modules() {
-    # Returns a list of modules filtered by the list of autodetected modules.
-    #   $ <at> : arguments to all_modules
-    #
-    # DEPRECATED: Use add_checked_modules instead
-    #
-
-    if (( ${#_autodetect_cache[*]} )); then
-        all_modules "$ <at> " | grep -xFf <(printf '%s\n' "${!_autodetect_cache[ <at> ]}")
-        return 1
-    else
(Continue reading)

Dave Reisner | 24 Nov 00:49 2012

[mkinitcpio] [PATCH 15/18] merge most storage hooks into a single 'block' hook

As the autodetect hook gets better with every kernel release, we can
"afford" to remove the needless segregation of block device driver hooks
and simply merge all the "vanilla" or "unstacked" block device drivers.
This should make a lot of setups, like usb or virtio, easier as you
won't need to remember to add the hook.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 install/block   | 45 +++++++++++++++++++++++++++++++++++++++++++++
 install/fw      | 22 +---------------------
 install/mmc     | 19 +------------------
 install/pata    | 22 +---------------------
 install/sata    | 23 +----------------------
 install/scsi    | 22 +---------------------
 install/usb     | 21 +--------------------
 install/virtio  | 16 +---------------
 mkinitcpio.conf | 14 +++++---------
 9 files changed, 57 insertions(+), 147 deletions(-)
 create mode 100644 install/block
 mode change 100644 => 120000 install/fw
 mode change 100644 => 120000 install/mmc
 mode change 100644 => 120000 install/pata
 mode change 100644 => 120000 install/sata
 mode change 100644 => 120000 install/scsi
 mode change 100644 => 120000 install/usb
 mode change 100644 => 120000 install/virtio

diff --git a/install/block b/install/block
new file mode 100644
index 0000000..44f2c27
(Continue reading)

Dave Reisner | 24 Nov 00:48 2012

[mkinitcpio] [PATCH 12/18] build: move manpages to subdir

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 Makefile                  |  14 +--
 lsinitcpio.1.txt          |  68 -----------
 man/lsinitcpio.1.txt      |  68 +++++++++++
 man/mkinitcpio.8.txt      | 297 ++++++++++++++++++++++++++++++++++++++++++++++
 man/mkinitcpio.conf.5.txt |  82 +++++++++++++
 mkinitcpio.8.txt          | 297 ----------------------------------------------
 mkinitcpio.conf.5.txt     |  82 -------------
 7 files changed, 454 insertions(+), 454 deletions(-)
 delete mode 100644 lsinitcpio.1.txt
 create mode 100644 man/lsinitcpio.1.txt
 create mode 100644 man/mkinitcpio.8.txt
 create mode 100644 man/mkinitcpio.conf.5.txt
 delete mode 100644 mkinitcpio.8.txt
 delete mode 100644 mkinitcpio.conf.5.txt

diff --git a/Makefile b/Makefile
index 88f82db..756d42f 100644
--- a/Makefile
+++ b/Makefile
 <at>  <at>  -16,9 +16,9  <at>  <at>  DIRS = \
 all: doc

 MANPAGES = \
-	mkinitcpio.8 \
-	mkinitcpio.conf.5 \
-	lsinitcpio.1
+	man/mkinitcpio.8 \
+	man/mkinitcpio.conf.5 \
(Continue reading)

Dave Reisner | 24 Nov 00:49 2012

[mkinitcpio] [PATCH 16/18] modconf: add new hook to simply inclusion of modprobe config

Add this as a default in the config file.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 install/modconf | 15 +++++++++++++++
 mkinitcpio.conf |  5 +----
 2 files changed, 16 insertions(+), 4 deletions(-)
 create mode 100644 install/modconf

diff --git a/install/modconf b/install/modconf
new file mode 100644
index 0000000..b06b51a
--- /dev/null
+++ b/install/modconf
 <at>  <at>  -0,0 +1,15  <at>  <at> 
+#!/bin/bash
+
+build() {
+  add_full_dir /etc/modprobe.d
+  add_full_dir /usr/lib/modprobe.d
+}
+
+help() {
+  cat <<HELPEOF
+This hook installs modprobe configuration files from /etc/modprobe.d and
+/usr/lib/modprobe.d.
+HELPEOF
+}
+
+# vim: set ft=sh ts=4 sw=4 et:
(Continue reading)

Dave Reisner | 24 Nov 00:49 2012

[mkinitcpio] [PATCH 17/18] unique _modpaths arrays in during build

Declaring _modpaths as an associative array allows us to forego the
printf|sort -u|xargs cp pipeline as we can guarantee that the array is
already prepared.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 functions  |  2 +-
 mkinitcpio | 21 +++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/functions b/functions
index 491fc6c..e79d057 100644
--- a/functions
+++ b/functions
 <at>  <at>  -331,7 +331,7  <at>  <at>  add_module() {

     # aggregate modules and add them all at once to save some forks
     quiet "adding module: %s" "$1"
-    _modpaths+=("$path")
+    _modpaths["$path"]=1
     _addedmodules["${module//-/_}"]=1

     # handle module quirks
diff --git a/mkinitcpio b/mkinitcpio
index beb5022..5303f2d 100755
--- a/mkinitcpio
+++ b/mkinitcpio
 <at>  <at>  -21,8 +21,8  <at>  <at>  _optmoduleroot= _optkver= _optgenimg= _optpreset=
 _optcompress=
 _optshowautomods=0 _optsavetree=0 _optshowmods=0
(Continue reading)

Dave Reisner | 24 Nov 00:49 2012

[mkinitcpio] [PATCH 18/18] selectively decompress modules on install

Don't make any assumptions about the compression on modules and scan the
passed in module list for telltale extensions. This has the benefit of
doing nothing when modules are uncompressed, and adds support for
decompression of XZ modules.

Signed-off-by: Dave Reisner <dreisner <at> archlinux.org>
---
 mkinitcpio | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/mkinitcpio b/mkinitcpio
index 5303f2d..e8ec413 100755
--- a/mkinitcpio
+++ b/mkinitcpio
 <at>  <at>  -219,6 +219,9  <at>  <at>  process_preset() {
 }

 install_modules() {
+    local m
+    local -a xz_comp gz_comp
+
     if (( $# == 0 )); then
         warning "No modules were added to the image. This is probably not what you want."
         return 0
 <at>  <at>  -227,7 +230,18  <at>  <at>  install_modules() {
     cp "$ <at> " "$BUILDROOT/lib/modules/$KERNELVERSION/kernel"

     # unzip modules prior to recompression
-    gzip -dr "$BUILDROOT/lib/modules/$KERNELVERSION/kernel"
+    for m in "$ <at> "; do
(Continue reading)

Christian Hesse | 3 Dec 20:44 2012
X-Face
Picon

Re: [mkinitcpio] 0.12.0 feature release review

Dave Reisner <dreisner <at> archlinux.org> on Fri, 2012/11/23 18:48:
> * Dropping support for /etc/rc.conf. This means that the keymap and
>   consolefont hooks will no longer read from /etc/rc.conf, but only
>   from /etc/vconsole.conf and /etc/locale.conf. We've been slowly
>   dropping this support in other places, and I think it makes sense
>   to do this here as well.

This is from 'man vconsole.conf':

> FONT=, FONT_MAP=, FONT_UNIMAP=
>     Configures the console font, the console map and the unicode font map.

The hook looks for variable CONSOLEFONT, though. This should be just 'FONT',
no?
--

-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}

Dave Reisner | 3 Dec 20:56 2012

Re: [mkinitcpio] 0.12.0 feature release review

On Mon, Dec 03, 2012 at 08:44:45PM +0100, Christian Hesse wrote:
> Dave Reisner <dreisner <at> archlinux.org> on Fri, 2012/11/23 18:48:
> > * Dropping support for /etc/rc.conf. This means that the keymap and
> >   consolefont hooks will no longer read from /etc/rc.conf, but only
> >   from /etc/vconsole.conf and /etc/locale.conf. We've been slowly
> >   dropping this support in other places, and I think it makes sense
> >   to do this here as well.
> 
> This is from 'man vconsole.conf':
> 
> > FONT=, FONT_MAP=, FONT_UNIMAP=
> >     Configures the console font, the console map and the unicode font map.
> 
> The hook looks for variable CONSOLEFONT, though. This should be just 'FONT',
> no?

Reported on the bug tracker and the bbs already. It's already fixed in
git:

https://projects.archlinux.org/mkinitcpio.git/commit/?id=6be469d5f

d


Gmane