Harald Hoyer
a2c631c0a3
Makefile: also link dracut-shutdown.service to shutdown target
13 years ago
Harald Hoyer
6bee336909
Version 16
13 years ago
Harald Hoyer
5c4bb360e3
dracut.spec: add missing modules
13 years ago
Harald Hoyer
969394f503
95nfs/nfs-lib.sh: do not bail out at sourcing in nfsroot_from_dhcp()
...
nfsroot_from_dhcp() returned with failure if one of
/tmp/net.$iface.override /tmp/dhclient.$iface.dhcpopts was missing
13 years ago
Harald Hoyer
4977febf46
s/bash/sh for all new *-lib.sh
13 years ago
Will Woods
285e81c9e2
add img-lib: a library for handling filesystem images
...
img-lib handles identifying and unpacking archives (uncompressed or
compressed) and filesystem images.
Currently tar and gzip are required; cpio and xz are optional, and bzip2
is supported but unused.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
d663f5aeb0
add set_http_header to url-lib
...
This allows you to set custom headers for curl to send with HTTP
requests.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
370329ca3b
url-lib: add support for NFS
...
This adds nfs_fetch_url to allow fetching arbitrary files from NFS.
This means that livenet can now run using an NFS-mounted live image,
which reduces memory usage by a lot.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
5978983b30
90livenet: port to url-lib
...
This makes the livenetroot module use url-lib for fetching its root
image/filesystem. There's also some minor tweaks for POSIX compliance.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
753c82d0e6
add module 45url-lib
...
url-lib adds some functions for dealing with URLs (mostly for fetching
files, for the moment).
It uses curl to handle http/https/ftp URLs, but it can be extended by other
modules at runtime by using the "add_url_handler" function.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
9fcfa04ca9
port nfsroot to nfs-lib
...
Rewrite nfsroot to use nfs-lib. The functionality should be unchanged.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
9c463909d6
95nfs: add nfs-lib.sh
...
nfs-lib.sh contains a bunch of functions used to parse NFS "url"s of
various types, pull nfs information out of dhcp info, and actually
perform nfs mounts sanely.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Will Woods
9d169a07ce
40network: add net-lib.sh
...
net-lib.sh is a library of useful functions for network stuff.
More things may get added/moved here in the future.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Harald Hoyer
dee929cded
99base/init: removed redirection of mount errors to /dev/null
13 years ago
Harald Hoyer
e0e2fb26c9
90kernel-modules: removed hard-removal of "ocfs2"
...
put omit_driver+=" ocfs2 " in the distribution configuration file
13 years ago
Harald Hoyer
fcbcb2521c
dracut: add "--omit-driver"
13 years ago
Harald Hoyer
28f0b27fb9
TEST-40-NBD: correct symlinks by rerunning ldconfig
13 years ago
Harald Hoyer
0ddc098eb0
TEST-12-RAID-DEG: improve test case
13 years ago
Harald Hoyer
11c0e7d44e
99base/init: reload udev rules after "pre-trigger" hook
13 years ago
Harald Hoyer
dfb08e9f1c
removed now useless cleanup hooks
...
in Fedora 17, we unpack /boot/initramfs-$(uname -r).img
on shutdown for a pivot root to disassemble the root device
13 years ago
Harald Hoyer
e539fa9980
90mdraid: add "--offroot" support
13 years ago
Harald Hoyer
e76921a58e
95terminfo/module-setup.sh: check for terminfo/l/linux
...
on Fedora 17 the old check found /etc/terminfo, but this directory is
emtpy.
13 years ago
Harald Hoyer
96d22bd7d6
test: fixed terminfo location
13 years ago
Harald Hoyer
927d9273c4
Makefile: s/dracut-initramfs-backup.sh/dracut-initramfs-restore.sh/
13 years ago
Harald Hoyer
56a4cffd30
98integrity/module-setup.sh: depend on selinux dracut module
13 years ago
Harald Hoyer
682a2a9d1a
90kernel-modules/module-setup.sh: add "ata_piix" to hardcoded modules
13 years ago
Harald Hoyer
0b1296aa4f
dracut.xml: mention log_buf_len=1M for rd.debug
13 years ago
Harald Hoyer
fb67e4aa36
shutdown on demand
...
Do not save and restore the initramfs, but instead, just unpack the
default initramfs for shutdown on shutdown.
13 years ago
Harald Hoyer
4cfd24d179
Backup and restore /run/initramfs via systemd services
...
This saves the space /run/initramfs is taking for the shutdown
13 years ago
Harald Hoyer
81dcf7c90a
99shutdown/shutdown: don't do console_init on shutdown emergency
13 years ago
Harald Hoyer
075de7be45
98usrmount/mount-usr.sh: remove extra slash
...
otherwise we have /sysroot//usr in fstab
13 years ago
Harald Hoyer
7b2d3d995c
dracut: honor binaries in sbin first
13 years ago
Harald Hoyer
d20d307d69
lsinitrd: silence xz test
13 years ago
Harald Hoyer
12018c91ea
TEST-15-BTRFSRAID: write diskimage to tmp dir
13 years ago
Harald Hoyer
68910ba4a5
dracut: setup clean PATH w/o existing one
13 years ago
Harald Hoyer
a74eae77ac
Version 15
13 years ago
Harald Hoyer
ce18bc4e97
30convertfs/convertfs.sh: call setfiles w/o path & check for existence
13 years ago
Harald Hoyer
567cc5d814
40network/net-genrules.sh: increase udev timeout
13 years ago
Harald Hoyer
56ac6c7e76
move all file removal cleanups to "cleanup" hook
13 years ago
Harald Hoyer
59feafc6c7
use "openvt" for emergency shell
13 years ago
Harald Hoyer
5ccc88a742
omit dash for fedora
13 years ago
Harald Hoyer
de247618e7
init/shutdown: use "command -v" instead of "type"
13 years ago
Harald Hoyer
c6c6a08850
add "install_items" to dracut.conf
13 years ago
Harald Hoyer
204db8a134
90btrfs/btrfs_finished.sh: put check in a function
13 years ago
Harald Hoyer
96b8d60a9b
dracut: precreate "${initdir}/etc/cmdline.d"
13 years ago
Harald Hoyer
4951a1199d
99base/init: predefine path to init
...
if you add realinitpath="<path1> <path2>" to dracut.conf, then it will
be written to $initdir/etc/cmdline.d/distroinit.conf with
"rd.distroinit=<path1> rd.distroinit=<path2>" and evaluated by
99base/init, when it searches for init.
13 years ago
Harald Hoyer
76a80dff18
dracut-functions: handle relative symlinks with symlinked directories
...
"inst_symlink /bin/sh" was not correctly working if:
/bin -> /usr/bin
/bin/sh -> bash
it produced
/usr/bin/sh -> ../usr/bin/bash
13 years ago
Harald Hoyer
9ea901191e
dracut-functions: simplify nosegneg path
13 years ago
Harald Hoyer
3bdc01c9a5
dracut-functions:inst_binary() bail out early if target exists
13 years ago
Harald Hoyer
e29d0b8b85
dracut-functions: use normal PATH for find_binary
13 years ago