Age | Commit message (Collapse) | Author |
|
trivial fix on top of previous change.
afais cpio doesn't really give sensible return errors,
so this fall through the cracks.
|
|
The final stage of mkinitramfs that builds the image does not verify the
exit codes of find or cpio:
(cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip
>"${outfile}") || exit 1
Once bug 514936 is solved, this will be even more important, since cpio
will actually return errors.
Attached is a gross alternative to depending on bash...
Current behavior:
$ find /fail | cpio --quiet --dereference -o -H newc | gzip > /tmp/archive.gz
find: `/fail': No such file or directory
$ echo $?
0
Desired behavior:
$ set -o pipefail
$ find /fail | cpio --quiet --dereference -o -H newc | gzip > /tmp/archive.gz
find: `/fail': No such file or directory
$ echo $?
1
(closes: #514938)
[ already useful in finding stupid mkinitramfs path errors -maks ]
|
|
uncovered due to tests with harden cpio failures.
bug got introduced postlenny in
d2791a8fa458d473ff92d0710fe4d71487c76d6b.
|
|
not needed anymore..
|
|
no need to support callers that were unofficial and never released
as such in Lenny.
|
|
no need to deprecate it in initramfs-tools.
Lenny ships due to userspace with it and Juju firewire not yet
feature complete..
|
|
update-initramfs is the desired caller.
|
|
since Lenny lvm2 ships it's own hooks scripts, no need to dup.
|
|
clears debhelper-but-no-misc-depends lintian warning.
don't know if we really need it, but better be safe and
referenced in debhelper(7) manpage.
|
|
makes it respect "do_bootloader = no" if both lilo and grub2 are
installed.
simplify grub check as both grub2 and grub have an update-grub script.
based on patch and report by Clint Adams <schizo@debian.org>
(closes: #511514)
|
|
we have boot scripts that search for root if none is passed.
usage by grml.org and debian-live.
This reverts commit 90ad6ff31f66112e863ea86c9960b9770a0a245e.
Reported-by: Michael Prokop <mika@grml.org>
|
|
|
|
|
|
in 0.92m, the timeout for ipconfig in scripts/functions was set to 60
seconds. This broke our iscsi-rootfs setups.
It took me a while to debug this, but it seems that 60 seconds is not
enough for switches which have spanning-tree enabled, they need some
more time before they take up a port, in our case between 62 and 65
seconds.
(closes: #511085)
|
|
in 0.92m, the timeout for ipconfig in scripts/functions was set to 60
seconds. This broke our iscsi-rootfs setups.
It took me a while to debug this, but it seems that 60 seconds is not
enough for switches which have spanning-tree enabled, they need some
more time before they take up a port, in our case between 62 and 65
seconds.
(closes: #511085)
|
|
|
|
The cmdline parameter `break=init' failed to work. It looks like the variable
`break' is unset before `maybe_break init' is evaluated.
(closes: #509637)
|
|
should be just a bit faster and fixes relative path for -d option.
(closes: 472409)
|
|
with bad luck that might still be on hda1,
but then you get a warning about missing root boot param.
|
|
adds FILES section.
|
|
and no we can't write into /var/log itself.
(closes: #488804)
|
|
thanks to jidanni@jidanni.org for pointing out the missed field.
|
|
d-i fix, thus high urgency.
|
|
-d was missing in synopsis.
-c or -d or -u are not optional.
|
|
i've set up an encrypted loop-AES device as the root partition (boot
paramter dev=/dev/loopX) and update-initramfs fails with :
mkinitramfs: missing loop root /dev/loop2 /sys entry
|
|
NFSOPTS is no longer sourced in initramfs.conf,
so it should only be documented at the place of use aka boot cmdline.
(closes: #502927)
Co-Author: Gerfried Fuchs <rhonda@debian.at>
|
|
d-i uses to pass it with the value 1
Reported-by: Frans Pop <fjp@debian.org>
|
|
The root fs is located on LVM and is described in
/etc/fstab with LABEL= notation, which leads
to the following mount output for root filesystem:
mount | grep "on / "
/dev/dm-0 on / type ext3 (rw,noatime,errors=remount-ro)
The /dev/dm-0 itself isn't a symlink to /dev/mapper/, therefore root var
remains /dev/dm-0 after readlink -f attempt.
fix the consequent root detection failure.
(closes: #508906)
|
|
|
|
no need to check if the string of the corresponding variable exists,
just unset all of them, but 2 that we need to pass on for calling init.
|
|
Fix buglet in parse_numeric where *:* would match mtd:root. We only
want to match numbers. This fixes redboot partition support.
Signed-off-by: Andres Salomon <dilinger@debian.org>
|
|
|
|
udev isn't started at this point and therefore can't create framebuffer
devices. This causes usplash not to run on PS3.
set sane permissions will making the char files.
This reverts commit 0aec8b0c22b7622841c4ab7a3b492b4d2657456f.
|
|
rather than /tmp/initramfs.debug, so that it can be retrieved after boot.
|
|
Uvesafb framebuffer driver needs v86d userspace program
but when fb driver is modprobed at init-top stage of initrd,
/dev/zero and /dev/mem are missing because udev have not
been run yet.
|
|
harmless as the postrm is small, but better be clean.
|
|
|
|
module list
closes: #503216
|
|
|
|
same fix as cciss, see #507619
|
|
A coworker reported a lenny install failure today. Turns out he had
asked the installer to run mkinitramfs w/ MODULES=dep, which I'd never
tried before:
dl380g5:/home/dannf# mkinitramfs-kpkg -o /boot/initrd.img-2.6.26-1-686
2.6.26-1-686
mkinitramfs: missing cciss/c0d0p root /dev/cciss/c0d0p1 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but
it should be trying /sys/block/cciss!c0d0:
(closes: #507619)
|
|
thanks martin f krafft <madduck@debian.org>
closes: #502058
|
|
|
|
rather than waiting forever (LP: #182940).
|
|
have to clean up goof up from 0.92k too..
|
|
This reverts commit c5a45496b9c72e41333e213979d43fbcff34da9f.
hinders removal of other package linux-image postinst call also
the /etc/kernel structure, thus delete needs a takeover and this
is postlenny material.
thanks Vincent Danjean <vdanjean@debian.org> for report.
(closes: #499270)
|
|
|
|
it generates linux images that look into this directories
for maintainer script action.
make sure to generate an intramfs and also to remove it.
|
|
|
|
Now that d-i won't create /etc/initramfs-tools/conf.d/driver-policy
in all cases, I think reference to is mostly useless.
|