Age | Commit message (Collapse) | Author |
|
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.
|
|
glantank-update-kernel has been merged into flash-kernel and
glantank-update-kernel will now call flash-kernel for compatibility.
So there's no need to run glantank-update-kernel anymore.
In case you do another upload for lenny, please include this patch.
But there's no reason just to upload for this since nothing will break
with the current initramfs-tools (although flash-kernel will be ran
twice).
|
|
|
|
Please mention in initramfs.conf that the values specified there can
be overriden via /etc/mkinitramfs/conf.d. This is important since d-i
will now use /etc/initramfs-tools/conf.d/driver-policy to set MODULES.
|
|
found under drivers/s390/block instead drivers/block location.
"allows to access disks under VM"
request by s390 porter Bastian Blank <waldi@debian.org>
|
|
lives under drivers/s390/scsi and not drivers/scsi
(closes: #498698)
|
|
|
|
`/usr/share/initramfs-tools/hook-functions' would not show up.
|
|
|
|
mkinitramfs MODULES=dep detection didn't account for lvm on md, fixes
mkinitramfs: missing md root /dev/mapper/ts409-root /sys entry
(closes: #498237)
thanks for report to Rod Whitby <rod@whitby.id.au>
|
|
|
|
On OLPC machines, root is a nand device that is mounted as mtd0 (it is
neither a block device nor a char device). The arguments passed to the
kernel are "ro root=mtd0 rootfstype=jffs2".
Unfortunately, attempting to use an initrd based upon initramfs-tools
on such a machine results in a kernel panic and a syntax error.
Begin: Mounting root file system ... /init: line 172: syntax error:
0xmtd0
The probably appears to be in parse_numeric(); the init scripts
assume that normal devices are always prefixed with /, and root=
strings that aren't are raw device numbers (prefixing them with
0x). I'm not sure if there are other devices similar to mtd that
don't begin with a /.
How about something like the following patch? It's not foolproof,
but it at least ignores things that can't possibly be hex strings.
fixes partially #497133
|
|
after lenny the symlink of udev is meant to be gone,
support partial upgrades from lenny.
|
|
currently ext4 is named ext4dev, doesn't matter if it doesn't exit,
just list it to be future proof for the lenny release.
klibc fstype has already ext4dev support (closes: #494922)
|
|
|
|
|
|
Thanks to Kevin Price who sent me logs from the NSLU2, I know why it
works there.
The difference is that on the NSLU2 USB is a PCI device whereas on my
Orion machine it's not.
(closes: #494027)
|
|
glantank-update-kernel
in case of triggered update-initramfs the latest initramfs should get
flashed.
thanks to Joey Hess <joeyh@debian.org>
|
|
Please make log_begin_msg not emit a trailing newline - this makes the non-
"quiet" output cleaner and results in half as many lines being emitted. For
example:
Begin: Finding root filesytem ...
Done.
Becomes:
Begin: Finding root filesytem ... done.
Patch attached - it also adds a space and alters the case of "done" for
symmetry. This would be especially useful in Debian Live where we show a
large number of these messages by default.
(closes: #494257)
|
|
thanks Michael Tautschnig <mt@debian.org>
(closes: #494433)
|
|
Thanks to Jens Seidel <jensseidel@users.sf.net>
(closes: #493238)
|
|
thus remove warning on case of md root, closes #490875.
|
|
|
|
no longer exists and only needed for kernel older then Etch.
|
|
|
|
Signed-off-by: maximilian attems <maks@debian.org>
|
|
closes: #489186
Signed-off-by: maximilian attems <maks@debian.org>
|
|
useful for debug cases
closes: #488963
|
|
ubuntu merge.
|
|
ubuntu sync
|
|
thanks to Frans Pop <elendil@planet.nl> for report,
idea stolen from Ubuntu, adapted their boot script
same boot param.
closes: #485786
Signed-off-by: maximilian attems <maks@debian.org>
|
|
ubuntu merge
|
|
ubuntu merge
|
|
Debian users were pasting that without getting the real trouble,
thanks for the better rephrasing.
|
|
Signed-off-by: maximilian attems <maks@debian.org>
|
|
add small comment on top, what for we need it.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
thanks Luca Capello <luca@pca.it> for initial patch.
closes: #481196
Signed-off-by: maximilian attems <maks@debian.org>
|
|
closes #475430
Signed-off-by: maximilian attems <maks@debian.org>
|
|
this allows OLPC root, as root on mmc cards. (closes: #483431)
Thanks for initial patch to Robert Millan <rmh@aybabtu.com>.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
thanks to jidanni@jidanni.org
Signed-off-by: maximilian attems <maks@debian.org>
|
|
udev may be busy creating links for the root device by the time
mountroot is called. udevsettle makes sure these are processed. I thus
call udevsettle with a timeout of 10 seconds after the $BOOT-top
scripts have run and before the ROOTDELAY hack kicks in.
I thought about doing this with a local-top script instead, but there is
no way to ensure that it'll run last; cryptsetup uses a hack to make
sure it runs last, if we also use the same hack, there'll be
a dependency loop.
Signed-off-by: martin f. krafft <madduck@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
log_begin_msg already puts ... at the end of the stuff it prints, so no
need to have it in there explicitly.
Signed-off-by: martin f. krafft <madduck@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
|
|
update-initramfs: Generating /boot/initrd.img-2.6.22-3-k7
awk: /^md/2/{print substr($5, 1, 3)}
thuse the initramfs will not be generated properly
|
|
must not be a klibc bug, initramfs-tools is first suspect.
|
|
When MODULES is set to 'dep' in /etc/initramfs-tools/initramfs.conf,
update-initramfs fails to detect correctly the root filesystem(device
and fs used). When called, this command fails with:
----------
mkinitramfs: missing rootfs root rootfs /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.25-2-amd64
----------
So we have 3 cases here. eval "$(mount | awk '/"... returns
* an UUID when the rootfs is mounted with the 'LABEL=' or 'UUID='.
The UUID is a relative symbolic link located in /dev/disk/by-uuid/
pointing to the real device.
* the real disk device.
* /dev/root
When "root=/dev/root", we have to figure out what it is, which is
done in the "if" block. Also changing the matching regex in front
to catch that type.
Once we got the symlink to the root device, we can use 'readlink' to
get the real device. Using 'readlink' on a file which is not a
symlink doesn't matters(case 2).
|