summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2009-01-21Adjust copyright yearAaron Griffin1-1/+1
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>
2009-01-11Always add /etc/modprobe.d/usb-load-ehci-first to initramfs0.5.21Thomas Bächler1-0/+1
2008-12-30Revert fstype -> blkid change0.5.20Aaron Griffin1-1/+1
blkid is part of e2fsprogs, not udev, so it's not as ubiquitous. Additionally, we need to use the same detection at installtime as we do at runtime. Thomas has patched klibc's fstype to work with ext4, so we should continue to use it Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Add ext4 to filesystem autodetectionAaron Griffin1-0/+1
Original-work-by: Gerhard Brauer <gerhard.brauer@web.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Use udev's blkid instead of klibc-extra's fstypeAaron Griffin1-1/+1
This is better and more updated with regards to figuring out the fs type of a given block device Original-work-by: Gerhard Brauer <gerhard.brauer@web.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29'renamed ide-disk to ide-gd_mod according to 2.6.28 kernel'Tobias Powalowski2-2/+2
2008-12-29Merge branch 'master' of ↵Tobias Powalowski0-0/+0
git+ssh://tpowa@archlinux.org/srv/projects/git/mkinitcpio
2008-10-06Remove missing firewire module0.5.19.1Gerhard Brauer1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31fixed pcmcia, ide-cd was renamed to ide-cd_modTobias Powalowski1-1/+1
2008-08-31removed firewire-sbp2 from fw install file, it was removed from kernelTobias Powalowski1-1/+1
2008-05-19Add a quick workaround for the bug in the new dsdt-initramfs patch0.5.19Thomas Bächler1-1/+1
The current dsdt-initrd patch (0.9a) has a bug where it only finds the file if its name is DSDT.aml, /DSDT.aml is not working, although that filename is allowed.
2008-05-14Fix a bug in -v output, introduced in the coding style cleanupThomas Bächler1-1/+1
2008-04-21Do not add CD modules to {p,s}ata, ide and scsi hooksThomas Bächler4-4/+4
2008-04-13Don't add the 'generic' ide or pata modules when autodetection is enabledThomas Bächler1-1/+2
2008-04-02Remove filelist sorting, as it causes random bugs0.5.18.1Thomas Bächler1-2/+0
2008-03-22Change resume hook to work with tuxonice0.5.18Thomas Bächler1-14/+9
2008-03-16Modify mkinitcpio.conf to use pata as default instead of ide.0.5.18pre2Thomas Bächler1-4/+8