summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-17hook-functions: Fix MODULES=dep for lvm LABEL fstab notationEugene Paskevich
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)
2008-12-16release 0.92mmaximilian attems
2008-12-16init: Don't leak initramfs-tools exported variables.maximilian attems
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.
2008-12-15fix redboot partition supportAndres Salomon
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>
2008-12-15scripts/functions: comment fix path to moved linux-2.6 Documentation.maximilian attems
2008-12-15Revert "framebuffer: Let udev create fb devices."maximilian attems
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.
2008-12-15Make debug option write to /dev/.initramfs/initramfs.debugColin Watson
rather than /tmp/initramfs.debug, so that it can be retrieved after boot.
2008-12-15framebuffer: Add support for uvesafbMichal Pokrywka
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.
2008-12-15postrm: set -e flagmaximilian attems
harmless as the postrm is small, but better be clean.
2008-12-15nuke 0.92k goof clean upmaximilian attems
2008-12-15Add atl1e, cxgb, ixgb, ixgbe, mlx4_core, netxen_nic, sfc, tehuti to net ↵maximilian attems
module list closes: #503216
2008-12-15hook-functions: alphebetize net drivers, fix typhoon typomaximilian attems
2008-12-14MODULES=dep fix for ida devicesmaximilian attems
same fix as cciss, see #507619
2008-12-14Fix MODULES=dep for cciss devicesdann frazier
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)
2008-12-14scripts/functions: fix not set break variablemaximilian attems
thanks martin f krafft <madduck@debian.org> closes: #502058
2008-12-14scripts/functions: Wrong check for udevadm in functionsJulien Danjou
2008-12-14scripts/functions: Call ipconfig with a one-minute timeoutColin Watson
rather than waiting forever (LP: #182940).
2008-09-17release 0.92lmaximilian attems
have to clean up goof up from 0.92k too..
2008-09-17Revert "initramfs-tools: Add support for linux-2.6 make deb-pkg target"maximilian attems
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)
2008-09-16release 0.92kmaximilian attems
2008-09-16initramfs-tools: Add support for linux-2.6 make deb-pkg targetmaximilian attems
it generates linux images that look into this directories for maintainer script action. make sure to generate an intramfs and also to remove it.
2008-09-15auto_add_modules: add dasd_diag_mod to dasd sectionmaximilian attems
2008-09-15update initramfs.confMartin Michlmayr
Now that d-i won't create /etc/initramfs-tools/conf.d/driver-policy in all cases, I think reference to is mostly useless.
2008-09-15update-initramfs: don't run glantank-update-kernelMartin Michlmayr
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).
2008-09-13release 0.92jmaximilian attems
2008-09-12initramfs.conf: Mention possible value overriding by d-i for example.Martin Michlmayr
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.
2008-09-12add dasd_diag_mod to auto_add_modules block sectionmaximilian attems
found under drivers/s390/block instead drivers/block location. "allows to access disks under VM" request by s390 porter Bastian Blank <waldi@debian.org>
2008-09-12readd zfcp to auto_add_modulesmaximilian attems
lives under drivers/s390/scsi and not drivers/scsi (closes: #498698)
2008-09-08initramfs-tools.8: Nuke useless bold spaces.Gerfried Fuchs
2008-09-08initramfs-tools.8: Fix manpage-has-errors-from-manGerfried Fuchs
`/usr/share/initramfs-tools/hook-functions' would not show up.
2008-09-08release 0.92imaximilian attems
2008-09-08MODULES=dep fix for root lvm on mdmaximilian attems
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>
2008-09-02release 0.92gmaximilian attems
2008-09-02Fix parse_numeric() to ignore non hex root string prefixesAndres Salomon
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
2008-08-15wait_for_udev: s/udevsettle/udevadm/ for upgrades after Lennymaximilian attems
after lenny the symlink of udev is meant to be gone, support partial upgrades from lenny.
2008-08-15auto_add_modules: Add ext4 and ext4devmaximilian attems
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)
2008-08-12release 0.92fmaximilian attems
2008-08-12Update to newer standards version without changes.maximilian attems
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