Harald Hoyer
43a85a7365
network: merge setup_net_$netif.ok and net.$netif.did-setup
...
one marker per interface is enough
11 years ago
Harald Hoyer
61b4afb424
network: IPv6 status, wait for tentative flag to be cleared
...
also do not arping the IPv6 address.
11 years ago
Harald Hoyer
2ac599dc75
network/dhclient-script.sh:DHCP IPv6 interface setup
...
configure IPv6 interface for DHCP6
https://bugzilla.redhat.com/show_bug.cgi?id=1064365
11 years ago
Harald Hoyer
7f70f81153
network/net-lib.sh:wait_for_ipv6_auto() also wait for the tentative flag
...
Wait until the tentative flag is cleared.
https://bugzilla.redhat.com/show_bug.cgi?id=1069263
11 years ago
Harald Hoyer
79b3c8bfa1
ifcfg/write-ifcfg.sh: do not bind s390 to MAC if SUBCHANNELS set
...
If SUBCHANNELS are set, do not specify HWADDR, because the SUBCHANNELS
are the identifier for the interface.
https://bugzilla.redhat.com/show_bug.cgi?id=1056438
11 years ago
Harald Hoyer
fa795f29e2
systemd/rootfs-generator.sh: generate units in /run/systemd/generator
...
Generate the units in /run/systemd/generator, so they are picked up by
systemd.
https://bugzilla.redhat.com/show_bug.cgi?id=1069133
https://bugzilla.redhat.com/show_bug.cgi?id=949697
11 years ago
Harald Hoyer
ab9457efd7
Add flag to toggle hostonly cmdline storing in the initramfs
...
--hostonly-cmdline:
Store kernel command line arguments needed in the initramfs
--no-hostonly-cmdline:
Do not store kernel command line arguments needed in the initramfs
11 years ago
Harald Hoyer
103c5e1ecb
systemd: add 70-uaccess.rules
11 years ago
Amadeusz Żołnowski
4eec1a2276
Added missing quotes
...
See bug report at https://bugs.gentoo.org/show_bug.cgi?id=502064
11 years ago
Alexander Tsoy
8a2db478de
Add legacy flag (-l) to lz4 and update magic number
...
Linux kernel does not support the new default lz4 format.
https://bugs.gentoo.org/show_bug.cgi?id=502102
11 years ago
sfalken@opensuse.org
6e53596cec
Patch for Manpage
...
Patch corrects grub paths in the manpage for both GRUB legacy and GRUB2
11 years ago
Harald Hoyer
dc4c1ee39d
dracut.sh: write directly to the output file
...
Because we already remove the output file before writing to it, we don't
have to play games and write to a temporary file first.
11 years ago
Harald Hoyer
d1c4e5c521
fcoe-uefi: try all FcoeBootDevice-* variables for a DevicePath
...
try to read the DevicePath from all FcoeBootDevice-* UEFI variables
until one has a MAC.
11 years ago
Harald Hoyer
a324c2111e
iscsi: for iBFT read the initiator-name from the correct file
...
/sys/firmware/ibft/initiator-name should be
/sys/firmware/ibft/initiator/initiator-name
https://github.com/haraldh/dracut/issues/12
11 years ago
Harald Hoyer
e8a7c9bc93
dracut-functions.sh:find_kernel_modules_by_path() fixed updates search
...
"updates/*" path does not start with "/"
11 years ago
Harald Hoyer
cb802bfbc7
iscsiroot: touch the right marker file
11 years ago
Harald Hoyer
a0b2c69441
kernel-modules: add sdhci_acpi to the static list of kernel modules
...
Thanks Adam Williamson!
https://bugzilla.redhat.com/show_bug.cgi?id=1063556
11 years ago
Till Maas
9835859f21
Cryptroot-ask.sh: Remove duplicate code
...
Remove duplicate code introduced with commit
9b5e2e8574
.
11 years ago
Till Maas
9b5e2e8574
Cryptroot-ask.sh: Use variables consistently
...
- Always use $luksname instead of sometimes $2
- define $asked_file instead of using the same path twice
11 years ago
Colin Guthrie
8da51857f0
dracut.sh: Fix variable name typo.
...
This caused the root_dev variable not to be set which in turn meant that
the root device was not whitelisted in 99base/module-setup.sh when injecting
compile-time devexists hooks in hostonly initrds. This ties the generated
initrd to the root fs device (typically the UUID) rather than relying solely
only the root= kernel command line.
While it is hostonly, not hardcoding e.g. UUIDs is still desirable. Any
swap partition on the host device is still added however.
11 years ago
Brian C. Lane
460cddffa1
new_dhcp_next_server is really new_next_server
...
The variable that dhclient sets doesn't have dhcp in the name. This
could cause problems with setups where the server is not the same as the
dhcp server.
11 years ago
Harald Hoyer
fac3275a43
network:fix dns parsing in ip= parameter
11 years ago
Harald Hoyer
30e6e809ed
Factor out all the "type -V" commands
...
Add new functions require_binaries() and require_any_binary() to be used
in the check() section of module-setup.sh.
These functions print a warning line telling the user, which binary is
missing for the specific dracut module.
This unifies the way of checking for binaries and makes the life of an
initramfs creator easier, if he wants to find out why a specific dracut
module is not included in the initramfs.
11 years ago
Harald Hoyer
8d21728942
systemd: add sys-kernel-config.mount
11 years ago
Harald Hoyer
352d557d4d
Do not reload systemd with wait_for_dev
11 years ago
Harald Hoyer
751c7de98a
systemd/dracut-pre-pivot: run for /dev/{nfs,root} and cleanup /dev/nfs
...
dracut-pre-pivot was not cleaning up /dev/nfs and did not run to clean
up /dev/root.
11 years ago
Harald Hoyer
81aed4f28e
nfs/nfsroot: symlink /dev/null to /dev/nfs, as a marker for root=/dev/nfs
11 years ago
Harald Hoyer
c84618d7ac
network/ifup: do not run dhclient twice on the same interface
11 years ago
Harald Hoyer
d61a423f7c
network/ifup: do not ifup an already setup network interface
11 years ago
Harald Hoyer
f52759131b
test: include the same Makefile.testdir
11 years ago
Harald Hoyer
c860837303
base/rdsosreport.sh: add dracut version to rdsosreport
11 years ago
Harald Hoyer
1982098e00
network/ifup.sh: handle $dns1 and $dns2 from "ip=" settings
11 years ago
Harald Hoyer
e95e48c6ee
network/net-lib.sh: parse ibft nameserver settings
11 years ago
Harald Hoyer
f57850d7e8
dracut-functions.sh: also search in the updates directory
11 years ago
Harald Hoyer
c8a9a6b4a7
dracut.sh: only set the owner of files to 0:0, if generated as non-root
...
If the root user generates the initramfs image, preserve the ownership
of the files. This of course cannot be done for non-root users
generating an initramfs image.
11 years ago
Harald Hoyer
66bfe863f5
network: understand ip=.....:<dns1>:<dns2>
11 years ago
Harald Hoyer
d50a99c5ce
NEWS: update for version 036
11 years ago
Harald Hoyer
a7316ae4f7
skipcpio: fixed signatured check
11 years ago
Cristian Rodríguez
6b449e8a6d
skipcpio: return something at end of program
...
Otherwise the compiler emits a warning and the return vale is
in theory undefined.
11 years ago
Harald Hoyer
ba9368fa4f
dmsquash-live/dmsquash-liveiso-genrules.sh: s/loop0/loop-control/
...
If loop is a kernel module, /dev/loop0 will never show up as a udev
event, if the loop module is not manually loaded somewhere.
11 years ago
Stig Telfer
1f28dfb2e4
url-lib: extend to enable TFTP support
...
Libcurl has wider capabilities than those assigned to it by Dracut.
In this patch to url-lib I've added registration for TFTP URLs,
which I've found to be useful.
Enjoy,
Stig Telfer
11 years ago
Harald Hoyer
41351164f8
NEWS: dracut-035
11 years ago
Harald Hoyer
855a549660
Makefile: make dracut.html.sign depend on dracut.html
11 years ago
Harald Hoyer
5c5350b30b
dracut.spec: add skipcpio
11 years ago
Stig Telfer
6cc8f694b5
dracut-lib.sh: bugfix for pidof function
...
In follow-up, the patch requires a second mod: kernel tasks have a /proc/.../exe that links to nothing and derails the for loop:
11 years ago
Stig Telfer
abdf191b64
dracut-lib.sh: bugfix for pidof function
...
It appears there is a simple substitution error in the pidof shell function which causes it to fail to find processes. In my case, processes started by 95nfs are not terminated in the cleanup hook. This causes knock-on effects disturbing the root filesystem service dependencies.
Enjoy,
Stig Telfer
11 years ago
Harald Hoyer
b5b31c9589
iscsi/iscsiroot.sh: beautify warning
11 years ago
Harald Hoyer
247d6d4270
network/dhclient-script.sh: set lease time
...
The dracut dhclient-script.sh should set address lifetimes to the DHCP
lease time, so that other stuff (like NetworkManager!) knows that the
address is temporary and was created by DHCP.
https://bugzilla.redhat.com/show_bug.cgi?id=1058519
11 years ago
Harald Hoyer
93f44f28a2
dracut-install.c: "make indent"
11 years ago
Harald Hoyer
b208aad51c
lsinitrd.sh: make use of the skipcpio utility
...
With the skipcpio utility, the whole contents of an initramfs with an
early cpio image can be displayed.
11 years ago