summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2009-03-30update-initramfs: Fix error message on wrong -k version argumentmaximilian attems
update-initramfs -k $(uname -a) -t -u You must specify at least one of -c, -u, or -d. [..] which is wrong as -u was reported. Reported-by: Michael Prokop <mika@grml.org>
2009-03-30hook-functions: MODULES=most fb add all available agp modulesmaximilian attems
this was proposed in patch on #416063 by Maik Zumstrull <Maik.Zumstrull@gmx.de> but don't hardcode the list, just add all build ones: ls /lib/modules/2.6.29-1-amd64/kernel/drivers/char/agp/ intel-agp.ko sis-agp.ko via-agp.ko
2009-03-30update-initramfs: Run update on highest version instead of /initrd.img linkmaximilian attems
"Ah. there were symlinks in / - tho they were never ever used on this system. Seems pretty broken to rely on symlinks that might (and are) years out of date." Reported-by: Peter Palfrader <weasel@debian.org> so no longer rely on this links like since 0.65, but use the "latest" according the dpkg higher heuristic check. that should make people more happy! also the symlinks should be phased out, only fallback to them if set_highest_version() finds nothing. (closes: #493863)
2009-03-30update-initramfs: mbr_check() use /boot/grub/grub.cfg for grub2 search.maximilian attems
only comes into play if lilo is installed too and usage is not configured by do_bootloader in /etc/kernel-img.conf. (closes: #427509)
2009-03-30update-initramfs: Cleanup run_bootloader()maximilian attems
rework it's logic, instead of 2 nested top ifs use one if with 2 "&&" connected checks. gets us rid of one nested level. simplify codeflow inside too as bonus. make clear why mbr_check() is run.
2009-03-29hook-functions: MODULES=most add all fb modules per defaultmaximilian attems
"with kernel mode setting, i'd imagine that including framebuffer drivers becomes even more important, too" -dilinger this is basedon a patch by Maik Zumstrull <Maik.Zumstrull@gmx.de>, but instead of hardcoding a list just copy over all fb from the relevant driver directory. first part of #416063.
2009-03-29hook-functions: Add firmware from versioned directories too.maximilian attems
First see if there is a $(uname -r) versioned firmware around and if there is add it first. should make ubuntu sync easier too, as they shipp their firmware there. (closes: #521370)
2009-03-27hook-functions: stricter match on loaded module for firmware warning.maximilian attems
Otherwise it likes to warn for e100 even if e1000e is in use: grep e100 /proc/modules e1000e 110896 0 - Live 0xffffffffa0028000
2009-03-24hook-functions: MODULES=dep fix for luks over cciss devicesFrançois Delawarde
I needed to run update-initramfs w/ MODULES=dep (for some 15M BIOS size limitation w/ lilo on an HP server), turns out that I found the same bug as #507619 (please refer to it for details), except that I have a LUKS format over the cciss device. As bug #507619 describes: "dep_add_modules() expects to find a /sys/block/cciss/c0d0p file, but it should be trying /sys/block/cciss!c0d0" It also mentions: "fyi, I suspect this may also apply to old-style smart array devices, where device names are similar, but use 'ida' intead of 'cciss' - e.g. /dev/ida/c0d0p1." The following patch fixes it for me (on cciss) and should also fix it for ida devices. [ patch got checked and tested life on #debian-boot channel, see below -maks ] fixed warning: mkinitramfs: missing cciss!c0d0p2 root /dev/mapper/quakelive-root /sys entry of course, since the new value of block comes out of /sys/block/dm-${minor}/slaves, it makes sense that it would already be in sysfs syntax. Tested-by: Timothee Besset <ttimo@ttimo.net>