Harald Hoyer
d46394ad33
dracut.spec: fix requirements
12 years ago
Harald Hoyer
87dc81a1f6
dracut-install: handle more ldd errors
12 years ago
Harald Hoyer
ce92ca0527
51-dracut-rescue-postinst.sh: fixed new-kernel-pkg call
12 years ago
Harald Hoyer
c390590fac
TODO: remove completed items
12 years ago
Radek Vykydal
fd8e4aef90
Write BOOTPROTO=ibft for ip=ibft to ifcfg files
12 years ago
Radek Vykydal
c5a742a3bf
Don't write DHCPV6C=yes for each dhcp (ipv4) configuration.
...
Caused probably by commit 32ec0a762d
12 years ago
Harald Hoyer
fc4e10a859
shutdown/shutdown.sh: mount --move all basic mounts out of /oldroot
...
After mount moving /dev away, apps like plymouth can do reexec with fd
passing of devices, which they want to keep open until the very end.
12 years ago
Harald Hoyer
83bb0893ed
dracut.sh: Add --noimageifnotneeded parameter
...
Do not create an image in host-only mode, if no kernel driver is needed
and no $initdir/etc/cmdline/*.conf is generated.
12 years ago
Harald Hoyer
8fdcc1a9b1
kernel-modules: move usb-storage out of fixed drivers
12 years ago
Harald Hoyer
a23b368c92
systemd: remove upstream renamed old service files
12 years ago
dyoung@redhat.com
bbfff3e58b
Add memdebug at different points in 99base/init.sh
...
Previously I added several trace point to the begin of several
init hooks of systemd, old init script also need this debug info.
Doing same here as what's added in the systemd service scripts:
At cmdline hooks adding trace of "1+:mem 1+:iomem 3+:slab"
For other hooks adding trace of "1:shortmem 2+:mem 3+:slab"
Signed-off-by: Dave Young <dyoung@redhat.com>
12 years ago
dyoung@redhat.com
9c322b2f3b
Improve documentation of rd.memdebug
...
Explain more about rd.memdebug verbose level in dracut.cmdline.7.asc.
Signed-off-by: Dave Young <dyoung@redhat.com>
12 years ago
dyoung@redhat.com
dff9a66c44
print memdebug to stderr
...
memory usage tracing outputs are debug info, so it should be moved to
stderr instead of stdout.
Signed-off-by: Dave Young <dyoung@redhat.com>
12 years ago
Harald Hoyer
449b0e0707
dracut-initramfs-restore.sh: also look for image in boot loader spec dir
12 years ago
Harald Hoyer
4a5a9c6d89
dracut.spec: fix requirements
12 years ago
Harald Hoyer
917f3e4d25
add dracut-bash-completion.sh
12 years ago
Harald Hoyer
7d848c55a6
dracut.sh: add --regenerate-all
12 years ago
Harald Hoyer
7d17d6c976
plymouth: do not install hooks in systemd mode
12 years ago
Harald Hoyer
b8060ef781
systemd: add sysctl.d and sysctl.conf
12 years ago
Harald Hoyer
727543c1e6
systemd: add modules-load.d modules to the initramfs
12 years ago
Harald Hoyer
c85cda9e2f
systemd: local-fs.target is now root-fs.target and initrd-fs.target
...
Also rename dracut.target to initrd.target
see also systemd commit 700e07f
http://cgit.freedesktop.org/systemd/systemd/commit/?id=700e07f
12 years ago
Harald Hoyer
c0c6c74d99
51-dracut-rescue.install: create directory, if it does not exist
12 years ago
Harald Hoyer
d26bd6ca55
lsinitrd.sh: simplify check for boot loader spec dirs
12 years ago
Harald Hoyer
e22eb857be
dracut.spec: add nohostonly and norescue subpackages
...
we need rpm subpackages, to be able to pull them in the installation
transaction for the initial %posttrans initramfs image creation.
12 years ago
Harald Hoyer
2fa6fd3aaa
add 51-dracut-rescue-postinst.sh
...
also fixup 51-dracut-rescue.install to read in dracut conf
12 years ago
Harald Hoyer
dd5875499e
dracut.sh: add swap partitions to host-only setup
12 years ago
Harald Hoyer
d351541ee6
make host_fs_types a hashmap
...
This requires bash >= 4, but hash maps are so much more comfortable
12 years ago
Harald Hoyer
d928724c3c
lsinitrd.sh: removed trailing "}"
12 years ago
Harald Hoyer
727e68d0b5
lsinitrd.sh: fix for default initrd not found, but image given
12 years ago
Harald Hoyer
8d28614e4f
51-dracut-rescue.install: do not unset installonly on remove
12 years ago
Harald Hoyer
fba5fbbdad
dracut.spec: add rescue module
12 years ago
Harald Hoyer
d008b6b89f
dracut.sh: move cleanup trap, just after mktemp
12 years ago
Harald Hoyer
aede120c92
add rescue dracut module
12 years ago
Harald Hoyer
cc2303001e
dracut.sh: add new default path to initramfs according to bootloader spec
...
see kernel-install(8) and
http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
12 years ago
Harald Hoyer
54e7d7c32d
dracut.sh: remove (default) marker in --help
12 years ago
Harald Hoyer
bcd352dfa1
fedora.conf.example: make hostonly default for fedora
12 years ago
Harald Hoyer
d837ac3984
add /lib/kernel/install.d/51-dracut-rescue.install
...
Upon installation of a kernel, check if a rescue image is already
available and if not, create a non-hostonly generic initramfs image with
the rescue module added.
12 years ago
Harald Hoyer
900e15da34
systemd/module-setup.sh: call systemd in private dir for version
12 years ago
Harald Hoyer
19d69051a3
NEWS: dracut-026
12 years ago
Harald Hoyer
31737a05e1
systemd: add version check in install()
12 years ago
Harald Hoyer
1161f03777
fips: add lzo module
12 years ago
Harald Hoyer
cf24ac8c19
crypt, dmraid, mdraid: use for_each_host_dev_and_slaves_all()
...
To catch _all_ UUIDs and not only the first one, use
for_each_host_dev_and_slaves_all
12 years ago
Harald Hoyer
af3ef92a6b
dmsquash-live: add iso9660 kernel module
12 years ago
Harald Hoyer
c46cda8260
split 95udev-rules/59-persistent-storage.rules to md and dm modules
12 years ago
Harald Hoyer
34bd2be23f
dracut-functions.sh: fix inst_rule_programs()
...
Logic for the $env{.*} check was reversed and env was missing.
Thanks Colin Guthrie!
12 years ago
Harald Hoyer
c3dd68fcf1
iscsi: run iscsiroot even if no network configured
...
Also inject finished hooks for every iscsiroot netroot
12 years ago
Harald Hoyer
3e35441f18
kernel-modules: better match for arm architecure
12 years ago
Harald Hoyer
dde2db3da9
lsinitrd: use /boot/<machine-id>/<kernel-version>/initrd as the default image
...
if /boot/<machine-id> exists; then
use /boot/<machine-id>/<kernel-version>/initrd as the default image;
else fallback to /boot/initramfs-<kernel-version>.img
12 years ago
Harald Hoyer
cbc21754e5
kernel-modules: move some kernel modules out of unconditional install
12 years ago
Harald Hoyer
eb2dc8c34b
systemd: add missing dracut-mount.service dracut-pre-mount.service
12 years ago