Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes an error during the iso build process
|
|
This reverts commit c3b8e3248955e6759f7288ce87d923fcf6231da1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
debian/changelog
debian/compat
debian/control
debian/rules
hook-functions
mkinitramfs
|
|
|
|
|
|
Signed-off-by: maximilian attems <max@stro.at>
|
|
Both a Cherry and a Logitech keyboard I own cannot be used at early boot time unless one also adds the hid-cherry / the hid-logitech module to the initramfs. The attached patch adds those two modules to hook-functions.
For the Cherry keyboard, kernels up to 2.6.32-3 are not affected, from 2.6.32-5 (squeeze default) onwards all tested kernels were affected. Didn't do detailed checks for the Logitech keyboard.
The used devices that exhibit this problem are:
ID 046d:c30a Logitech, Inc. iTouch Composite
ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard
Severity level important, since this makes booting with encrypted root partition impossible using those keyboards.
Closes: #595827
Reported-by: Eckhart Wörner <ewoerner@kde.org>
Signed-off-by: maximilian attems <max@stro.at>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update hook-functions to search for kernel firmware based on
version. This is copied from Ubuntu version of initramfs-tools.
(cherry picked from commit 1236df3c797a0404f7050ed5201118e6fa4841e0)
|
|
(cherry picked from commit dbca83aa0c46b04cc2aafa9e951ab0e2ebbc95d2)
|
|
Signed-off-by: maximilian attems <max@stro.at>
|
|
when $DEVICE is not set (which is now default), otherwise ipconfig may
receive a valid DHCP response, but fails to break out of the loop and is
called repeatedly.
thanks to Petter Reinholdtsen, i think i've figured out the
initramfs-tools portion of this problem (there may still be outstanding
issues with ipconfig).
tested the attached patch, which seems to address the issue for me at
least.
Closes: #584583
Signed-off-by: maximilian attems <max@stro.at>
|
|
Signed-off-by: Michael Prokop <mika@debian.org>
|
|
|
|
|
|
|
|
If /sbin/init is an absolute symlink (e.g. to /bin/systemd) the
readlink check doesn't work as $rootmnt is involved.
The validate_init() shell function takes care of this fact, as
well as when guessing the init binary points to a directory. For
example Ubuntu's upstart has its configuration inside /etc/init
whereas this is considered a valid run_init_process() binary by
the Linux kernel and `test -x' returns true when checking for
executables.
Therefore be more conservative with providing full backwards
compability as well as new added support for absolute symlinks at
the same time.
Closes: #590744
|
|
Conform to policy
http://kernel-handbook.alioth.debian.org/ch-update-hooks.html#s-initramfs-hooks
We check that the dir exists to no longer invoke boot loader on our
own for squeeze, but work on partial upgrades from lenny.
The bootloader invocations can be removed postsqueeze.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
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>
|