summaryrefslogtreecommitdiffstats
path: root/hooks
AgeCommit message (Collapse)AuthorFilesLines
2011-11-15hooks/resume: Remove unused functionGerardo Exequiel Pozzi1-2/+0
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-09-27keymap: simplify unicode detectionDave Reisner1-6/+7
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-25init: declare PATH, remove absolute pathsDave Reisner5-13/+13
We were never very consistent about this anyways. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-06-16dmesg: remove install/hookDave Reisner1-5/+0
This should be set via the loglevel= parameter on the kernel cmdline. Signed-off-by: Dave Reisner <d@falconindy.com>
2011-05-01Trigger udev events like in initscriptsGerardo Exequiel Pozzi1-1/+2
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-02-01Remove some obsolete 'export'sThomas Bächler1-1/+1
2011-01-31Enhance sleep hook to watch for device availabilityThomas Bächler1-2/+6
Add a sleepdevice= parameter that will watch for the specified device to appear and then move on. This is more flexible than a defined sleep period and prevents needless waiting if the device appears sooner. Original patch by: Dan McGee <dan@archlinux.org>
2010-07-05Merge branch 'btrfs' of http://github.com/heftig/mkinitcpio into workingThomas Bächler1-0/+7
2010-06-23Add memdisk hookThomas Bächler1-0/+11
This hook creates a block device for virtual disks created by memdisk (http://syslinux.zytor.com/wiki/index.php/MEMDISK).
2010-06-19Simple Btrfs hookJan Steffens1-0/+7
All it does for now is cause a Btrfs scan so we can mount multi-device volumes.
2010-06-03udev hook: Add --action=add to udevadm triggerThomas Bächler1-1/+1
2010-05-08Add dmesg hookThomas Bächler1-0/+5
2010-05-08Allow usage of non-utf8 fonts in the consolefont hook, see FS#19109Thomas Bächler1-0/+6
Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109 This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package
2010-02-22Add 'sleep' hookThomas Bächler1-0/+9
2010-02-19Fix typo in 01cfe5572f6cfc172dddc013494511a59a7ed85fThomas Bächler1-1/+1
2010-02-18Fix NFS backward-compatibility with kinitThomas Bächler1-1/+5
NFS options of the style nfsaddrs=* and ip=dhcp (without the long : syntax) used to be supported by kinit, but were undocumented in Arch's help. This change hopefully restores full compatibility with old kinit configurations.
2010-02-16Introduce mount handlersThomas Bächler1-0/+14
Instead of having special NFS code in /init, make it possible for a hook to register a mount handler When a hook sets the mount_handler environment variable, the normal mount code will be skipped and the handler will be called with the path to mount point as the first and only argument.
2010-02-13Minor cosmetic fixSimon Boulay1-1/+1
2010-02-13Provide better nfsroot/rootserver/rootpath parsingSimon Boulay1-13/+26
2010-02-11Fix tabs/space indents from commit 866db5c5Gerardo Exequiel Pozzi1-3/+3
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-10Add "consolefont" hook to set the console font earlyThomas Bächler1-0/+10
Patch provided by Davorin Učakar, currently only unicode fonts are supported
2010-02-09Add support for mounting root filesystem over NFS.Simon Boulay1-0/+72
2010-02-08Fix wrong syntax in the resume hook, finally fix tuxonice (hopefully)Thomas Bächler1-11/+13
2010-02-07Do not try to load the keymap if no KEYMAP option is set in rc.confThomas Bächler1-10/+12
Fixes FS#18214
2010-02-05Remove the raid hook: This will be replaced by the better hook from the ↵Thomas Bächler1-9/+0
mdadm package
2010-01-12Add keymap hookThomas Bächler1-0/+15
2010-01-10Add udev hook, originated from the obsolete klibc-udev packageThomas Bächler1-0/+8
2010-01-10Remove parseblock usage from resume hook, also fix resuming with tuxoniceThomas Bächler1-10/+18
2009-06-07Always use rootdelay when polling a device, set it earlier in the init file0.5.25Thomas Bächler1-1/+1
2009-06-06Use poll_device before resuming, continue if the device doesn't existThomas Bächler1-10/+12
2009-06-06Remove the usb and fw runtime hooks, as a default delay is now always setThomas Bächler2-16/+0
2009-06-06Remove the filesystems runtime hook: Detection is done by kinit, don't ↵Thomas Bächler1-46/+0
duplicate code here
2009-06-06Remove the modload hook. It is untested and unmaintained.Thomas Bächler1-48/+0
2008-03-22Change resume hook to work with tuxonice0.5.18Thomas Bächler1-14/+9
2008-03-16Fix various coding style issuesThomas Bächler2-3/+3
2007-08-11Coding style change, use -n and -z for variable testsAaron Griffin2-4/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@209 880c04e9-e011-0410-abf7-b926e227c9cd
2007-05-12- adjusted all hooks for new modprobe pathThomas Bächler3-14/+14
- added compatibility symlink /bin/modprobe - 0.5.14 release git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@206 880c04e9-e011-0410-abf7-b926e227c9cd
2007-03-12* Jan Peter den Heijer <jpdenheijer@gmail.com>Aaron Griffin2-2/+2
Default rootdelay for removable devices to 6 seconds. git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@202 880c04e9-e011-0410-abf7-b926e227c9cd
2007-03-07Changes / suggestions from Jan Peter den Heijer <jpdenheijer@gmail.com>Aaron Griffin1-1/+0
* Check for root device, drop down to recovery prompt and allow for reboot * Handle rootdelay in init (before udev is killed), to properly populate devices git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@199 880c04e9-e011-0410-abf7-b926e227c9cd
2007-03-01Fix the "Loading root filesystem module...-e" buggy outputAaron Griffin1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@196 880c04e9-e011-0410-abf7-b926e227c9cd
2006-09-20'updated to new modules in kernel .18'Tobias Powalowski1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@168 880c04e9-e011-0410-abf7-b926e227c9cd
2006-08-18'upgpkg: removed unneeded base hook, updated init to use replace'Tobias Powalowski1-9/+0
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@160 880c04e9-e011-0410-abf7-b926e227c9cd
2006-07-31fixed resume hook (again)Thomas Bächler1-2/+2
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@136 880c04e9-e011-0410-abf7-b926e227c9cd
2006-07-25added support for suspend2 /sys interfaceThomas Bächler1-3/+12
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@134 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-14'added hooks to the packages itself'Tobias Powalowski3-106/+0
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@127 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-14kinit param handling changesAaron Griffin1-2/+2
encryption /dev/mapper dir (whoops) git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@125 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-06New error conditions: fail on missing hook or missing moduleAaron Griffin1-5/+9
Filesystem hook changes (parseblock handling) Init changes to allow /arch.cmd command line parsing Misc install script cleanups git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@123 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-05git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@120 ↵Aaron Griffin1-2/+2
880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-26Moved udev hook/install to udev packageAaron Griffin1-7/+0
Added destination name for add_binary git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@116 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-26Syntax error in if statement... thanks pinguAaron Griffin1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@115 880c04e9-e011-0410-abf7-b926e227c9cd