summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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).