Harald Hoyer
c204501e3e
base/init.sh: error out early, if /dev, /proc or /sys cannot be mounted
2012-07-03 13:14:12 +02:00
Harald Hoyer
5bccc94598
no more "mknod" in the initramfs!!
2012-06-29 12:41:26 +02:00
Harald Hoyer
fbaf1517c3
s/Unable to process initqueue/Could not boot/g
2012-06-08 10:29:35 +02:00
Harald Hoyer
ecc6da6bf5
99base/init.sh: kill systemd-udevd instead of udevd
2012-06-04 10:04:19 +02:00
Harald Hoyer
0363998d0a
base/init.sh: use info() instead of vinfo() for version info
...
Thanks to Cong Wang for the hint
2012-05-29 10:19:02 +02:00
Juan RP
cfede42fc3
modules.d/99base/init.sh: check for a valid init in case INIT is a symlink.
...
Obviously we have to test if it's executable with the PATH to NEWROOT.
2012-05-29 09:15:34 +02:00
Harald Hoyer
982d59afea
drop 10rpmversion module and introduce /etc/initrd-release
2012-05-22 15:22:35 +02:00
Harald Hoyer
cad10a7f80
base/init.sh: set DRACUT_QUIET only in dracut-lib.sh
2012-05-09 13:15:32 +02:00
Harald Hoyer
eef7649e71
merge "cleanup" and "pre-pivot-cleanup" hooks
2012-04-23 11:32:45 +02:00
Harald Hoyer
476eb1b345
base: add export_n() function
...
resembles export -n for dash
2012-04-23 11:32:45 +02:00
Harald Hoyer
c32908cee3
base: add debug_on() and debug_off() functions
2012-04-23 11:32:45 +02:00
Dave Young
2e7257a2e3
add pre-pivot-cleanup hook
...
Sometimes some hook script will need to be before the cleanup hook scripts
For example dhclient killing, nfs cleanup, etc. must not happen before kdump
because it will use their fuctionalities.
So here introduce a new hook pre-pivot-cleanup, all cleanup scripts will go there.
that means pre-pivot hook is splited to two hooks pre-pivot and pre-pivot-cleanup
Signed-off-by: Dave Young <dyoung@redhat.com>
2012-04-19 11:59:45 +02:00
Harald Hoyer
7f217d7726
base/init.sh: mount tmpfs with strictatime
2012-04-19 11:59:38 +02:00
Harald Hoyer
8a1a2f6ca4
udevd moved to /lib/systemd/systemd-udevd
2012-04-19 11:59:38 +02:00
Harald Hoyer
56bf6156d6
99base/init.sh: revert the "cp" "mv" change for /run/initramfs
2012-03-22 17:05:20 +01:00
Daniel Drake
4e25cf6edf
Avoid use of "export -n"
...
"export -n" is a bash extension, not part of POSIX, and is hence
incompatible with the busybox shell.
This was breaking boot when the busybox module was used.
Reimplement the scope change in a few lines of standard shell code.
2012-03-21 13:04:58 +01:00
Harald Hoyer
abbb76fe93
Do not mount --bind /run anymore
...
switch_root in util-linux 2.21 does mount --move /run also
2012-03-20 13:31:17 +01:00
Harald Hoyer
4d518aec86
move wait_for_loginit() to dracut-lib.sh
2012-03-08 11:00:29 +01:00
Harald Hoyer
74db72dd0b
98pollcdrom: factored out the ugly cdrom polling in the main loop
2012-03-08 11:00:29 +01:00
Harald Hoyer
2c0317213e
get rid of /tmp/root.info
2012-03-08 11:00:29 +01:00
Will Woods
ffcc64bdea
move emergency_shell to dracut-lib.sh
...
This lets things running outside init call an emergency_shell.
(example: scripts called by initqueue)
2012-03-02 11:11:56 +01:00
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
2012-02-22 15:15:21 +01:00