summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-290.92o+vyatta+2debian/0.92o+vyatta+2An-Cheng Huang
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-100.92o+vyatta+1debian/0.92o+vyatta+1An-Cheng Huang
2009-04-10Merge branch 'upstream' into jennerAn-Cheng Huang
Conflicts: debian/changelog
2009-04-10merge 0.92o from git://git.debian.org/git/kernel/initramfs-tools.gitAn-Cheng Huang
2009-04-03update-initramfs: Text exit code of command -v too.maximilian attems
same simplification. Signed-off-by: maximilian attems <maks@debian.org>
2009-04-03cleanup LABEL handling codemaximilian attems
make it more concise: * use POSIX ${parameter:+word} * replace *[/]*) by just */*) * test exit code of command -v rather then running test -x on it while we are at it fix another command -v usage in scripts/functions. Reviewed-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: maximilian attems <maks@debian.org>
2009-04-02release 0.93.2maximilian attems
2009-04-02mkinitramfs: Allow dots in boot and script filenames.maximilian attems
the regex was overly severe not allowing dots althoug they are useful as word ending. based on a patch in launchpad, that didn't get all occurences right, but was a good start. (LP: #305837)
2009-04-02init-top/framebuffer: syntax fix.maximilian attems
fix wrong merge of e184c8c2a9ad4520cf0cf4536301c6ae6206e911 scripts/init-top/framebuffer: 84: Syntax error: ")" unexpected (expecting ";;")
2009-04-01hooks/thermal: Prevent inclusion of windfarm modules on PS3.maximilian attems
Do not load thermal control for macintosh if the device is a PS3. fixes cosmetic issue of boot messages: FATAL: Error inserting therm_pm72 (/lib/modules/2.6.28-4-powerpc64-smp/kernel/drivers/macintosh/therm_pm72.ko): No such device FATAL: Error inserting windfarm_pm112 (/lib/modules/2.6.28-4-powerpc64-smp/kernel/drivers/macintosh/windfarm_pm112.ko): No such device (LP: #346899) this is a port of the 0.92bubuntu26 patch. Reported-by: Arnaud Jeansen <arnaud.jeansen@gmail.com>
2009-03-31init-top/framebuffer: Load intel-agp for intelfbMaik Zumstrull
After further experimentation, I discovered additional problems that my first patch did not address, namely that 1) Some FB drivers need the AGP subsystem up and running before they are loaded and 2) intelfb needs intel-agp.ko, but does not have a dependency on it. intelfb does not actually *work* on my testsystem after this (it crashes), but unlike with plain initramfs-tools, it loads (and prints something useful if loaded with the probeonly option). I'll try to find out why it fails to work tomorrow; it's probably an unrelated issue. [ make the patch applyable, probably whitespace damaged, fix comments, no need to pass -q to modprobe that is set globaly -maks ] (closes: #416063, #455876) Signed-off-by: maximilian attems <maks@debian.org>