summaryrefslogtreecommitdiffstats
path: root/hooks
AgeCommit message (Collapse)AuthorFilesLines
2012-04-09hooks: use consistent shebang, modeline, function styleDave Reisner3-10/+15
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-11hooks/resume: refactorDave Reisner1-25/+37
- cleanup syntax, style - use case to detect syntax (avoid problems with vanilla devspecs containing a ':') - support LABEL=/UUID= syntax for vanilla hibernation (FS#28504) - be more verbose about errors Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-02-08udev: remove hooksDave Reisner1-9/+0
These should belong to the udev package. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-01-05shutdown: add new hook0.8.1Dave Reisner1-0/+7
This adds functionality to pivot to back to the initramfs on shutdown, thereby allowing the system to unmount the real root device. This will be necessary for anyone with /usr as a separate partition.
2011-11-29hooks/resume: Remove cut cmd usageGerardo Exequiel Pozzi1-1/+2
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-29hooks/net: Add BOOTIF supportGerardo Exequiel Pozzi1-1/+15
This feature was present in archiso_pxe_nbd for a long time. it avoids to configure more than one device (if present) by ipconfig with the same parameters. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-29hooks/net: Refactor and remove sed cmd usage.Gerardo Exequiel Pozzi1-47/+17
* ipconfig cmd writes a file in /tmp that is ready for direct evaluation. We can use this instead of parsing the output, to do this some variable renames are needed. * Add /tmp as part of "base" layout since this can be used by others hooks/cmds. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-15hooks/resume: Remove grep usageGerardo Exequiel Pozzi1-2/+2
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
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