--bzip2 Compress the generated initramfs using bzip2.
Make sure your kernel has bzip2 decompression support
compiled in, otherwise you will not be able to boot.
- --xz Compress the generated initramfs using xz.
- Make sure your kernel has xz support compiled in,
+ --lzma Compress the generated initramfs using lzma.
+ Make sure your kernel has lzma support compiled in,
otherwise you will not be able to boot.
--no-compress Do not compress the generated initramfs. This will
override any other compression options.
-h|--help) usage; exit 1 ;;
-i|--include) include_src="$2"; include_target="$3"; shift 2;;
--bzip2) [[ $compress != cat ]] && compress="bzip2 -9";;
- --xz) [[ $compress != cat ]] && compress="xz -9";;
+ --lzma) [[ $compress != cat ]] && compress="lzma -9";;
--no-compress) compress="cat";;
--gzip) if [[ $compress != cat ]]; then
type pigz > /dev/null 2>&1 && compress="pigz -9" || \
<para>install the space separated list of files into the initramfs.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>--gzip</option>
+ </term>
+ <listitem>
+ <para>Compress the generated initramfs using gzip.
+ This will be done by default, unless another compression option or --no-compress is passed.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>--bzip2</option>
+ </term>
+ <listitem>
+ <para>Compress the generated initramfs using bzip2.
+ <warning><para>Make sure your kernel has bzip2 decompression support compiled in, otherwise you will not be able to boot.</para></warning>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>--lzma</option>
+ </term>
+ <listitem>
+ <para>Compress the generated initramfs using lzma.
+ <warning><para>Make sure your kernel has lzma decompression support compiled in, otherwise you will not be able to boot.</para></warning>
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option>--no-compress</option>
+ </term>
+ <listitem>
+ <para>Do not compress the generated initramfs. This will override any other compression options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <option></option>
+ </term>
+ <listitem>
+ <para></para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>
</refsect1>