Harald Hoyer
52245267a4
fixed instmods
16 years ago
Harald Hoyer
86c9fa4847
add the special "=ata" case for instmods
16 years ago
Harald Hoyer
9ec23437fa
add /sbin to $PATH
16 years ago
Harald Hoyer
20122a83f8
used modules.<subsystem> if present for instmod =<subsystem>
16 years ago
Harald Hoyer
7cd15fe768
use $(( instead of $[
16 years ago
Harald Hoyer
379dd5de55
use udev rules to autoassemble a md raid and added mdmon pre-pivot
16 years ago
Harald Hoyer
2394813bf3
mount move instead of umount and fix the search for fallback inits
...
chdir to newroot, then mount move instead of umount /dev, /sys, etc.
search for fallback init bins in current dirs
16 years ago
Harald Hoyer
1e984a27d2
start udevd with --resolve-names=never
16 years ago
Harald Hoyer
63efe29bb3
use switch_root code from http://pjones.fedorapeople.org/mkstart/usr/lib/mkstart/switchroot.c
16 years ago
Harald Hoyer
883594c833
added mdraid module
16 years ago
Harald Hoyer
1e5527e3e2
fail, if install failed
16 years ago
Harald Hoyer
6b5951b3d6
added mdraid autoassembling
16 years ago
Harald Hoyer
771577a56a
/usr/libexec -> /usr/lib
16 years ago
Harald Hoyer
8df054faac
add gitignore
16 years ago
Harald Hoyer
dd737cf94e
fixed modules install
16 years ago
Harald Hoyer
d554c7eceb
do not rename dracut-functions to functions
16 years ago
Harald Hoyer
3f74659287
s/error /echo /
16 years ago
Harald Hoyer
751c4d43eb
removed rule files (better use upstream rules)
16 years ago
Harald Hoyer
a890fe2922
redirect more to null
16 years ago
Harald Hoyer
0f46778162
added plymouth with crypt handling
16 years ago
Harald Hoyer
59dc373677
keep compat arguments for "inst"
16 years ago
Harald Hoyer
e548dabcef
make crypt more failsafe
16 years ago
Harald Hoyer
879305557c
kill udev before switch_root and bail out after 10 seconds of mount tries
16 years ago
Harald Hoyer
38f31d8e78
only react to "add" to prevent duplicate /cryptroot lines
16 years ago
Harald Hoyer
538a94d9e5
use dash instead of underscore for udev control commands
16 years ago
Harald Hoyer
ca75dc510b
serialize lvm calls with a subshell
16 years ago
Harald Hoyer
8ac8d68a0e
testimage target fixes
16 years ago
Harald Hoyer
7f5112e3d6
add dmraid
16 years ago
Harald Hoyer
0680bbaf01
fixed rpm building on Fedora 11
...
"Only dest dir longer than base dir not supported"
16 years ago
Harald Hoyer
2f525c4905
add compile phase to testimage and force overwrite
16 years ago
Harald Hoyer
6567383252
do not get GITTAG, if there is no .git
16 years ago
Harald Hoyer
d012395c94
fixed dirs in specfile
16 years ago
Harald Hoyer
6b2a2be3ba
added tar.bz2 target for the rpm and archive target
16 years ago
Harald Hoyer
710322ecf0
define gittag for rpm target
16 years ago
Harald Hoyer
4579f5a832
add sample dracut.conf
16 years ago
Harald Hoyer
32731fee48
install console udev rules and helper apps
16 years ago
Harald Hoyer
b2714d05e2
allow dracut.conf to be local if -l is set
16 years ago
Harald Hoyer
ccd71eeb17
add testimage target
16 years ago
Harald Hoyer
7323a62176
renamed archive file and convenience target for rpm
16 years ago
Harald Hoyer
53abb691b2
small corrections and obsolete mkinitrd only when defined in specfile
16 years ago
Harald Hoyer
f8a22bfb95
fix modules.d install
16 years ago
Harald Hoyer
aedead8068
add \n to switch_root
16 years ago
Harald Hoyer
7fac4e8850
kill udevd before switching root
16 years ago
Harald Hoyer
7702658f5e
also run ldconfig on /lib64
16 years ago
Harald Hoyer
962a11e74a
only run ldconfig on /lib and /usr/lib with -n
...
This also suppresses error messages about missing ld.so.conf
16 years ago
Harald Hoyer
0f9c78c104
merge fix, find_binary
16 years ago
Harald Hoyer
834f614534
fixes for specfile and Makefile
16 years ago
Harald Hoyer
c4da240717
replace switch_root shell script with binary
...
The switch_root shell script did not work with bash-4.0-2, because
"exec" gets the real path of the executable which is then
"/sysroot/lib/ld-linux.so.2" instread of "./lib/ld-linux.so.2".
Also the required chroot binary might live in /usr/bin, which can
be mounted later.
Here is the switch_root code from nash, which can be stripped down
further, but which works.
>From f1b1e4f8694104f007e4483c36b0bf40a5760167 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Wed, 4 Mar 2009 13:41:07 +0100
Subject: [PATCH] replace switch_root shell script with binary
The switch_root shell script did not work with bash-4.0-2, because
"exec" gets the real path of the executable which is then
"/sysroot/lib/ld-linux.so.2" instead of "./lib/ld-linux.so.2".
Also the required chroot binary might live in /usr/bin, which can
be mounted later.
Here is the switch_root code from nash, which can be stripped down
further, but which works.
16 years ago
Harald Hoyer
65381749c8
strip "init=" from INIT
16 years ago
Victor Lowther
54b4419653
Fix several inst functions.
...
Move file existence checking into the individual inst functions. This makes
things a bit easier to understand and maintain.
16 years ago