[arch-projects] [mkinitcpio] [PATCH] Add options for logging of early userspace

Lukas Fleischer archlinux at cryptocrack.de
Tue Jun 18 18:01:02 EDT 2013


On Tue, Jun 18, 2013 at 05:17:20PM -0400, Dave Reisner wrote:
> This introduces support for the rd.log and rd.debug kernel command line
> options, which log early userspace activity to /run/initramfs/init.log.
> 
> Code is largely inspired by Dracut's implementation of early userspace
> logging, but without needless complexity and redundancies.
> 
> Signed-off-by: Dave Reisner <dreisner at archlinux.org>
> ---
>  init                 |   5 ++
>  init_functions       | 147 +++++++++++++++++++++++++++++++++++++++++++++------
>  install/base         |   2 +-
>  man/mkinitcpio.8.txt |  25 +++++++++
>  4 files changed, 162 insertions(+), 17 deletions(-)
> 
> [...]
> diff --git a/install/base b/install/base
> index ad0e5f2..397168f 100644
> --- a/install/base
> +++ b/install/base
> @@ -3,7 +3,7 @@
>  build() {
>      local applet
>  
> -    add_binary /usr/lib/initcpio/busybox /bin/busybox
> +    add_binary /usr/lib/initcpio/busybox /usr/bin/busybox

Huh? Should this be done in a separate commit?

>  
>      for applet in $(/usr/lib/initcpio/busybox --list); do
>          add_symlink "/usr/bin/$applet" busybox
> [...]


More information about the arch-projects mailing list