summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-05Revert 1558dfbf3b2a42f43594acf6e3d8f9b329ff1133 and ↵Thomas Bächler2-18/+5
984cbd4eb023001668eea530e2b5ed2e57ba3693 and depend on bash There was no proper upgrade path for these changes. This can be reconsidered once a clean upgrade path is provided. Compatibility with non-bash shells is not as important as backwards-compatibility of existing configurations.
2009-12-13added done message to udevd startupTobias Powalowski1-0/+1
2009-12-13start udevd in init to solve the firmware loading bugTobias Powalowski1-0/+7
2009-12-05change to new firewire subsystemTobias Powalowski1-2/+2
2009-11-27fixed autodetection of raid module on mdadm>=3.0.xTobias Powalowski1-1/+1
2009-11-02fix for pcmciautils-016Tobias Powalowski1-1/+4
2009-10-08Skip options starting with a digit, sh variables must not start with a digit.Thomas Bächler1-0/+1
2009-09-30rootdelay check: Fix compatibility with other sh implementations than dash ↵Thomas Bächler1-1/+1
and make it more reliable The old implementation failed on bash and failed on both if rootdelay was not a number. The logic is now as follows: If "$rootdelay"="", then [ -z "${rootdelay}" ] is true If not, then the part after the || is executed - if ${rootdelay} is not a number, or is <0, then [ ${rootdelay} -ge 0 ] fails, and the test will return true due to the !. The previous implementation failed here, because [ ! ${rootdelay} -ge 0 ] returns false on error, while ! [ ${rootdelay} -ge 0 ] returns true on error.
2009-09-19Remove obsolete install script.Loui Chang1-26/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-19Specify mansource, manversion and manmanual when generating the man page.Loui Chang2-5/+1
This also removes occurances of FIXME in the page. Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-09-04Exit with error if PRESETS seems to be defined as an array.Loui Chang1-2/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-01Defining PRESETS as a bash array is no longer supported.Loui Chang2-2/+11
PRESETS should be defined as a string in all mkinitcpio preset files for compatibility with dash. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-01Replace all occurances of 'source' with a dot for dash compatibility.Loui Chang2-7/+7
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-01Remove generated file 'mkinitcpio.5'Loui Chang1-189/+0
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-01Makefile: Add a rule to generate a source tarball.Loui Chang1-1/+25
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Add Makefile.Loui Chang1-0/+44
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Remove trailing whitespace in manpage.Loui Chang1-26/+26
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Update man page to reflect current usage of HOOKS.Loui Chang1-2/+4
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Do not rely on -L test; use -h instead.Loui Chang4-5/+5
See `man dash` Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Eliminate bashisms so things work in dash.Loui Chang2-6/+6
Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-05Set $UID if unset, required by the autodetect hook.Loui Chang1-0/+4
$UID isn't set by default in dash. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-19Add new 2.6.30 storage modules to usb hook0.5.26Thomas Bächler1-0/+1
2009-06-07Always use rootdelay when polling a device, set it earlier in the init file0.5.25Thomas Bächler2-8/+8
2009-06-07Fix #12374Thomas Bächler1-1/+1
2009-06-07Adjust for module-init-tools change: usb-load-ehci-first is now ↵Thomas Bächler1-1/+1
usb-load-ehci-first.conf
2009-06-07Pass arguments to init properlyThomas Bächler1-3/+4
2009-06-07Don't only check for block devices, but also for symbolic links.Thomas Bächler2-3/+3
If we have a symlink, we don't check further if it points to a block device, partially due to klibc's readlink being broken.
2009-06-07Fix an 'elif' that should have been an 'if'Thomas 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ächler4-18/+2
2009-06-06Rework the root device detection / creation stageThomas Bächler1-36/+34
- Set rootdelay to 10 by default - Skip the whole detection stage if we use root on nfs - Use the new poll_device function to wait for at most $rootdelay seconds - Always pass rootdelay=0 to kinit, as we ensure the existence of the root device - Don't reboot after the fallback. This allows a user to fix a problem and continue booting - Rely on kinit to detect the root filesystem type. The rootfstype= option can still be used to override Our old method would have failed as well, as the code for filesystem detection is the same
2009-06-06Remove the filesystems runtime hook: Detection is done by kinit, don't ↵Thomas Bächler2-50/+3
duplicate code here
2009-06-06Remove the modload hook. It is untested and unmaintained.Thomas Bächler2-66/+0
2009-06-06Add common poll_device functionThomas Bächler1-0/+15
2009-06-06Add a new file init_functions that contains common functions used in /init ↵Thomas Bächler4-2/+11
and the hooks
2009-06-06Add support for lzma and bzip2 compression for the imageThomas Bächler2-1/+10
2009-06-06Add all hid modules for now, as we cannot autodetect them using sysfsThomas Bächler1-1/+1
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-05-23'fixed #14781'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-02-04Silence errors when killing udevdGerardo Exequiel Pozzi1-1/+1
udev forks some processes, and sometimes minips returns multiple PIDs. The error messages are annoying, so we'll simply remove them Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-27Add extra hid modules when appropriateThomas Bächler1-0/+1
2009-01-23Dry-run output check was reversed, whoopsAaron Griffin1-1/+1
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-21Make sure gzip doesn't delete the man pageAaron Griffin1-1/+1
The install.sh script compresses our man page, but effectively deletes it. Let's 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-21Change initial output when running a dry-run0.5.22Aaron Griffin1-1/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>