Harald Hoyer
f71145d20d
TEST-20-NFS: trigger watchdog more often
13 years ago
Harald Hoyer
407fbc9e13
watchdog: stop watchdog in emergency_shell
13 years ago
Harald Hoyer
5ffa0114c0
kernel-modules: no need to install modules.dep et.al.
...
dracut_kernel_post() does it all
13 years ago
Harald Hoyer
08084370fd
watchdog: call watchdog more often
13 years ago
Harald Hoyer
70c6b773ca
dracut.sh, dracut-functions.sh: add dracut_kernel_post()
...
dracut_kernel_post() does lazy kernel module dependency installation,
depmod and cleans up temporary files
13 years ago
Harald Hoyer
0d339e7ffb
fips/module-setup.sh: s/aes-xts/xts
13 years ago
Harald Hoyer
f0558da598
test/*/test.sh: correct ifup and dhclient paths
13 years ago
Harald Hoyer
ec1aa3bc48
dracut-functions.sh: error out, if $initdir is not set
13 years ago
Harald Hoyer
26c231f13b
dracut.sh: set $initdir early before sourcing dracut-functions.sh
13 years ago
Harald Hoyer
99c7b70d1d
modules.d: get rid of "tr"
...
replace it with sed or str_replace or bash ${var/a/b}
13 years ago
Harald Hoyer
92f26b6202
dracut-functions: inst(),inst_binary() fixed inst_symlink call
13 years ago
Harald Hoyer
0c6565c810
dracut-functions.sh:inst_libdir_files() combine installs
...
first, search for all files, then call dracut_install only once
13 years ago
Harald Hoyer
d8aeb3a72a
dracut.sh, dracut-functions.sh: do lazy kernel module dep resolving
...
First, we just install the kernel module and keep track, what we
installed. At the very end, call modprobe and modinfo for firmwares to
resolve all kernel module dependencies. This speeds up image creation,
because we can call modprobe and modinfo with many modules.
13 years ago
Harald Hoyer
2cf987f5c3
fcoe/module-setup.sh: check() for needed tools
13 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Srinivasa T N
e716c0f121
Fixed BOOTIF for converting mac addr to lowercase
...
The patch, acfab373
- Handle upper case MAC addresses in ifname
option,takes care of only the MAC conversion to lower case in the
interface name. But the same has to be taken care for BOOTIF also.
This patch takes care of changing the BOOTIF to lower case.
Note that sed has been used in the patch instead of tr, as it is not
compulsion to install tr by dracut in the initramfs and may not be
available always.
Signed-off-by: Srinivasa T N (seenutn@linux.vnet.ibm.com )
>From 2ec9c91adbf808dbad9bdd2057d9df55a62b711f Mon Sep 17 00:00:00 2001
From: Srinivasa T N <seenutn@linux.vnet.ibm.com>
Date: Wed, 27 Jun 2012 11:20:13 +0530
Subject: [PATCH] Fixed BOOTIF for converting mac addr to lowercase
13 years ago
Amadeusz Żołnowski
1048124120
90dmsquash-live: don't source fs-lib.sh as it is not used
13 years ago
Amadeusz Żołnowski
84a12fbc21
dracut-lib.sh: Use "$*" instead of "$@" in warn, info, and so on...
...
"$@" might cause some uneccessary word breaking.
13 years ago
Amadeusz Żołnowski
1d97bb8b39
man pages: hostonly mode generates host-specific configuration
...
This fact hasn't been mentioned.
13 years ago
Amadeusz Żołnowski
4ea629b9e1
98usrmount: depend on fs-lib
13 years ago
Harald Hoyer
ad200fbc8c
dracut.sh: do not copy devices nodes, mknod them
13 years ago
Harald Hoyer
b47d7a5fd4
dracut-logger.sh: empty functions for log funcs, which are below level
13 years ago
Harald Hoyer
5d897c82b9
dracut-logger.sh: use (( )) for numeric comparisons
13 years ago
Harald Hoyer
4d0f1d7b28
modules.d/*/module-setup.sh: no more sourcing of dracutfunctions
13 years ago
Harald Hoyer
2d2c8c2078
multipath/module-setup.sh:installkernel() fix return code
13 years ago
Harald Hoyer
8bc04b98c7
kernel-modules/module-setup.sh:installkernel() fix return code
13 years ago
Harald Hoyer
71947dcb91
plymouth/module-setup.sh:installkernel() fix return code
13 years ago
Harald Hoyer
9c2a1d0de6
iscsi/module-setup.sh: speedup installkernel()
13 years ago
Harald Hoyer
94165394ff
network/module-setup.sh: fixed installkernel() return code
13 years ago
Harald Hoyer
3aa221aa1d
terminfo/module-setup.sh: speedup install() of all terminfo
13 years ago
Harald Hoyer
a0df73b493
udev-rules/module-setup.sh: ln with --force
13 years ago
Harald Hoyer
5bccc94598
no more "mknod" in the initramfs!!
13 years ago
Harald Hoyer
a5f44604f7
bootchart/module-setup.sh: no need for mknod anymore
13 years ago
Harald Hoyer
8c6151bd63
i18n/module-setup.sh:install_all_kbd(): speedup install
13 years ago
Harald Hoyer
d531a0a307
systemd/module-setup.sh: ln with --force
13 years ago
Harald Hoyer
3639d2431f
systemd/module-setup.sh: only create empty machine-id if non existing
13 years ago
Harald Hoyer
44cf581732
base/module-setup.sh: use --force for ln
13 years ago
Harald Hoyer
b65bde04e7
fs-lib/fs-lib.sh: removed test mounting of btrfs and xfs
...
mount/umount check only costs time and we fail later anyway.
mount can take very long on large filesystems. Better fail on the real
mount.
13 years ago
Harald Hoyer
28a6eef3be
profile.py: do not count negative timestamp differences
13 years ago
Harald Hoyer
69b35075f3
dracut.sh: speedup "strip"
13 years ago
Harald Hoyer
744054779f
dracut-functions.sh:find_kernel_modules_by_path() use IFS=:
...
For modules.dep use simpler IFS=: to read the file.
13 years ago
Harald Hoyer
b19c5d51f8
dracut-functions.sh:inst_decompress() simplify function
13 years ago
Harald Hoyer
22048b44db
dracut-functions.sh:inst_simple() do inst_symlink for symlinks
13 years ago
Harald Hoyer
1488a9b34d
Add qemu kernel modules, if we detect a qemu instance
...
Regardless of the host-only setting, add all know kernel driver for qemu
instances to support changing the virtual hardware.
13 years ago
Harald Hoyer
d5b5bb3103
dracut-functions.sh: cp with --reflink=auto and --sparse=auto
...
cp will use COW data copy most of the time. So, it's even better than
hardlink, because we don't have to care about hardlinks, when modifying
files in post.
13 years ago
Harald Hoyer
f8be752874
dracut-functions.sh: mksubdirs(): check for dir existence first
13 years ago
Harald Hoyer
520047c3c4
dracut-functions.sh: replace strstr()
...
the new strstr() is faster, when compared
13 years ago
Harald Hoyer
ae2d48a366
systemd: add ConditionPathExists=/etc/initrd-release to services
13 years ago
Cong Wang
472edf825e
network: support vlan tagged bonding
...
This patch adds support of vlan tagged bonding, for example,
bond0.2. In case of regression, I also tested bond0 and eth0.2,
all work fine.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
13 years ago
Harald Hoyer
cc51bc6fdb
systemd/dracut-pre-pivot.sh: copy service files to /run/systemd/system
...
and remove the last info, so that the journal is not restarted again.
13 years ago