summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2008-03-16Update manpageThomas Bächler2-10/+13
2008-03-16Fix a potential bug due to a wrong find callThomas Bächler1-1/+1
2008-03-16Fix various coding style issuesThomas Bächler8-53/+51
2008-03-16Remove a warning during image generationThomas Bächler1-1/+0
2008-03-15Remove duplicate files from the filelist, gen_init_cpio actually adds them ↵0.5.18pre1Thomas Bächler1-0/+2
to the image twice
2008-03-15Fix trap call, always call cleanupThomas Bächler2-3/+11
2008-03-15Fix syntax error introduced in one of the last commitsThomas Bächler2-3/+3
2008-03-15Make presets more powerful: a fallback image can be generated without a ↵Thomas Bächler2-8/+22
separate configuration file
2008-03-15Use a temporary directory instead of several files. trap cleanupThomas Bächler2-20/+27
2008-03-15Add -S option to skip hooks when building the imageThomas Bächler1-8/+12