summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-22blacklist earlier at init-top stagemaximilian attems
as udev will start earlier, care to blacklist before it loads. Signed-off-by: maximilian attems <maks@debian.org>
2010-02-22mkinitramfs: KEYMAP option fails to work due to missing keymapMaximilian Gass
I have attached a patch that makes the keymap hook consider /etc/console-setup/cached.kmap.gz. I have also added gunzip to the initramfs because otherwise loadkeys complained that it was missing and failed to load the keymap. (closes: #565416) Signed-off-by: maximilian attems <maks@debian.org>
2010-02-22initramfs-tools: make the panic argument available in the rescue shellFerenc Wagner
Sometimes one misses the error message printed by the panic helper function, for example when attaching a serial console after the fact, or if kernel messages resulting from udev activity obscure or scroll it away. Please consider adding some facility like the attached patch. Thanks, Feri. (closes: #569033) Signed-off-by: maximilian attems <maks@debian.org>
2010-02-22mkinitramfs: add all usb storage devicesAvi Rozen
USB storage device is not recognized at boot after kernel upgrade to 2.6.30. It seems that the usb-storage module has been split into several mini modules, which are not copied to the initramfs image. In my case usb-storage.ko is copied but ums-cypress.ko is not copied. I've attached a patch against hook-functions that fixes this, by using copy_modules_dir to copy all the modules in kernel/drivers/usb/storage, instead of just usb-storage. I've set the severity to important because my USB storage device also happens to be the boot device... Cheers, Avi (closes: #543568) Signed-off-by: maximilian attems <maks@debian.org>
2010-02-22hook-functions: Avoid firmware copy error.Michael Prokop
Fix a2127d33 for systems without /proc/modules because the check has the wrong logic order. (closes: #570678) Signed-off-by: maximilian attems <maks@debian.org>
2010-02-19mkinitramfs: only copy modprobe conf filesmaximilian attems
do not add packaging garbage (closes: #506533) Signed-off-by: maximilian attems <maks@debian.org>
2010-01-30scripts/local: Use blkid as backup fstype detectionmaximilian attems
if blkid is on initramfs use it. Thanks to Joey Hess <joeyh@debian.org> for calling syntax. Signed-off-by: maximilian attems <maks@debian.org>
2010-01-30scripts/local: avoid mount -t unknownJoey Hess
Since fstype does not support btrfs (#548047), and since udev 150, vol_id no longer exists, get_fstype sets FSTYPE to "unknown", and then the root filesystem is mounted using "mount -t unknown /dev/hda2 /root". Of course, that fails, and with a really unhelpful error message ("mount: device doesnot exist") Why not just skip the -t parameter if FSTYPE=unknown? Mounting the root fs was going to fail, so letting mount autodetect the fs type can't be worse. Attached patch does that and got my root on btrfs working. Workaround: boot with rootfstype=btrfs Signed-off-by: maximilian attems <maks@debian.org>
2009-12-29Fix path to nfsroot.txt in documentation.Michael Prokop
Signed-off-by: maximilian attems <maks@debian.org>
2009-11-16copy_exec: Check if ldd is aroundmaximilian attems
got report of a box with missing ldd. as the errors get seded away the user is left with no idea of the failure. Signed-off-by: maximilian attems <maks@debian.org>
2009-11-08mkinitramfs: Be opportunistic when calling modprobe thus showing errorsmaximilian attems
don't suppress the modprobe error output!!! this can happen when your depmod was generated by newer m-i-t then Lenny's. make deb-pkg generated images don't call yet depmod -a in postinst thus it can happend there and it was already triggered. (closes: #554873) Reported-by: Michael Prokop <mika@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-10-28hook-funcitions: Only warn about missing firmware if /proc/modules existsmaximilian attems
makes no sense to look up if there are no modules. seen on a piuparts installation of linux-2.6 Signed-off-by: maximilian attems <maks@debian.org>
2009-10-01kernel hook scripts: add commentsmaximilian attems
try to make the intention of the code more clear Reported-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: maximilian attems <maks@debian.org>
2009-10-01kernel hook scripts: Fix typomaximilian attems
/etc/kernel/postrm.d/initramfs-tools: line 12: =: command not found It says: ${bootdir}= $(dirname "$2") which should be: bootdir=$(dirname "$2") Tested-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: maximilian attems <maks@debian.org>
2009-09-27Nuke useless unused dir.maximilian attems
shipp used conf-hooks.d Reported-by: Jonas Meurer <mejo@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-09-25/etc/kernel/postrm.d/i-t: use now takeover on deletemaximilian attems
makes the script idempotent (closes: #547365) Reported-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: maximilian attems <maks@debian.org>
2009-09-25update-initramfs: allow -t takeover on deletemaximilian attems
needed to have idempotent delete
2009-09-25/etc/kernel hook script support newer kernel-packagemaximilian attems
k-p no longer generates initramfs by itself, so do it for it. (closes: #523735)
2009-09-25blacklist boot hook write to /etc/modprobe.d/initramfs.confTormod Volden
Newer modprobe will only look at .conf files. (closes: #541864) Signed-off-by: maximilian attems <maks@debian.org>
2009-09-25fix out-of-date-standards-versionmaximilian attems
2009-09-21initramfs-tools.8: fix boot example script to execute scripts/functionsmaximilian attems
example boot script needs it for log_begin_msg and log_end_msg functions. (closes: #545728) Reported-by: Rodolphe Pelloux-Prayer <rodolphe@damsy.net> Signed-off-by: maximilian attems <maks@debian.org>
2009-08-08hook-functions: Fix mounted /sys check for openvz container.maximilian attems
ls -l /sys total 0 drwxr-xr-x 5 root root 0 2009-08-08 11:53 class drwxr-xr-x 2 root root 0 2009-08-08 11:53 devices
2009-07-29mkinitramfs fix commentmaximilian attems
2009-07-29move busybox addition to a hook scriptmaximilian attems
thus export the 2 needed busybox variables, be sure to have the klibc shell for now around. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29klibc remove zcat and gunzipmaximilian attems
not really used in initramfs. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29Revert "hook-functions: Add hid_* modules."maximilian attems
don't support any possible usb keyboard under earth, the usbhid is default the rest should be added by the appropriate sysadmin. revert this ubuntu sync for smaller initramfs and thus faster boot. This reverts commit 7d28901223a8f5fa47ddb0b0d39b34b04d43b8e9. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29nuke framebuffer boot scriptmaximilian attems
fb should be loaded after initramfs by init to have a beautiful userland. allows faster boot not to try parsing crazy things with only posix sh at our hands. this will need a README.DEBIAN section as noone is now currently loading fbcon. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29nuke kernelextras hookmaximilian attems
adds fbcon vga16fb for usplash, as this not useful for default just remove it. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29Redefinde MODULES=most to not carry any fb driver per default.maximilian attems
this allows for a much smaller initramfs and thus faster boot. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29create a klibc hook scriptmaximilian attems
we may soon no longer need it, so move it out to its own, so it can be more easily played with. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29nuke thermal hooksmaximilian attems
thrive for a smaller initramfs, were loading of the modules is so fast that acpi should be loaeded by udev after init(8) call. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29release 0.93.4maximilian attems
last of this line, we need to work on bootspeed.
2009-06-25MODULES=most: Add virtio_net to initramfs.maximilian attems
allows boot via PXE in a KVM virtualiziation environment. (closes: #533894) Reported-by: Michael Prokop <mika@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-06-23hook-functions: Fix loading of entries without newline in /etc/i-t/modulesmaximilian attems
don't use the overcomplicated sed to add a newline to really strip it, just use the simple /etc/init.d/module-init-tools parsing that should be well enough tested. ;) (closes: #532745) Signed-off-by: maximilian attems <maks@debian.org>
2009-06-23control: bump standards version without changes.maximilian attems
2009-06-23control: bump versioned dep on debhelpermaximilian attems
fixes lintian warning: package-lacks-versioned-build-depends-on-debhelper * 5
2009-06-23initramfs-tools.8: Convert hyphen to minus signmaximilian attems
fixes lintian error: hyphen-used-as-minus-sign
2009-06-23preinst: Don't hardcode vol_id cmdmaximilian attems
use command instead of hardcoded path, fixes lintian error: command-with-path-in-maintainer-script Signed-off-by: maximilian attems <maks@debian.org>
2009-06-16scripts/init-top/framebuffer: i915 needs intel-agp tooAaron M. Ucko
The i915 DRM module doubles as a framebuffer of sorts, at least in kernel mode-setting setups; like its cousins intelfb and i810fb, it effectively requires intel-agp despite not actually using any of its symbols. As such, could you please arrange for scripts/init-top/framebuffer to give it the same treatment, per the following patch?: (closes: #533258) Signed-off-by: maximilian attems <maks@debian.org>
2009-06-10release 0.93.3maximilian attems
too many small fixes piled up to hold back even more..
2009-06-03nuke useless old filemaximilian attems
leftover from old bzr import. Reported-by: Michael Prokop <mika@grml.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-05-18mkinitramfs: Invoke dpkg --print-architecturemaximilian attems
Fixes: > Running update-initramfs. > update-initramfs: Generating /boot/initrd.img-2.6.29-2-amd64 > dpkg : avertissement : obsolete option > '--print-installation-architecture', please use '--print-architecture' > instead. > dpkg : avertissement : obsolete option > '--print-installation-architecture', please use '--print-architecture' > instead. While we are it nuke duplicate invocation, since DPKG_ARCH is an exported variable anyway. (closes: #529222) Reported-by: Raphaël Hertzog <hertzog@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-05-11hook-functions: MODULES=most fix old typo s/smc911x/smc91x/maximilian attems
commit 8761821795732a9755d673e92fb45ac9202270df had the error. (closes: #528094)
2009-04-23debian/control: No longer mention EVMS in long description.maximilian attems
evms seems dead, so no longer list it explicitly. Signed-off-by: maximilian attems <maks@debian.org>
2009-04-21hook-functions: MODULES=dep error out if sysfs not mounted on /sys.maximilian attems
currently we fail sylently later, make it explicit. (closes: #524179) Signed-off-by: maximilian attems <maks@debian.org>
2009-04-21copy_exec: also avoid picking sse2, neon, and vfp hwcaps libs.Loic Minier
merge 0.92bubuntu29 Signed-off-by: maximilian attems <maks@debian.org>
2009-04-21update-initramfs: Don't hardcode path for lilo or elilo.maximilian attems
elilo seems to be installed in /usr/sbin/ and thus wasn't run. (closes: #524928) Reported-by: dann frazier <dannf@hp.com> Signed-off-by: maximilian attems <maks@debian.org>
2009-04-18update-initramfs: Pass version to flash-kernelmaximilian attems
allows handling of different subarches. (closes: #523711) Reported-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: maximilian attems <maks@debian.org>
2009-04-13hook-functions: Add i915 module for kms.maximilian attems
people still need to enable kernel mode setting, but the module should be on the initramfs by default. currently no other drm module supports kms yet. Reported-by: Yves-Alexis Perez <corsac@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-04-10merge 0.92o from git://git.debian.org/git/kernel/initramfs-tools.gitAn-Cheng Huang