Commit Graph

10 Commits

Author SHA1 Message Date
Vadim Kuznetsov
80bafe6d36 mkinitrd: fix incorrect basename in mkinitrd usage message
Steps to Reproduce:
1. run mkinitrd -h

Actual results:
$ mkinitrd
usage: /usr/sbin [--version] [--help] [-v] [-f] [--preload <module>]
       [--image-version] [--with=<module>]
        <initrd-image> <kernel-version>

Expected results:
$ mkinitrd
usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>]
       [--image-version] [--with=<module>]
       <initrd-image> <kernel-version>
2011-03-10 17:22:55 +01:00
Harald Hoyer
79799c954f mkinitrd-dracut.sh: add "--force"
Resolves: rhbz#626389
2010-12-06 16:19:27 +01:00
Harald Hoyer
f8bc899063 reformat source
untabified
2010-09-10 15:55:51 +02:00
Harald Hoyer
cc02093d69 reformat source code
removed tabs and set indention to 4 spaces
added emacs and vi format headers
2010-09-10 15:34:36 +02:00
Andrey Borzenkov
89fb4162e3 mkinitrd-dracut.sh: fix stray "fi"
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2010-08-23 22:32:47 +02:00
Harald Hoyer
e4e3b4c821 mkinitrd: do not call dracut in host only mode 2010-08-23 12:13:48 +02:00
Victor Lowther
5bc545ed79 Bashify mkinitrd-dracut.sh, introduce read_arg.
Hack up argument processing in dracut and mkinitrd-dracut.sh to use
read_arg to flexibly process arguments.
2010-08-23 11:51:34 +02:00
Victor Lowther
644c5241d2 Bashify error() and usage() in mkinitrd-dracut.sh
Some more trivial bashification.
2010-08-23 11:51:34 +02:00
Victor Lowther
5b158ad3a9 Add support for bzip2 and xz compressed initramfs images.
Current kernels know how to uncompress bzip2 and xz, so use them for compressing
the initramfs if asked.  The more compression the merrier.

Also add support for generating uncompressed images, although they
are usually not what you want.
2010-08-23 11:51:34 +02:00
Luca Berra
b21d5cb2dc add mkinitrd-dracut.sh wrapper
a wrapper around dracut with the syntax from mkinitrd, could
help transition to dracut.
2010-01-13 16:03:32 +01:00