Age | Commit message (Collapse) | Author |
|
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).
|
|
|
|
MODULES=list loads modules very early,
when the firmware loader udev might not be there yet.
thanks David Martínez Moreno <ender@tuenti.com> for report.
|
|
This reverts commit 74be87d35841eae3c3febf00b568df5232c85f06.
talked to hpa and he seemed quite unconvinced about that report.
the run-init code doesn't also seem to backup that claim.
so nuke it for now until better analysis shows up.
|
|
grave bug as makes a Debian slug unbootable.
Thanks Kevin Price <kp@kevin-price.de> for report and
Martin Michlmayr <tbm@cyrius.com> for debugging.
The cause was the reordering of the ROOT export *after*
it had been sourced in init. Fix it by allowing all
exported variables to be ovverriden aka hardcoded.
|
|
long outstanding bug.
[ note: seems fixed in fedora mkinitrd, but not in opensuse.
they simply call run-init like anyone else. -maks]
|
|
"ps3_sys_manager handles system shutdown, so having it in initramfs
allows the user to properly shutdown the system with the power
button if the root file system can not be mounted at boot.
Without it the user must do a forced poweroff."
Geoff Levand <geoffrey.levand@am.sony.com>
|
|
addition missed the entry in the manpage.
|
|
* add changelog with bug closures
* new release song "Fischia il vento"
|
|
* document panic= 0 behaviour
* simplify debug cmd
|
|
[ Ubuntu merge of better sparc support -maks ]
|
|
Debian never shipped the PS3PF legacy plattform,
only retain the relevant upstream accepted ps3 plattform drivers.
|
|
modules added to MODULES=most
the net section was missing quite a lot of the newer net driver,
add them all per hand. as we can't just ship drivers/net.
|
|
purpose of function changed, now we keep the old initramfs
on the real path until mkinitramfs run finished.
|
|
Attached is a patch to improve the way update-initramfs handles the
generating of new or updated initramfs images for kernels. It puts in
place a few measures to ensure that if there is not enough disk space on
/boot, a previous initramfs is still in tact, to allow the booting of
that kernel. The patch applies against current git head. See the Ubuntu
specification found at the following URL for more information:
https://wiki.ubuntu.com/HardyInitramfsErrorHandling
This patch does the following:
* When generating a new initramfs, instead of copying the old initramfs to a
backup file, it hard links it instead, so no more space is used than
necessary. it only copies to the backup file in the event that the filesystem
on /boot doesn't support hard links, eg FAT32 partitions.
* A new file is used to generate the initramfs. If the generation succeeds, it
is moved to the original initramfs's location, ready to use. If it fails, the
original initramfs is not affected, allowing it to be used at boot.
[ wrap on long line -maks ]
|
|
Parse cmdline for resume_offset, export it and pass it to
the klibc resume binary.
Based on a patch by Alan Jenkins <alan-jenkins@tuffmail.co.uk>.
Bonus small codingstyle clean up of local-premount/resume.
|
|
found on testing that configure_networking() shouldn't make
assumption that ${DEVICE} is really already set.
this still allows to bail out if device is passed and set.
|