summaryrefslogtreecommitdiff
path: root/scripts/functions
AgeCommit message (Collapse)Author
2007-04-05scripts/functions, mkinitramfs: better backup file handlingmaximilian attems
* don't panick on backup files on boot, just ignore them * don't include backup file in initramfs * cleanup changelog this is quite a fundamental change need to double check that it works on nfs root too.. :)
2007-04-02first prerelease 0.86 + merge 0.85fmaximilian attems
* kick mdrun script * update control for lenny + ubuntu * add _all_ ide, block and drivers * use MODPROBE_OPTIONS and kill any modprobed arg * small doc + whitespace fixes
2006-08-23- improved nfsroo parsingmaximilian attems
- added rootdelay and rootfstype bootargs - document this changes - initrd-tools backward compatible mdadm assembe and then run mdrun - update-initramfs really checkout use_bootloader from /etc/kernel-img.conf - tighter klibc deps
2006-08-18- really add DAC960 + add megaraid_sasmaximilian attems
- update TODO - first take at the panic parsing - do_bootloader variable is not case sensitive, catch more cases - if panic is set to 0 reboot and don't open console, needs still work for all other values.
2006-08-17Release 0.74:maximilian attems
- scripts/functions: fix debug boot param - update-initramfs: checkout /etc/kernel-img.conf if lilo and grub is installed - rename mdraid to mdrun, readd mdrun as it seems to work much better with sarge systems - add an help message for rescue shell - better package desc
2006-07-24- add BUSYBOX section to confmaximilian attems
- add myri10ge, smc911x and hptiop modules - fix check_minkver() logic - escape resume variables - fix SEE ALSO section in all manpages - source /usr/share/initramfs-tools/conf.d/* - check against modules.dep before running depmod - more verbose output - open console with -i for dash interactive - fix resume param by LABEL or UUID - lvm has new prereq mdadm - update-initramfs fix -v calling - functions/scripts replace basename usage with shell expansion
2006-07-16massif whitespace cleanupmaximilian attems
2006-07-02- move check_minkver() to hook-functionsmaximilian attems
2006-07-02woow pile of stuff turned up:maximilian attems
- cleanup of activate_vg() in lvm boot script - use less of busybox utilities - conf.d for BUSYBOX=y usage for the packages - don't poke on conffile for RESUME - use printf instead of expr (ooh ash and dash are *fun*) - fix update-initramfs to use current_version when no other version exists around
2006-06-27- fix typo on panic callmaximilian attems
- load the right i2c module for ppc g5 (windfarm needs more work)
2006-06-24- no longer need to remove initramfs-tools/modules on postrmmaximilian attems
ubuntu sync: - change prereqs policy - add check_minver - use it in update-initramfs - fix version to use in update-initramfs
2006-04-180.60:maximilian attems
- bug script - cryptoroot support - change exported variables - nfsopts, rootflags support - warn lilo+grub install - doc fixes
2006-03-26fix copyrightmaximilian attems
module-init-tools dep gdth lilo minor parsing fixes
2006-03-18* fix minor parsingmaximilian attems
* add linear module * manpage polishing * udev_helper needs some conf sourced
2006-02-27sync with ubuntu22 + some handmergesmaximilian attems
2006-01-24check for /dev/.initramfs/ before writing into it,maximilian attems
seen on an testboot with "break=init".
2006-01-24take care of modular atkb and i8042.maximilian attems
seen on the Debian ppc .config!?
2006-01-24sync 0.40ubuntu16maximilian attems
2006-01-23Call panic on circular deps to get rescue shell.maximilian attems
2005-12-12debian's module-init-tools of testing doesn't have yet themaximilian attems
modprobe -Qb interface, keep the change for next time. :(
2005-12-12merge ubuntu modprobe silence stuffmaximilian attems
and cp all /etc/modprobe.d :)
2005-12-07remove dup suspend codemaximilian attems
2005-12-05resync with latest ubuntu, split udev done by hand.maximilian attems
2005-11-02fix suspend to disk: use decimal numbers.maximilian attems
2005-10-26fix stat usage, which is no longer available in newer busybox.maximilian attems
use awk instead for determinig major_minor. great patch cures a hang observed on one of my laptops. :-) patch from Adrian Bridgett <adrian@smop.co.uk>, #335801.
2005-10-21waldi udev fixesmaximilian attems
2005-10-01apply all the 0.30 upstream changes.maximilian attems
2005-09-17initramfs-tools (0.26) breezy; urgency=lowJeff Bailey
"Experience is one thing you can't get for nothing." - Oscar Wilde * scripts/local-top/lvm: Reduce -- to - in VG strings for feeding to vgchange. (Ubuntu: #13387) * update-initramfs: New file * debian/dirs: Add /var/lib/initramfs-tools * hooks/evms: New file * scripts/local-top: New file. * debian/control: Bump klibc depends to 1.0.14-1ubuntu2 for jfs support * hook-scripts (manual_add_modules): Don't do unnecessary depmod (dep_add_modules): No need for a sleep 2 here. Thanks to Matt Zimmmerman for noticing these! * scripts/functions: Attempt resume before loading USB or Network modules to avoid resume issues with USB. Thanks to Matthew Garrett for this patch! * scripts/functions (ide_boot_events): Always load ide-generic before going further. This allows us to catch any hidden IDE controllers that might not otherwise get found. * initramfs.conf.5: New file * debian/initramfs-tools.manpages: Install it. Thanks to maximilian attems for the manpage! * hook-functions (auto_add_modules): Add mptscsih (Ubuntu #15406) Thanks to Jesper Krogh for the bug report! * debian/dirs: Add etc/mkinitramfs/hooks, move all scripts subdirs into etc/mkinitramfs/scripts. * mkinitramfs: Set the umask. Copy the scripts from /etc/mkinitramfs/scripts into the image. Make sure that modules file lists is actually a regular file. * init: Use ${rootmnt} instead of hardcoded /root, use mount -n Fix typo. * hook-functions (catenate_cpiogz): Add sanity check. (add_modules_from_file): Document, quote variable, add warning. * docs/example_hook: Update Thanks to Karl Hegbloom for these previous 5 patches! * init: Create /var/lock on the initramfs Thanks to Jerry Haltom for noticing this! * debian/dirs: rename to ... * debian/initramfs-tools.dirs: ... this. * scripts/functions (scsi_boot_events): Don't attempt to look at ${device}/type if it doesn't actually exist. -- Jeff Bailey <jbailey@ubuntu.com> Wed, 14 Sep 2005 14:12:24 -0400
2005-08-26initramfs-tools (0.24) breezy; urgency=lowJeff Bailey
"Experience is simply the name we give out mistakes." - Oscar Wilde * hook-functions (auto_add_modules): Add cciss (Ubuntu #14177) Thanks Fabionne! * scripts/functions (parse_numeric): Noop on empty parameter. Fixes LTSP boot failure. Thanks to Oliver Grawert for testing! * scripts/local-top/md: Don't run modprobe when raidlvl is unset. Run mdadm if raidlvl has ever been set, not just if the most recent device checked was part of the raid setup. Thanks to Jeff Waugh for the bug report! * mkinitramfs: Feed the -o argument through readlink -f to get the canonical pathname. -- Jeff Bailey <jbailey@ubuntu.com> Fri, 26 Aug 2005 09:35:32 -0400
2005-08-25initramfs-tools (0.23) breezy; urgency=lowJeff Bailey
"This suspense is terrible. I hope it will last." - Oscar Wilde * scripts/local: Quote ${ROOT} so that an empty value causes us to drop to a shell. Thanks to Matt Zimmerman for this fix! - hook-functions (auto_add_modules): Add atiixp and opti621 to the IDE set. - hook-functions (dep_add_modules): Detect i2o and add i2o_block (auto_add_modules): Include i2o_block. - scripts/functions (i2o_boot_events): New function (load_modules): Call it. (Ubuntu# 13806) Thanks to Tollef Fog Heen for the i2o patch! - debian/control: Depend on udev. Thanks to Alexander Butenko for troubleshooting this with me. - init: Move the /dev directory to the root filesystem. Handle all the udev bind mounts as needed. Make sure input and output is associated with dev/console. - scripts/functions (parse_numeric): Exit if we're refering to a path. Otherwise override root setting to be /dev/root. - init: Call parse_numeric when setting the root variable. - scripts/local-top/lvm: When using a numeric root, call vgchange -ay Don't attempt to start LVM on regular partitions. (Ubuntu #13365, #13778, and some of #13399) - scripts/local-top/lvm: Cope with -'s in the Volume Group and logical volume names. (Ubuntu #13387) Thanks to Stephen Shirley for the patch! -- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400 initramfs-tools (0.22) breezy; urgency=low * Fix argument handling in force_load hook-function * Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942 -- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700
2005-08-16Cleanup commit, sorry for the messJeff Bailey
2005-07-27initramfs-tools (0.14) breezy; urgency=lowJeff Bailey
The
2005-07-15Add lvm support, update controlJeff Bailey
2005-06-30* Use detailed logging now for debian/changelog. We have at leastJeff Bailey
three people hacking now, and details would probably be useful. * debian/TODO: Update * debian/dirs: Sort and add usr/share/initramfs-tools/hooks * debian/initramfs-tools.examples: Add docs/example_hook and docs/example_hook_cpiogz * debian/initramfs-tools.install: Pretty Print. * debian/rules: Ensure that mkinitramfs is executable * docs/example_script: New file * init: Add concept of 'quiet', be verbose if not specified * mkinitramfs: Do not load script functions until needed Clear up comments / documentation Use DESTDIR instead of TMPDIR Add ability to link in extra hunks into the cpio file Cosmetic cleanups * scripts/functions: Add lsb stype log_FOO_msg functions * scripts/local: Add logging * scripts/nfs: Add logging
2005-06-21* Default to currently running kernel version.Jeff Bailey
Based on a patch from maximilian attems, thanks! * Handle module arguments in /etc/mkinitramfs/modules * Do hookscripts at generation time. Drop things into /usr/share/initramfs-tools/hooks or /etc/mkinitramfs/hooks * Make sure local-bottom and nfs-bottom get created Thanks to Karl Hegbloom for these three patches! * Prune stray echo from call_scripts * Load raid1 for now so that md setups will work. * Detect ide modules load Thanks to Jeff Waugh for initial testing of this!
2005-06-20* Don't complain if /etc/mkinitramfs/modules doesn't exist.Jeff Bailey
* Make sure that raid1 is pulled in. * Include /etc/modprobe.d/aliases in the initramfs
2005-06-17Make quieter, match mkinitrd interface, pull in dependencies for nfs and ↵Jeff Bailey
dhcp, document upstream repository location
2005-06-17Use /sbin, do depmod at boot time, copy all the interesting hardware drivers ↵Jeff Bailey
onto the initramfs
2005-06-17Integrate Matt Zimmerman's changes to initramfsJeff Bailey
2005-06-16Require busybox-cvs-initramfs, include modprobe bitsJeff Bailey
2005-06-13Update with new dependancy based init system, call the right script ↵Jeff Bailey
directories, always use busybox now, sigh.
2005-06-09Hookscripts, prunce extrasJeff Bailey
2005-06-09Add hookscriptsJeff Bailey
2005-06-08Initial checkinJeff Bailey