summaryrefslogtreecommitdiff
path: root/update-initramfs.8
AgeCommit message (Collapse)Author
2020-01-18update-initramfs: Make "-c -k all" options useful againBen Hutchings
"update-initramfs -c -k all" used to re-create initramfs images if they had been deleted without using "update-initramfs -d", as it used the state directory to determine which kernel versions should have them. Since commit f39625a "update-initramfs: Make "-k all" take over other initramfs images", it ignores the state directory and is almost equivalent to "update-initramfs -u -k all". Change it to operate on all installed kernel versions. This will ignore which kernel versions suppressed initramfs generation, but I think it's reasonable to assume users won't use these options if they have installed such kernels. Closes: #926401 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-28update-initramfs(8): Update description of "-k all" optionBen Hutchings
Describe the new behaviour introduced by commit f39625afd6ba "update-initramfs: Make "-k all" take over other initramfs images". Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-28update-initramfs(8): Document -d option as "delete" instead of "remove"Ben Hutchings
This is mnemonic, and consistent with messages the command may output. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06Make manual pages and usage messages more consistentBen Hutchings
* Don't use angle brackets around parameters * Show all options in manual page synopses if possible * Make the usage summary line match the manual page synopsis, excluding the -h option * List all options in usage messages * Refer to manual pages from usage messages * Include one blank line at start and end of usage messages Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06update-initramfs: Support --help optionBen Hutchings
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06update-initramfs(8): Fix formatting of mode options in the synopsisBen Hutchings
The regular/bold formatting are applied to the wrong things on this line. We also need braces to show where the alternate options start and ends. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-02-06mkinitramfs(8), update-initramfs(8): Fix over-indentation of optionsBen Hutchings
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>
2019-02-06Remove descriptions of removed/deprecated options from man page synopsisesBen Hutchings
I already these options from the Options sections but forgot the Synopsis. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-26update-initramfs: Always take over other initramfs imagesBen Hutchings
In Debian, update-initramfs has always refused to overwrite or delete an initramfs image that it didn't create, unless the -t option is used. On Ubuntu, this check is apparently disabled. The commit log doesn't provide much of a clue as to why. Looking at the the state of Debian and the linux-2.6 package at the time, I think the reasoning must have been something like: (1) Multiple initramfs/initrd generators were available and could be coinstalled. The configuration file /etc/kernel-img.conf specified which one kernel packages should invoke ("ramdisk" variable). (2) Packages that hooked into initramfs-tools would always run update- initramfs if it existed, and it would immediately update the initramfs, because triggers hadn't yet been invented. (3) To keep the alternate initramfs generators working, update- initramfs therefore had to either (a) check the configuration file to find out whether initramfs-tools was meant to be used, or (b) keep track of which initramfs images it created and therefore "owned". At this point, (1) is no longer true; the "ramdisk" variable is not honoured and the initramfs generator to be invoked is chosen by installing one of several conflicting packages. I think this means that (3) no longer follows, and whichever of the automatic initramfs generator packages is currently installed should be considered to "own" /boot/initrd.img-<version> for all kernel versions. This commit only disables the checks. The state directory and the state updates are retained for now, in case it becomes necessary to revert this change. Closes: #765750, #804295 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-07-18docs: Set man page header source and manual parameters correctlyBen Hutchings
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>
2018-07-18docs: Update man page header datesBen Hutchings
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>
2018-07-18docs: Move initramfs-tools man page to section 7Ben Hutchings
Manual pages that describe a general topic belong in section 7, not 8. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-10-16Refer to lsinitramfs(8) from {initramfs-tools,mkinitramfs,update-initramfs}(8)Ben Hutchings
While we're at it, fix the rendering of 'mkinitramfs(8)' in initramfs-tools(8). Closes: #764020 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2014-10-16update-initramfs: Consistently show which options take argumentsBen Hutchings
The text in the manual page implies that -b needs an argument but the usage summaries don't say that. While we're at it, remove the brackets in '-k [version]', as these suggest the version argument is optional. Closes: #762768 Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2011-05-11docs: fix wording ("allows *one* to") to make lintian happy.Michael Prokop
Signed-off-by: Michael Prokop <mika@debian.org>
2008-12-19update-initramfs.8: mentions the specific conf filee2xbegqsdyt21hfc
adds FILES section.
2008-12-19manpages: Set Linux as necessary OS.maximilian attems
thanks to jidanni@jidanni.org for pointing out the missed field.
2008-12-19update-initramfs.8: List -d and mark the non-optional as such.maximilian attems
-d was missing in synopsis. -c or -d or -u are not optional.
2008-07-04doc: fix date string of manual pages.maximilian attems
thanks to jidanni@jidanni.org Signed-off-by: maximilian attems <maks@debian.org>
2008-03-29manpages: fix hyphen-used-as-minus-signmaximilian attems
properly escape minus signs to make them easily pastable.
2007-04-16minor cleanups to get 0.87 ready:maximilian attems
- add changelog entries to david changes - change to my new debian.org email adresses in manpages too - module list is alphabetic
2006-10-13whitespace policymaximilian attems
2006-10-13- add backup handling to initramfs-toolsmaximilian attems
- allow conservative settings for skipping updated initramfs. - debug output to screen - parse mbr for lilo + small fixes
2006-09-12- check for ro /bootmaximilian attems
- allow -k all for all modes and more feedback on deleting - small whitespace cleanup
2006-09-04- better nfs handling: merge vagrant branch :) + local changesmaximilian attems
- cleanup stupid whitespace all over the place
2006-07-24- add BUSYBOX section to confmaximilian attems
- 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
2006-07-16massif whitespace cleanupmaximilian attems
2006-07-12- rename suspend boot script in resumemaximilian attems
- update-initramfs add -b bootdif flag document it - check for noresume arg in init
2006-06-22rephrase docsmaximilian attems
remove cp modules from postinstall, install confdir lots of small polishing thanks to Sesse review don't use touch on init
2006-03-18* fix minor parsingmaximilian attems
* add linear module * manpage polishing * udev_helper needs some conf sourced
2006-02-17add kernel-package compat stuff, behaves like mkinitramfs and addsmaximilian attems
an sha1sum for update-initramfs. is meant for etch release, hope we get rid afterwards. will allow to clean up mkinitramfs from the longoption calls.
2006-02-17highlight the mode of operation of update-initramfsmaximilian attems
2006-02-14better document the point of update-initramfs and mkinitramfs.maximilian attems
2005-12-06add initramfs-tools.8maximilian attems
update manpage crossreferences
2005-09-20add update-initramfs.8maximilian attems