Age | Commit message (Collapse) | Author |
|
version is "the" essential exported variable by mkinitramfs.
Use it's string length to determine that we are on mkinitramfs stage
and not trying to boot a not precached initramfs image.
hook scripts on boot can exit due to random failures and shouldn't
interrupt boot there.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Brought no gain in code readability and lots of bug reports.
Closes: #588915
Suggested-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
Conflicts:
mkinitramfs
scripts/functions
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
|
|
If we quote the $compress command then any options are
considered as part of the command, resulting in something like:
lzop -9: not found while updating a initramfs
Closes: #588517
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Avoids output being swallowed by debconf's redirection of STDOUT.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Do not create an initial RAM file system image for a custom kernel
created by make-kpkg if one was not requested by the --initrd flag of
make-kpkg.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
small wording change.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
we are listening there. :)
Signed-off-by: maximilian attems <maks@debian.org>
|
|
currently already to many failure pathes,
no point in rushing more into the next release for squeeze.
plan is to reinstate postqueeze.
Reviewed-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
We better print them out before exiting, this should allow
quicker diagnose of what is going on.
Be sure to print out all error codes as a failure of compress
is highly likely to generate an SIGPIPE aka error code 141.
Silent error exits are troublesome for debugging error cause.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Signed-off-by: maximilian attems <maks@debian.org>
|
|
it is used that way in the configuration file example.
Thanks: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
this should make bug reports concerning bogus hook scripts easier to
handle, like the *loooong* iscan story.
Closes: 586554
Signed-off-by: maximilian attems <maks@debian.org>
|
|
this should make bug reports concerning bogus hook scripts easier to
handle, like the *loooong* iscan story.
Closes: 586554
Signed-off-by: maximilian attems <maks@debian.org>
|
|
urgency high as it fixes initramfs-tools compress handling.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
the fallback for unset ${compress} never got used,
due to the missing quotes.
Do also set the GZIP CONFIG option when setting fallback of gzip.
Closes: 587608
Thanks: Valentin QUEQUET <valentin.quequet@orange.fr>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
the fallback for unset ${compress} never got used,
due to the missing quotes.
Do also set the GZIP CONFIG option when setting fallback of gzip.
Closes: 587608
Thanks: Valentin QUEQUET <valentin.quequet@orange.fr>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Spotted by mika, that those returns where missing.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Enhance manpage to target casual reader, who wants to know
more about his kernel commandline.
The boot/mkinitramfs hook hacker may easily read on, so move
their desc a bit down. Add errexit hint of hook scripts.
Also enhance a better written § from dracut, the current one was
just jibberish.
Reviewed-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
It is interesting to see which are installed,
may help to pindown some bugs earlier.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Better catch both early than stupid mistakes cropping in.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Thanks: Gerfried Fuchs <rhonda@deb.at>
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Thanks: maximilian attems <maks@debian.org>
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Fix possible-documentation-but-no-doc-base-registration to make lintian happy.
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
* paramater -> parameter
* adress -> address
* adress -> address
* overriden -> overridden
* correponds -> corresponds
* correponds -> corresponds
* Overriden -> Overridden
* usualy -> usually
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Reported-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
only pass verbose to cpio if invoked with -l or --long.
add minimal hints to manpage.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
code up the nfs rootdelay in a more efficient way.
here people need the time it takes, so stay on 180s.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
The condition of log_end_msg was always true.
Calling do_nfsmount before the loop lets us drop two other checks.
Signed-off-by: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
plus minor changes:
- initramfs-tools uses master branches.
- DEBEMAIL and friends affects devscripts.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
snapshot version", add license note, minor formating cleanups + improvements
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
using modules=dep
Thanks: Vincent Danjean <vdanjean@debian.org>
Closes: #585992
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
shorten code, no code change. function easier to read.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
only run them when sytax is good. Idea from LP: #570243.
important now that we have errexit on for them.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
due to the quoting use $@ to expand to several arguments.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
better protect it from the start as have the pain later..
Signed-off-by: maximilian attems <maks@debian.org>
|
|
* make sure the specified file(s) can be read
* redirect error message to stderr
* support -h/--help option
* variable quoting
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
useful script to quickly look into initramfs for debugger
or bug reporter, inspired by similar dracut tool.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
should make merge for Ubuntu easier. Thanks to David Greaves
in LP: #573282 for the idea.
Signed-off-by: maximilian attems <maks@debian.org>
|