summaryrefslogtreecommitdiffstats
path: root/functions
AgeCommit message (Collapse)AuthorFilesLines
2009-08-05Eliminate bashisms so things work in dash.Loui Chang1-1/+1
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-24'added firmware parsing to add_modules #14783'0.5.24Tobias Powalowski1-1/+6
2009-05-23'added symlinks to add_binary fixes #7999'Tobias Powalowski1-1/+1
2009-04-08Improve modalias parsing lineAaron Griffin1-1/+1
Replace find-exec syntax, using + instead of \; This is faster (executes cat for all files instead of once for each file found). IMPORTANT: This also has the added benefit of fixing a bash 4.0 bug where $(find ... -exec ... \;) fails hard. Ugh Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-23Revert BASEDIR and dest changes0.5.23Aaron Griffin1-3/+8
These changes are potential breakers and we are not fully prepared to test them, nor are they fully usable just yet. Revert for now. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-23Fix a dash/underscore module name issueAaron Griffin1-3/+4
This was introduced with the switch to resolve-modalias Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-21Use BASEDIR for adding binaries and dependent libsAaron Griffin1-2/+2
Hook's BINARIES settings were being copied from the parent if using an alternate BASEDIR. This should fix that Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-21Remove 'dest' logic from add_binaryAaron Griffin1-6/+1
This was never used and has no potential to be used. Just delete it. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-21Use udev's resolve-modalias in place of modprobeAaron Griffin1-2/+5
This fixes issues with module resolving AND makes us run a bit faster Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Fix a bug in -v output, introduced in the coding style cleanupThomas Bächler1-1/+1
2008-03-16Fix a potential bug due to a wrong find callThomas Bächler1-1/+1
2008-03-16Fix various coding style issuesThomas Bächler1-11/+11
2008-03-15Fix trap call, always call cleanupThomas Bächler1-1/+1
2007-11-03Fix Archlinux bug #8490, HAS_MODULES was only set if a dependency ofThomas Bächler1-1/+1
a module is found, not for the module itself.
2007-08-11Coding style change, use -n and -z for variable testsAaron Griffin1-10/+10
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ächler1-0/+11
- 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-05-12- fix a bug with BINARIES= (also accept shared objects, not only executables)Thomas Bächler1-3/+3
- fix some bugs introduced by phrakture (could you be more careful?) git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@204 880c04e9-e011-0410-abf7-b926e227c9cd
2007-03-142007-03-14 Jan Peter den Heijer <jpdenheijer@gmail.com>Aaron Griffin1-1/+1
* mkinitcpio/functions (add_dir) remove existing dir check before adding git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@203 880c04e9-e011-0410-abf7-b926e227c9cd
2007-03-02Absolute paths for modinfo and modprobe, as /sbin may not be in everyone's pathAaron Griffin1-2/+2
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@197 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
2007-02-12Test existance before adding directories, as per bug #5245Aaron Griffin1-3/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@195 880c04e9-e011-0410-abf7-b926e227c9cd
2006-12-07- worked around "libata not added" bug. this needs to be looked at carefullyThomas Bächler1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@189 880c04e9-e011-0410-abf7-b926e227c9cd
2006-09-11Minor fixes from bug #5245Aaron Griffin1-3/+4
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@166 880c04e9-e011-0410-abf7-b926e227c9cd
2006-07-18'fixed dir creation for symlinks in other dirs'Tobias Powalowski1-0/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@132 880c04e9-e011-0410-abf7-b926e227c9cd
2006-07-17symlink fixAaron Griffin1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@131 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-16add_full_dir to dump an entire dir into initramfsAaron Griffin1-0/+13
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@130 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-05git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@120 ↵Aaron Griffin1-8/+5
880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-01Fix for add_bin function, without destination paramAaron Griffin1-3/+8
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@118 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-26Moved udev hook/install to udev packageAaron Griffin1-2/+2
Added destination name for add_binary git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@116 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-11Fix add_file directory parsing when using -b (base dir)Aaron Griffin1-0/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@96 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04Filesystem update - allow a pre-made device node (udev)Aaron Griffin1-1/+1
functions : Bugfix grep on checked_modules git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@58 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04Changes to autodetection:Aaron Griffin1-5/+3
General performance improvement Cleaned up excess modules git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@56 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04Improved autodetect functionality with a checked_modulesAaron Griffin1-13/+36
function git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@53 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-02Minor changes... more to come - out of time for the dayAaron Griffin1-11/+18
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@42 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-28functions: fixed versioning for autodetectionAaron Griffin1-2/+3
added gen_init_cpio binary, to use elsewhere... git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@36 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-27init level fix - Thanks, _Gandalf_Aaron Griffin1-2/+2
fix grep for file/symlink addition - Thanks, _Gandalf_ git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@26 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-26git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@21 ↵Aaron Griffin1-1/+1
880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-26git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@20 ↵Aaron Griffin1-9/+6
880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-26git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@17 ↵Aaron Griffin1-2/+2
880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-25git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@14 ↵Aaron Griffin1-5/+5
880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-25added slash delimiter for hook scriptsAaron Griffin1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@12 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-25fail quietly for symlinksAaron Griffin1-3/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@11 880c04e9-e011-0410-abf7-b926e227c9cd
2006-04-25git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@10 ↵Aaron Griffin1-0/+179
880c04e9-e011-0410-abf7-b926e227c9cd