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>
2015-11-13 13:22:34 +01:00
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>
2015-11-13 13:22:34 +01:00
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.
2015-11-13 13:21:43 +01:00
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>
2015-11-13 13:18:11 +01:00
Harald Hoyer
ed92ecaa3c
iscsi: only systemctl try-restart iscsid, if systemd is used
2015-11-13 13:16:10 +01:00
Harald Hoyer
98e9db2755
iscsi/iscsiroot.sh: put variables in quotes
...
best practice
2015-11-13 13:15:05 +01:00
Harald Hoyer
4a6c14f987
repro squash
2015-11-13 13:14:05 +01:00
Harald Hoyer
561eb42f39
reduce dracut-functions.sh and add to dracut-init.sh
...
move all dracut specific functions to dracut-init.sh
2015-11-13 13:06:01 +01:00
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.
2015-11-13 11:53:36 +01:00
Harald Hoyer
35a666d02a
dracut-systemd/rootfs-generator.sh: s/RequiresOverridable/Requires
...
RequiresOverridable will be deprecated
2015-11-13 10:13:08 +01:00
Harald Hoyer
5b43377d74
network/ifup.sh: skip empty nameserver values
...
(cherry picked from commit e658251173
)
2015-11-11 16:49:47 +01:00
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
)
2015-11-11 16:49:09 +01:00
Harald Hoyer
b44156c6fc
dracut.sh: fixed typo in microcode generation
...
(cherry picked from commit a594b4e357
)
2015-11-11 16:47:48 +01:00
Harald Hoyer
a49c1f049b
network:wait_for_ifup() handle "NO-CARRIER" output
...
if "NO-CARRIER" is one of the flags, we surely have no link yet.
(cherry picked from commit f059985b14
)
2015-11-11 16:47:09 +01:00
Harald Hoyer
efba549a26
dracut.sh: no microcode, if get_ucode_file returns empty file
...
check, if get_ucode_file() returned an empty string.
(cherry picked from commit 327d765512
)
2015-11-11 16:47:03 +01:00
Harald Hoyer
79cb273dc0
iscsi/parse-iscsiroot.sh: correct handling if netroot isn't set
...
corrects bfe65f913a
(cherry picked from commit 7fd112f20e
)
2015-11-11 16:46:54 +01:00
Harald Hoyer
583fb23199
dracut.sh: do not create microcode, if no firmware is available
...
(cherry picked from commit 13b5c1d09e
)
2015-11-11 16:46:16 +01:00
Harald Hoyer
b73e00aff7
dracut.sh: add command line option for install_i18_all
...
--no-hostonly-i18n -> install_i18n_all=yes
--hostonly-i18n -> install_i18n_all=no
(cherry picked from commit 34b551a1c4
)
2015-11-11 16:45:48 +01:00
Harald Hoyer
b5363e834a
iscsi/iscsiroot.sh: handle iscsi_firmware in online and timeout queue
...
The return code of iscsi_firmware is broken, so set the marker
unconditionally.
(cherry picked from commit fd3eddf069
)
2015-11-11 16:44:36 +01:00
Harald Hoyer
19b0065cac
network/netroot.sh: better handling of $netroot and dhcp
...
if $netroot is emtpy, get it from cmdline
check cmdline directly for root=dhcp(6) and netroot=dhcp(6)
(cherry picked from commit 17cee31b11
)
2015-11-11 16:44:29 +01:00
Harald Hoyer
df087c45d8
iscsi/iscsiroot.sh: use all_ifaces_setup()
...
we want the route and gateway setup
(cherry picked from commit 7cddfbbadb
)
2015-11-11 16:44:20 +01:00
Harald Hoyer
5d90ba4fca
network: add all_ifaces_setup()
...
all_ifaces_up() is true, if all interfaces are up.
all_ifaces_setup() is true, if all interfaces are up and the gateways
and nameserver are setup.
(cherry picked from commit 63e75dc4cd
)
2015-11-11 16:44:13 +01:00
Harald Hoyer
e847a78bb6
network/dhclient-script.sh: fix RENEW
...
Remove check, if interface is already up. It is for RENEW.
new_prefix is apparently new_subnet_mask
(cherry picked from commit 52845b168d
)
2015-11-11 16:44:01 +01:00
Harald Hoyer
73833796b4
network: move "ip=ibft" handling to network module
...
(cherry picked from commit b334c83e4a
)
2015-11-11 16:38:49 +01:00
Harald Hoyer
e803d076f8
iscsi/parse-iscsiroot.sh: only set initiator-name, if not empty
...
(cherry picked from commit eb87dc91d0
)
2015-11-11 16:36:25 +01:00
Harald Hoyer
7d47178e0d
livenet/livenetroot.sh: fixed error condition
...
copy&paste error
(cherry picked from commit b813b1b306
)
2015-11-11 16:19:56 +01:00
Harald Hoyer
6cfdb5aa1f
network/ifup: do DHCP for BOOTDEV
...
(cherry picked from commit 7316d68353
)
2015-11-11 16:19:43 +01:00
Harald Hoyer
29b885b46e
network/net-lib.sh: fix IPv6 route parsing
...
(cherry picked from commit a4c47ce0dd
)
2015-11-11 16:19:36 +01:00
Harald Hoyer
42b4fc90f2
network/net-lib.sh: fix wait_for_if_up()
...
wait for <*UP*> and not "state UP"
state can be UNKNOWN
(cherry picked from commit d8572e0bf4
)
2015-11-11 16:19:25 +01:00
Harald Hoyer
b519ae7008
network/ifup: fix warning about not bringing interface up
...
(cherry picked from commit 70f3c07846
)
2015-11-11 16:19:18 +01:00
Harald Hoyer
195b5d0725
cms/cmsifup.sh: do not use ifup -m
...
we don't want to bring the interface up several times
(cherry picked from commit 0852c38b7a
)
2015-11-11 16:19:09 +01:00
Harald Hoyer
686f9675df
network/ifup.sh: only use dhcp on unknown interfaces for ip=dhcp
...
(cherry picked from commit 7c24815034
)
2015-11-11 16:18:04 +01:00
Harald Hoyer
26fbe97bbe
network: also mark interfaces up with their MAC
...
(cherry picked from commit 53537f4d23
)
2015-11-11 16:17:57 +01:00
Harald Hoyer
744c65939b
network/ifup.sh: save return value of ifup
...
(cherry picked from commit b4006781e8
)
2015-11-11 16:17:49 +01:00
Harald Hoyer
3632be079b
iscsi/parse-iscsiroot.sh: restart iscsid with try-restart
...
(cherry picked from commit a6befb52eb
)
2015-11-11 16:17:42 +01:00
Harald Hoyer
782e909eef
iscsi/parse-iscsiroot.sh: handle firmware in online queue
...
(cherry picked from commit 7f59cbd318
)
2015-11-11 16:17:33 +01:00
Harald Hoyer
27a5aecf56
network/ifup.sh:do_static(): error out, if IP is already assigned
...
(cherry picked from commit 32770ca79a
)
2015-11-11 16:16:09 +01:00
Harald Hoyer
5193198dc9
network/ifup.sh:do_static(): error out, if interface could not be brought up
...
(cherry picked from commit 77f46adf5e
)
2015-11-11 16:15:57 +01:00
Harald Hoyer
c606be49d7
TEST-15-BTRFS: load btrfs module
...
(cherry picked from commit d9b5a98532
)
2015-11-11 16:15:50 +01:00
Harald Hoyer
f939cffdac
test/TEST-04-FULL-SYSTEMD/create-root.sh: modprobe btrfs
...
why so ever... it used to load automatically
(cherry picked from commit 65977ef1d1
)
2015-11-11 16:15:41 +01:00
Harald Hoyer
a283636b83
dmraid: only scan once because of one device
...
(cherry picked from commit 80153acc0f
)
2015-11-11 16:15:22 +01:00
Harald Hoyer
4483fff87c
network/dhclient: exit arping immediatly, if we get an answer
...
(cherry picked from commit d6bfa7052a
)
2015-11-11 16:15:07 +01:00
Harald Hoyer
c04a321b92
network/net-lib.sh:ibft unset gateway or dns, if set to 0.0.0.0
...
(cherry picked from commit 942d60d8af
)
2015-11-11 16:15:00 +01:00
Harald Hoyer
4a88aaff10
fcoe: cleanup lldpad
...
Resolves: rhbz#1246217
(cherry picked from commit 69c437dd1c
)
2015-11-11 16:14:51 +01:00
Harald Hoyer
dd8d161afe
udev-rules: install 40-redhat.rules
...
(cherry picked from commit 0c0abf97cc
)
2015-11-11 16:08:17 +01:00
Harald Hoyer
0c004c8e64
network/parse-ip-opts.sh: bind enx* interface to the MAC
...
do it automatically for the persistent naming scheme
(cherry picked from commit 2eb3b00133
)
2015-11-11 15:58:12 +01:00
Harald Hoyer
9ab5ddf16a
network/ifup.sh: arping for static IPv4 addresses
...
(cherry picked from commit 38180271c5
)
2015-11-11 15:58:04 +01:00
Harald Hoyer
93b9885a65
network/ifup.sh: let dhcp client run in the background
...
we need to renew the lease
(cherry picked from commit fb2d643a38
)
2015-11-11 15:57:53 +01:00
Harald Hoyer
db7d739818
systemd/dracut-cmdline.sh: print out cmdline in one line
...
(cherry picked from commit 93a5a3d3ca
)
2015-11-11 15:57:36 +01:00
Harald Hoyer
bcbcacb5d6
iscsi: handle timeout case better
...
(cherry picked from commit bfe65f913a
)
2015-11-11 15:56:27 +01:00