Age | Commit message (Collapse) | Author |
|
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>
|
|
To make sure the user can read any error messages displayed. (LP: #243226)
usplash and other may cause the user to land somewhere,
where nothing is displayed.
merge from Ubuntu with adding conditional chvt invocation,
as it may not be around.
Thanks: Luke Yelavich <themuso@ubuntu.com>
Thanks: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
giant disk arrays, clusters will need to provide their own rootdelay=
boot arg, they should have capable admins.
3 minutes wait is just too long for regular users.
sync from ubuntu 0.96.1ubuntu1.
Acked-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
git-dch/git-buildpackage commandline
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
/usr/share/doc/initramfs-tools/maintainer-notes.html
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
|
|
git+ssh://git.debian.org/srv/git.debian.org/git/kernel/initramfs-tools
|
|
the removal of vol_id compat code as requested in #585419
is to early as we need it for Lenny upgrades.
Nevertheless have the comment point to the newer tool. :)
Thanks: Christoph Anton Mitterer <calestyo@scientia.net>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
d-i does not support UBI/UBIFS yet and adding ubi.ko it by default
to initrd when MODULES=most is set doesn't provide any benefits yet.
Therefore don't waste ~125kb disk space by default, instead leave
the installation of ubi to d-i through a hook.
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
MODULES=dep fails when / is ubifs. This patch adds support for
something like root=ubi0:rootfs when ubi is modular.
Quoting Martin:
It essentially does three things:
- adds the correct modules to the ramdisk (for MODULES=dep and MODULES=most)
- reads ubi.mtd= from the command line
- loads ubi with the ubi.mtd info and ignores the "Waiting for root" check
I've successfully tested this with a kernel with modular ubi and with
the following boot variants:
console=ttyS0,115200 ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs
console=ttyS0,115200 ubi.mtd=2 root=ubi0_0 rootfstype=ubifs
With
console=ttyS0,115200 ubi.mtd=2 root=/dev/ubi0_0 rootfstype=ubifs
I get an error that it cannot mount root but I suspect this is an
ubifs error and has nothing to do with i-t (since at this point I can
manually mount it with -t ubifs ubi0_0 whereas the /dev/ variant
doesn't work).
Tested with MODULES=dep and MODULES=most as well as with a kernel that
has ubifs built in.
Closes: #582858
Thanks: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Reviewed-by: Michael Prokop <mika@debian.org>
|
|
The change to filter out looping or broken symlinks from the initramfs,
written by me for Ubuntu and applied to Debian for #575157, tickles a
bug in find (which I think also had an associated Debian bug, but I've
been unable to find it):
https://savannah.gnu.org/bugs/index.php?29460
This was fixed in 4.5.8, which is currently only in experimental. In
any case findutils is very deep in the dependency chain for upgrades and
I believe it would be a good idea to avoid requiring a new version of it
(I've had problems quite recently with strict dependencies on findutils
causing unresolvable dependency loops). The following patch works
around this bug in a reasonably straightforward way.
[ debian findutils bug was #576772 ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
Execute call_scripts() under "set -e" so hook
scripts can exit initrd build iff necessary.
Closes: #396388
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
|
|
|
|
|
|
Signed-off-by: Michael Prokop <mika@grml.org>
|
|
If mawk is installed as default awk version it won't handle
[:digit:], instead let's replace the grep/awk/shell version
with one single sed invocation.
Closes: #585991
Thanks: Thorsten Glaser <tg@mirbsd.de>
Signed-off-by: Michael Prokop <mika@grml.org>
|
|
Closes: #537139
Thanks: David Paleino <dapal@debian.org>
Thanks: Stéphane Jourdois <stephane@jourdois.fr>
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
The only exception is log_warning_msg() inside scripts/functions
which is/can be used by external scripts.
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
coding stile
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
Older kernel versions (like the one shipped with Lenny) don't
support devtmpfs. Therefore display a warning message when
falling back to tmpfs. See #501359.
Thanks: Ferenc Wagner <wferi@niif.hu>
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
messages to stderr
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
A lot of code in dep_add_modules() uses $root. Therefore, produce an
error message if we cannot determine the root device.
[ error out on this condtion too. -maks ]
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
still uncovering things..
Closes: #583695
Signed-off-by: maximilian attems <maks@debian.org>
|