[arch-projects] [mkinitcpio] 0.12.0 feature release review

Dave Reisner dreisner at archlinux.org
Fri Nov 23 18:48:45 EST 2012

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.

Full shortlog below. Latest patches can always be found at:


But I don't expect much to change at this point.


Dave Reisner (18):
  shutdown: share dm teardown with lvm
  shutdown: avoid talking to udev via dmsetup
  shutdown: copy kexec from host if requested and not available
  usbinput: use autodetection on newer kernels
  init: condense early module loading
  init: use exponential backoff in poll_device
  init: remove needless workaround for empty rootdelay
  init: declare defaults earlier
  init: remove unneeded variable expansion
  drop support for reading /etc/rc.conf
  obsolete old-style install hook API
  build: move manpages to subdir
  functions: only show the basename of a deprecated hook
  Makefile: copy directories, not individual files on install
  merge most storage hooks into a single 'block' hook
  modconf: add new hook to simply inclusion of modprobe config
  unique _modpaths arrays in during build
  selectively decompress modules on install

 Makefile                  |  19 ++-
 functions                 |  73 ++++--------
 init                      |  14 +--
 init_functions            |  24 ++--
 install/block             |  45 +++++++
 install/consolefont       |   9 +-
 install/fw                |  22 +---
 install/keymap            |   5 +-
 install/mmc               |  19 +--
 install/modconf           |  15 +++
 install/pata              |  22 +---
 install/sata              |  23 +---
 install/scsi              |  22 +---
 install/usb               |  21 +---
 install/usbinput          |  15 ++-
 install/virtio            |  16 +--
 lsinitcpio.1.txt          |  68 -----------
 man/lsinitcpio.1.txt      |  68 +++++++++++
 man/mkinitcpio.8.txt      | 297 +++++++++++++++++++++++++++++++++++++++++++++
 man/mkinitcpio.conf.5.txt |  82 +++++++++++++
 mkinitcpio                |  38 ++++--
 mkinitcpio.8.txt          | 298 ----------------------------------------------
 mkinitcpio.conf           |  17 +--
 mkinitcpio.conf.5.txt     |  82 -------------
 shutdown                  |  30 +++--
 25 files changed, 637 insertions(+), 707 deletions(-)
 create mode 100644 install/block
 mode change 100644 => 120000 install/fw
 mode change 100644 => 120000 install/mmc
 create mode 100644 install/modconf
 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
 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


More information about the arch-projects mailing list