summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-12Fix adding duplicate symlinks into the cpio imageThomas Bächler1-1/+1
2010-01-12Do not append a trailing /, remove it (fixed FS#17793)Thomas Bächler1-4/+2
The comment said it was appending a trailing /, but it was actually removed Recent fixes adjusted the code to do what the comment says, which is wrong here. This fixes the code and the comment.
2010-01-10Add udev hook, originated from the obsolete klibc-udev packageThomas Bächler4-0/+88
2010-01-10Remove parseblock usage from resume hook, also fix resuming with tuxoniceThomas Bächler1-10/+18
2010-01-10Remove klibc-isms from autodetect: Use blkid for filesystem detectionThomas Bächler1-4/+1
2010-01-10Make base hook help message more generic, remove klibc referenceThomas Bächler1-2/+2
2010-01-10Remove kinit usage from /init: Implement parseblock and kinit in shell code, ↵Thomas Bächler2-36/+56
use busybox/switch_root for the final step. TODO: NFS
2010-01-10Do not mount /proc before busybox --install - this requires ↵Thomas Bächler1-3/+2
CONFIG_BUSYBOX_EXEC_PATH="/bin/busybox" in busybox
2010-01-05Start moving from klibc to glibc+busyboxThomas Bächler2-17/+14
Remove klibc-isms from base and init (except kinit, which will be done in a later commit) Install busybox to the initramfs and change /init so it can be used with busybox
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>