We shouldn't need to change the system configuration to test changes to
initramfs-tools. It's possible to use the -d argument with a custom
config directory this purpose, but testing different MODULES settings is
necessary frequently enough that it deserves its own shortcut. Add a -m
argument to mkinitramfs that overrides the MODULES setting.
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Added a COMPRESSLEVEL parameter to initramfs.conf, a -l flag to
mkinitramfs, and updated initramfs.conf.5 and mkinitramfs.8 to match.
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Instead of listing all the options, only mention -o (which is non-
optional) and show that other options can be included.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
When using inline markup, all whitespace is significant, so these
options had an extra space in front of them.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Set the .TH source parameter for all pages to "initramfs-tools".
Set the .TH manual parameter to a commonly used name for the man page
section.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Set each page's date to the date of the last substantive
change, i.e. excluding cross-reference updates and spelling fixes.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
An initramfs image is not a ramdisk, even though it is passed to the
kernel in the same way as an initrd.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
The --supported-{host,target}-version option were only supported by
mkinitramfs-kpkg, which was removed in version 0.99.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
[bwh: Resolved conflicts with lz4 support and updated Depends]
Closes: #845034
Thanks: Chris Lamb <lamby@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This command supports extracting files from an initramfs image. It is
designed to be a drop-in for cpio wherever an initramfs may be present.
It is implemented using the code from lsinitramfs, which now delegates
to uninitramfs instead of cpio.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
[bwh: Rename it from uninitramfs to unmkinitramfs; add to .install list]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This documents problem with noexec mount options and fixes:
BTW: The information about mkinitramfs looking at $TMPDIR is missing in
the mkinitramfs(8) man page. Looked there (mostly for commandline
options) before reporting that bug. But even searching for "TMP" in
there now didn't find any hint on that.
[ s/must/should/, date ]
Signed-off-by: maximilian attems <maks@debian.org>
fixed the commandline argument to select the compressor.
also your test with "command" needed to be negated otherwise the
fallback to gzip would take place everytime.
--
frohe ostern
Bert Schulze
[ nuked trailing whitespace, and add comment for usage() ]
Signed-off-by: maximilian attems <maks@debian.org>
this version uses /etc/initramfs-tools/initramfs.conf to determine
the compression method, checks kernel and userspace support with
fallback to gzip. Since LZO didnt work for me at all with 2.6.33
I left that out for now.
(closes: #533903)
[ minor changes in mkinitramfs code ]
Signed-off-by: maximilian attems <maks@debian.org>
* kick mdrun script
* update control for lenny + ubuntu
* add _all_ ide, block and drivers
* use MODPROBE_OPTIONS and kill any modprobed arg
* small doc + whitespace fixes
- add myri10ge, smc911x and hptiop modules
- fix check_minkver() logic
- escape resume variables
- fix SEE ALSO section in all manpages
- source /usr/share/initramfs-tools/conf.d/*
- check against modules.dep before running depmod
- more verbose output
- open console with -i for dash interactive
- fix resume param by LABEL or UUID
- lvm has new prereq mdadm
- update-initramfs fix -v calling
- functions/scripts replace basename usage with shell expansion