summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-06-03Do not umount /proc and /sys before switch_root, but mount --move them into ↵Thomas Bächler1-2/+2
the real root
2010-05-08Release 0.6.40.6.4Thomas Bächler1-1/+1
2010-05-08Add dmesg hookThomas Bächler2-0/+23
2010-05-08Port 83ef38409182a9c024809553dff8c872902d0889 to init_functions too, to ↵Thomas Bächler1-1/+1
remove more eval hacks
2010-05-08Allow usage of non-utf8 fonts in the consolefont hook, see FS#19109Thomas Bächler2-4/+14
Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109 This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package
2010-05-08Change how autodetect hook lookup for filesystemsGerardo Exequiel Pozzi1-1/+1
In this way, remove eval hacks and enviroments vars, just use blkid syntax. I guess in this way will fix/hide "command not found" when fstype is not property setup in fs, reported by some users. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-22Add 'sleep' hookThomas Bächler2-0/+28
2010-02-21Release 0.6.30.6.3Thomas Bächler1-1/+1
2010-02-21poll_device: do not wait for a device to appear if udevd is not runningThomas Bächler2-5/+10
Devices will never "magically" appear when udevd is not running. Thus, poll_device now exits instantly when a device when udevd is not running. The return value is unchanged, just the delay is removed. Assuming that the drive is available just after loading the module is unsafe. However, "fast" devices like most (all?) pata/sata seem to work this way for many people. On "slow" devices like USB, we still have to wait - those will not work without udev.
2010-02-21Allow the second parameter of poll_device to be 0 - this fixes rootdelay=0Thomas Bächler1-1/+1
2010-02-20default_mount_hook: Use major and minor variables instead of a single ↵Thomas Bächler1-7/+9
rootdev variable This is nicer and more explicit than before, based on a patch by Benjamin Richter
2010-02-20load-modules.sh: Always use --use-blacklistThomas Bächler1-1/+1
This matches the change from http://repos.archlinux.org/wsvn/packages/?op=comp&compare[]=%2Fudev%2Ftrunk@68711&compare[]=%2Fudev%2Ftrunk@69509
2010-02-20Use $(( )) instead of printf "%d"Benjamin Richter1-2/+2
2010-02-20Cosmetic change: 'msg' function does not support '\n'Thomas Bächler1-1/+1
2010-02-20Use only a single loop for searching /sys/blockBenjamin Richter1-12/+8
2010-02-19Fix typo in 01cfe5572f6cfc172dddc013494511a59a7ed85fThomas Bächler1-1/+1
2010-02-18Fix NFS backward-compatibility with kinitThomas Bächler1-1/+5
NFS options of the style nfsaddrs=* and ip=dhcp (without the long : syntax) used to be supported by kinit, but were undocumented in Arch's help. This change hopefully restores full compatibility with old kinit configurations.
2010-02-17Improve sanity check: ${init} must be executableThomas Bächler1-1/+1
2010-02-16launch_interactive_shell: add "export" for PS1Thomas Bächler1-1/+1
2010-02-16When use stat -c %D instead of stat -f -c %i for testing if /new_root is a ↵Thomas Bächler1-1/+1
mount point The old check couldn't distinguish different tmpfs mounts and failed to work with aufs (archiso). This check is actually the same one that busybox/switch_root uses to determine where to stop deleting files. If this check fails and we still launch switch_root it may start deleting data.
2010-02-16Make indentation in two code blocks consistentThomas Bächler1-13/+13
2010-02-16Remove the special handling for the default mount procedure, move it into a ↵Thomas Bächler2-70/+71
mount handler (default_mount_handler)
2010-02-16Introduce mount handlersThomas Bächler2-9/+19
Instead of having special NFS code in /init, make it possible for a hook to register a mount handler When a hook sets the mount_handler environment variable, the normal mount code will be skipped and the handler will be called with the path to mount point as the first and only argument.
2010-02-15Do not kill -9 udevd, instead kill -15 and wait for all processes to ↵Thomas Bächler1-2/+4
terminate before continuing
2010-02-15Add the "nfs" kernel module with in net hookThomas Bächler1-1/+1
2010-02-15If we could not mount the real root device, or the init program did not ↵Thomas Bächler2-2/+21
exist on it, bail out instead of panicing In these cases, we will exec /bin/sh, such that manual recovery is still possible as sh has PID 1 An expert might be able to mount and switch_root manually. In any case, this is less scary than a panic and a useless trace.
2010-02-15Fix copyright in the README fileThomas Bächler1-3/+5
2010-02-14Release 0.6.20.6.2Thomas Bächler1-1/+1
2010-02-14Kill udev after mounting file systems, not beforeThomas Bächler1-9/+10
Slow devices like USB devices will be detected after we kill udev, thus booting will fail. Kill udev as the last step, directly before we umount /proc and /sys and run switch_root.
2010-02-14Filesystem type detection: Change message to the way it should have been, ↵Thomas Bächler1-1/+1
stupid me
2010-02-14If filesystem type detection fails, print an error and instructionsThomas Bächler1-0/+13
2010-02-14Release 0.6.10.6.1Thomas Bächler1-1/+1
2010-02-14fix detection of CONSOLEFONT from rc.confIonut Biru1-5/+2
Signed-off-by: Ionut Biru <ionut@archlinux.ro>
2010-02-13Minor cosmetic fixSimon Boulay1-1/+1
2010-02-13Provide better nfsroot/rootserver/rootpath parsingSimon Boulay1-13/+26
2010-02-12Fix module name in usb/usbinput install hookGerardo Exequiel Pozzi2-2/+2
There is no module named sl1811-hcd, must be sl811-hcd Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11Release 0.60.6Thomas Bächler1-1/+1
2010-02-11Merge branch 'kill-klibc'Thomas Bächler22-172/+410
Conflicts: Makefile
2010-02-11Fix file system autodetection of filesystems when the running kernel and the ↵Thomas Bächler1-1/+1
target kernel don't match. We need --set-version when resolving filesystem aliases, thanks Tobias.
2010-02-11Fix tabs/space indents from commit 866db5c5Gerardo Exequiel Pozzi2-9/+9
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11consolefont: Update error messageThomas Bächler1-2/+2
2010-02-11Removed/changed messages/comments about klibc/kinitGerardo Exequiel Pozzi3-7/+5
Also remove comment about "modload" in conf. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Thomas Bächler <thomas@archlinux.org>
2010-02-10Add "consolefont" hook to set the console font earlyThomas Bächler2-0/+41
Patch provided by Davorin Učakar, currently only unicode fonts are supported
2010-02-10Release 0.5.99.50.5.99.5Thomas Bächler1-1/+1
2010-02-09Honor the "rw" command line flag, but still make "ro" the default if nothing ↵Thomas Bächler1-1/+8
is specified
2010-02-09Remove the comment about 'reboot': busybox reboot requires init to run, thus ↵Thomas Bächler1-2/+0
typing reboot is ineffective
2010-02-09Add support for mounting root filesystem over NFS.Simon Boulay3-6/+88
2010-02-09Fix path when looking at /sys/block for rootdevGerardo Exequiel Pozzi1-1/+1
otherwise will access to /sys/block//sys/block/sda/sda1/dev (for example) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-08Fix typo in the manpage (thanks Eric)Thomas Bächler1-1/+1
2010-02-08Fixed typo in commentEric Bélanger1-1/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>