summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-24[install/udev] Latest udev uses firmware instead of firmware.shThomas Bächler1-1/+1
2010-01-24Use modprobe --resolve-alias for resolving aliases in autodetect as Arch's ↵Thomas Bächler1-1/+1
udev 150-1 removes resolve-modalias
2010-01-14Correct ${RESOLVEALIAS} usage that broke after the last commitThomas Bächler1-1/+1
2010-01-14Remove more klibc'isms from blacklisting code in load-modules.sh:Thomas Bächler1-4/+9
- As in http://mailman.archlinux.org/pipermail/arch-commits/2010-January/072491.html, replace resolve-modalias with modprobe --resolve-alias - Remove usage of custom moddeps binary, replace it with the same 'sed' line as in /lib/udev/load-modules.sh
2010-01-12Fix UTF8 mode in the keymap hookThomas Bächler1-2/+2
2010-01-12Add keymap hookThomas Bächler2-0/+44
2010-01-12Correct load-modules.sh permissions (+x was missing)Thomas Bächler1-1/+1
2010-01-12Replace custom minips with busybox pidofThomas Bächler1-1/+1
2010-01-12Fix a small oops in the sed usageThomas Bächler1-2/+2
2010-01-12Replace the custom 'replace' tool with 'sed'Thomas Bächler2-14/+15
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