Harald Hoyer
df95b1003c
network: fix carrier detection
...
rename iface_has_link() to iface_has_carrier() to clarify usage
Only assign static "wildcard interface" settings, if the interface has a
carrier.
If the interface name was specified with a name, do not do carrier
checking for static configurations.
9 years ago
Harald Hoyer
efd3a6db74
livenet/module-setup.sh: only include systemd generator if systemd included
9 years ago
Harald Hoyer
4bcd41389c
systemd: include machine-info
9 years ago
Harald Hoyer
8d26b5661e
kernel-modules: include all HID driver in hostonly mode
...
If a kernel is updated in the undocked state and later on docked, some
keyboard modules can be missing.
Thus include all HID drivers.
9 years ago
Harald Hoyer
ce9a398771
dmsquash-live/dmsquash-live-root.sh: SQUASHED can be set earlier
...
8b5ee88ff6
removed the check for SQUASHED,
assuming, that the if clause above was the only place, where SQUASHED is
set.
This patch reverts to the old logic, because SQUASHED can be set
earlier.
9 years ago
Harald Hoyer
54e09dfb72
shutdown: guard against read-only /run
...
remount the switch rooted /run writeable again.
9 years ago
Harald Hoyer
88ba9372be
livenet/livenet-generator.sh: mode 0755
9 years ago
Harald Hoyer
5d8d0ac814
dmraid/61-dmraid-imsm.rules: add nowatch option for udev
...
udev rereads partitions, if watch is set for disks
9 years ago
Harald Hoyer
6ed1d9fd07
dmsquash-live/dmsquash-live-root.sh: fixed typo
9 years ago
Harald Hoyer
6612ae0d36
NEWS: update for version 044
9 years ago
Harald Hoyer
616fdae3cf
AUTHORS: update
9 years ago
Harald Hoyer
eb242ada05
dmraid/61-dmraid-imsm.rules: remove double ","
9 years ago
Harald Hoyer
4916bf1a58
lvm: silence errors from "lvm dumpconfig"
...
if the config option does not exist, we ignore the error anyway
9 years ago
Harald Hoyer
319867faa8
man: clarify add_dracutmodules vs dracutmodules
9 years ago
Harald Hoyer
87e90d7f4a
For rd.hostonly=0 remove all initqueue/finished files also
...
This helps booting systems with changed configuration
9 years ago
Harald Hoyer
2249e7312e
Makefile: add efi target
...
make an UEFI bootable image
9 years ago
Harald Hoyer
62c00a8896
dracut.sh: only create one TMPDIR
...
use DRACUT_TMPDIR subdirs for everything
9 years ago
Harald Hoyer
1a2290ea79
Revert "systemd: if kdbus is available, include the kernel module"
...
This reverts commit 90ff5ad67e
.
There will be no kdbus anymore :-/
9 years ago
Harald Hoyer
03de49609c
Merge pull request #97 from FGrose/dmsquash-live-root
...
dmsquash-live-root: Persistence without overlay for uncompressed live installations
9 years ago
Harald Hoyer
e330912be5
Merge pull request #106 from FGrose/dracut.cmdline
...
dracut.cmdline: Update Booting live images section
9 years ago
Frederick Grose
33a4198e17
dracut.cmdline: Update Booting live images section
...
Add descriptions for the rd.live.overlay.readonly,
rd.live.overlay.size, rd.live.overlay.reset,
rd.live.squashimg, and rd.live.overlay=none options.
Mention the Invalid mark on exhausted overlays.
Clarify the rd.writable.fsimg option.
Repunctuate the rd.live.overlay.thin option description.
9 years ago
Frederick Grose
8b5ee88ff6
dmsquash-live-root: Avoid an overlay for persistent, uncompressed, read-write live installations.
...
Persistent, uncompressed live installations can avoid overlays with a new rd.live.overlay=none flag.
Non-persistent rd.live.ram boots can also take advantage of persistent home.img filesystems.
9 years ago
Harald Hoyer
2bcf4ffe5f
Merge pull request #105 from antonym/master
...
livenet: add livenet-generator
9 years ago
Antony Messerli
a455ad1c27
livenet: add livenet-generator
...
Resolves issues where systemd attempts to boot a live URL as an NFS mount.
This patch uses systemd's generator arg[2] to generate an early sysroot.mount
that preempts systemd-fstab-generator.
See https://bugzilla.redhat.com/show_bug.cgi?id=1280103
9 years ago
Harald Hoyer
c44d2252bb
dracut.sh: for microcode generation, skip gpg files
...
skip all ".asc" files for the AMD microcode generation
9 years ago
Harald Hoyer
90ac2d2429
TEST-16-DMSQUASH: add code for IO throtteling in qemu
...
To test the mediacheck feature, I added commented out code with qemu IO
throtteling.
9 years ago
Harald Hoyer
27d7936f0e
dracut.sh: save systemdutildir env
...
even, if no systemd is used, we need that variable for systemd-udevd
9 years ago
Harald Hoyer
2da041d672
Check for systemd before installing systemd specific files
...
https://bugzilla.redhat.com/show_bug.cgi?id=1282010
9 years ago
Harald Hoyer
63a44c8dc3
dracut.sh: add back host_modules part
...
host_modules was removed accidently while remove host_modaliases
9 years ago
Harald Hoyer
602dce9ff2
iscsi/parse-iscsiroot.sh: reload udev rules
...
in the DHCP case udev is already running, so reload the rules before
continuing.
9 years ago
Harald Hoyer
456f299ab8
dracut-init.sh: libdir paths need dracut-function.sh
9 years ago
Zhiguo Deng
7527b90c88
Check rd.zfcp= format in dracut hook:cmdline process stage
...
When using rd.zfcp= parameter in generic.prm file, wrong format
parameters will prevent the zfcp driver to add the correct SCSI
disk. dracut should die when a wrong rd.zfcp= parameter supplied.
Signed-off-by: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
9 years ago
Harald Hoyer
07a081f352
dracut.sh: remove the concept of host_modalias
...
We can never gather enough information about compiled in modules, so
don't pretend to know and do smart decisions.
9 years ago
dyoung@redhat.com
6870007674
Revert "Let user specify the action after fail"
...
This reverts commit 9d787df196
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
d6dfde7830
Revert "99fs-lib/fs-lib.sh: Let user specify the action after fail for fsck"
...
This reverts commit 679fa7ed3c
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
946722e465
Revert "dracut-emergency.service: do not start for "action_on_fail=continue""
...
This reverts commit b78e6ac2c3
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
a95a727fdc
Revert "systemd/emergency.service: do not run for action_on_fail=continue"
...
This reverts commit dcae873414
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
927d1e28c9
Revert "rename kernel command line param action_on_fail to rd.action_on_fail"
...
This reverts commit 391d605790
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
dyoung@redhat.com
74c9fb947b
Revert "Change the implementation of action_on_fail"
...
This reverts commit d2765b5175
.
action_on_fail is useless thus remove the commits for it one by one.
Signed-off-by: Dave Young <dyoung@redhat.com>
9 years ago
Fabian
edbd9ca058
dracut.sh: Support --mount with just mountpoint as parameter
...
Right now the --mount parameter of dracut expects a rather long fstab-like
line. This makes it possible to invoke dracut with e.g. --mount /boot.
9 years ago
Mei Liu
dcc2a4344b
Add awk and getopt as dependencies of znetconf
...
znetconf command is part of s390utils-base package. It depends on
awk and getopt.
This patch is used to fix the following error:
dracut:/#
znetconf -c
/usr/sbin/znetconf: line 70: awk: command not found
/usr/sbin/znetconf: line 1138: getopt: command not found
Signed-off-by: Mei Liu <liumbj@linux.vnet.ibm.com>
9 years ago
Harald Hoyer
ed92ecaa3c
iscsi: only systemctl try-restart iscsid, if systemd is used
9 years ago
Harald Hoyer
98e9db2755
iscsi/iscsiroot.sh: put variables in quotes
...
best practice
9 years ago
Harald Hoyer
4a6c14f987
repro squash
9 years ago
Harald Hoyer
561eb42f39
reduce dracut-functions.sh and add to dracut-init.sh
...
move all dracut specific functions to dracut-init.sh
9 years ago
Harald Hoyer
10f8df1bdf
add --no-reproducible to turn off reproducible mode
...
Also warn about cpio not supporting it and turn it on by default for
fedora.
9 years ago
Harald Hoyer
35a666d02a
dracut-systemd/rootfs-generator.sh: s/RequiresOverridable/Requires
...
RequiresOverridable will be deprecated
9 years ago
Harald Hoyer
5b43377d74
network/ifup.sh: skip empty nameserver values
...
(cherry picked from commit e658251173
)
9 years ago
Harald Hoyer
ecdee70c48
base/dracut-lib.sh:getargs() don't return 1 for empty values
...
getargs() is only used with real values and not booleans.
So, return the values only.
(cherry picked from commit d1f7f2ac04
)
9 years ago
Harald Hoyer
b44156c6fc
dracut.sh: fixed typo in microcode generation
...
(cherry picked from commit a594b4e357
)
9 years ago