summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-12MODULES=dep fix for OrionMartin Michlmayr
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)
2008-08-12update-initramfs: run_bootloader() invoke flash-kernel and ↵maximilian attems
glantank-update-kernel in case of triggered update-initramfs the latest initramfs should get flashed. thanks to Joey Hess <joeyh@debian.org>
2008-08-12make log_begin_msg not emit trailing newlineChris Lamb
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)
2008-08-12preinst fix vol_id pathmaximilian attems
thanks Michael Tautschnig <mt@debian.org> (closes: #494433)
2008-08-12mkinitramfs: Fix usage and man outfile arg is not optional.maximilian attems
Thanks to Jens Seidel <jensseidel@users.sf.net> (closes: #493238)
2008-07-16mkinitramfs: only lvm2 initramfs has busybox dep.maximilian attems
thus remove warning on case of md root, closes #490875.
2008-07-07release 0.92emaximilian attems
2008-07-07udevhelper: drop ide.agent.maximilian attems
no longer exists and only needed for kernel older then Etch.
2008-07-05release 0.92dmaximilian attems
2008-07-05debian/initramfs-tools.preinst: accomodate with different vol_id pathesmaximilian attems
Signed-off-by: maximilian attems <maks@debian.org>
2008-07-05initramfs-tools.8: document UUID usage for root and all_generic_idemaximilian attems
closes: #489186 Signed-off-by: maximilian attems <maks@debian.org>
2008-07-05add possible mountroot breakmaximilian attems
useful for debug cases closes: #488963
2008-07-05initramfs-tools.preinst: Try to use UUID for resume device.maximilian attems
ubuntu merge.
2008-07-05usplash pulsates: drop code to increment a progress bar after each message.maximilian attems
ubuntu sync
2008-07-05add boot script loading ide-generic on all_generic_ide cmdlinemaximilian attems
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>
2008-07-05Add udf for MODULES=mostmaximilian attems
ubuntu merge
2008-07-05Add virtio_pci for MODULES=mostmaximilian attems
ubuntu merge
2008-07-05Merge more meaningful text for no root device panic from Ubuntu.maximilian attems
Debian users were pasting that without getting the real trouble, thanks for the better rephrasing.
2008-07-05release 0.92cmaximilian attems
Signed-off-by: maximilian attems <maks@debian.org>
2008-07-05wait_for_udev(): simplify, no need for logging.maximilian attems
add small comment on top, what for we need it. Signed-off-by: maximilian attems <maks@debian.org>
2008-07-05initramfs-tools.8: Document "break" and "panic" behaviourmaximilian attems
thanks Luca Capello <luca@pca.it> for initial patch. closes: #481196 Signed-off-by: maximilian attems <maks@debian.org>
2008-07-04update-initramfs.conf.5: document backup_initramfs variable.maximilian attems
closes #475430 Signed-off-by: maximilian attems <maks@debian.org>
2008-07-04MODULES=most add mmc host and card driversmaximilian attems
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>
2008-07-04doc: fix date string of manual pages.maximilian attems
thanks to jidanni@jidanni.org Signed-off-by: maximilian attems <maks@debian.org>
2008-07-03Wait for udevsettle after $BOOT-top scripts ranmartin f. krafft
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>
2008-07-03init: Remove extra ellipsesmartin f. krafft
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>
2008-05-30release 0.92bmaximilian attems
2008-05-30update-initramfs: mbr_check() fix for /dev/md/X naming (closes: #469312)maximilian attems
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
2008-05-28hook-functions: MODULES=dep fix error messagemaximilian attems
must not be a klibc bug, initramfs-tools is first suspect.
2008-05-28initramfs-tools: Fix UUID rootfs detection with 'MODULES=dep'Glennie Vignarajah
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).
2008-04-30release 0.92amaximilian attems
2008-04-29Documentation typo fixes addition.maximilian attems
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.
2008-04-29Revert "init: Add 2>&1 to the run-init exec, fixes init without stderr."maximilian attems
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.
2008-04-29init: Fix hardcoded ROOT bootcase.maximilian attems
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.
2008-04-10init: Add 2>&1 to the run-init exec, fixes init without stderr.Luke Yelavich
long outstanding bug. [ note: seems fixed in fedora mkinitrd, but not in opensuse. they simply call run-init like anyone else. -maks]
2008-04-10ps3: Add ps3_sys_manager to MODULES=dep ps3 modules.maximilian attems
"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>
2008-04-09initramfs-tools.8: Document resume_offset bootparam.maximilian attems
addition missed the entry in the manpage.
2008-04-09release 0.92maximilian attems
* add changelog with bug closures * new release song "Fischia il vento"
2008-04-08initramfs-tools.8: Small documentation fixes.maximilian attems
* document panic= 0 behaviour * simplify debug cmd
2008-04-08hook-function: Add support for sunvnet and sunvdc in hook-functions.Fabio M. Di Nitto
[ Ubuntu merge of better sparc support -maks ]
2008-04-08MODULES=dep fix ps3 supportmaximilian attems
Debian never shipped the PS3PF legacy plattform, only retain the relevant upstream accepted ps3 plattform drivers.
2008-04-08hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 list of net ↵maximilian attems
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.
2008-04-08update-initramfs: Rename function according to reliability fix.maximilian attems
purpose of function changed, now we keep the old initramfs on the real path until mkinitramfs run finished.
2008-04-08update-initramfs: Initramfs generation reliability fixes.Luke Yelavich
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 ]
2008-04-07resume: Add support for resume_offset swap file suspend to disk.maximilian attems
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.
2008-04-02configure_networking(): guard against unset "${DEVICE}"maximilian attems
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.
2008-04-02update-initramfs: use dpkg-triggerJoey Hess
This is a lightly modified version of Ian Jackson's original patch, incorporating maximilian attems's comments. dh_installdeb automatically installs the triggers file, so the rules file does not need to be changed.
2008-04-02ps3 nuke useless hardcoded initramfs script.maximilian attems
udev takes care to load the relevant modules. also PS3PF never had landed in debian thus pretty useless to take care of it just nuke it and be happy that udev loading is fixed since 2.6.23-rc1.
2008-03-31ps3: load the newer modules.maximilian attems
based on a patch by Luke Yelavich <luke.yelavich@canonical.com>.
2008-03-31scripts/functions: fix configure_networking() for multiple interfaces.maximilian attems
IPOPTS can be assumed to get passed :::::: and thus configure any possible interface. we have thus also to source the relevant ipconfig output :) based on a patch by Michal Sojka <sojkam1@fel.cvut.cz>: "If I want several computers to boot from the same ramdisk (with NFS root) and some computers have multiple network interfaces, the DEVICE variable can't be set to a specific value (e.g. eth0). Ipconfig from klibc supports a mode, where DHCP request is sent to all interfaces and the one receiving the first DHCP offer is used. This perfectly suits my needs, but it can't be used with initramfs scripts because the interface name in not known in advance and the DEVICE variable is set to something like ::::::."