Harald Hoyer
11ee2ca8d4
dracut.spec: remove suse man pages
2013-12-05 17:32:07 +01:00
Harald Hoyer
57575f3c9c
dracut.spec: add new modules
2013-12-05 17:27:57 +01:00
Harald Hoyer
45845cb6a5
i18n: introduce i18n_install_all, to install everything
...
if i18n_install_all is set to "yes", then install all keyboard layouts
and fonts regardless of the hostonly setting.
This way, people can switch keyboard layouts, without having to recreate
the initramfs.
2013-12-05 16:42:05 +01:00
Harald Hoyer
c21c4dc2b4
lvm: install thin tools, only when needed in hostonly
2013-12-05 15:57:42 +01:00
Hannes Reinecke
336bd09d2c
Remove shebang from shell-completion files
...
Shell-completion files are meant to be sourced, not executed.
So they shouldn't have a shebang at the start.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
1c89fd148d
Fixup script permissions
...
Scripts with a shebang should be marked as executable.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
1d3496b4c1
Fixup keymap setting for openSUSE
...
openSUSE is using compressed keymaps.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
463e13fe81
mkinitrd-suse.8.asc: Add manpage for SUSE compat mkinitrd
...
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
2b3e22d602
mkinitrd-suse: Add SUSE compability wrapper for dracut
...
SUSE has its own mkinitrd system. As the arguments clash
with the dracut-provided mkinitrd script I've added a new
mkinitrd-suse.sh wrapper.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
ee54b8404c
Make logfile configurable
...
Add '--logfile' option to make the log file configurable during
runtime.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
d6f0467edf
Add zfcp scripts for SUSE
...
SuSE is storing the zfcp configuration in udev files, so we should
be including these.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
bfa1db78cd
Add DASD configuration for SuSE
...
On SuSE the DASD configuration is kept in udev rules, one rule
file per device. So add a new module for copying and creating
these rules during boot.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
dda7ae7dcd
95znet: Make installation optional
...
znet_cio_free is a RedHat-specific tool, so do not install this
module on systems where the program is missing.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
61c0665dad
95zfcp: Make installation optional
...
zfcp_cio_free is a RedHat-specific tool, so do not install this
module if the program isn't present.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
8b2b77e460
95dasd_mod: make dasd_cio_free optional
...
dasd_cio_free is a RedHat-specific tool, so make it optional.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
07cacb2455
95dasd: Only install module if normalize_dasd_arg is present
...
normalize_dasd_arg is a RedHat specific script, so no point
installing this module if the script isn't present.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Hannes Reinecke
690905cea0
95dasd: Install kernel modules only once
...
Move kernel module selection to 95dasd_mod and make 95dasd depend
on that module.
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Harald Hoyer
443fb52487
10i18n/parse-i18n.sh: fixed vconsole.conf/locale.conf generation
2013-12-05 15:13:29 +01:00
Harald Hoyer
b29cb51654
dracut-functions.sh: do not force require modules.builtin*
2013-12-05 15:13:29 +01:00
Harald Hoyer
64ae4e07a4
dracut.sh: skip crypt swaps with password files
2013-12-03 16:21:04 +01:00
Harald Hoyer
8064f68d60
resume: no more autoresume
2013-12-03 16:21:04 +01:00
Harald Hoyer
40da1e5a31
resume: autoconf resume
2013-12-03 16:21:04 +01:00
Harald Hoyer
b92896ece4
base/dracut-lib.sh:wait_for_dev() relax requirement
...
Do not "require" the devices, but "want" them. This might boot more
systems, where:
- the UUID changed
- swap devices do not show up
2013-12-03 16:21:04 +01:00
Harald Hoyer
271cd19dbe
network/ifup.sh: before doing dhcp, check, if the link has a carrier
2013-12-03 16:21:04 +01:00
Harald Hoyer
7c8da72c11
network/net-lib.sh:iface_has_link() fixup
...
Just echo'ing the flags IFF_UP|IFF_RUNNING does _not_ reflect the
carrier state immediately. So wait for it to really show up.
2013-12-03 16:21:04 +01:00
Harald Hoyer
56ee31ccfe
network/net-lib.sh:wait_for_if_up() wait for "state UP"
...
really wait for "state UP", otherwise it returns earlier than we want
2013-12-03 16:21:04 +01:00
Harald Hoyer
e41f3f9025
dracut.sh:_get_fs_type() if block device exists return early
...
even, if no ID_FS_TYPE was found, return if the block device exists
2013-12-03 16:21:04 +01:00
Harald Hoyer
e38e73d5a6
dracut.cmdline.7.asc: document "server-ip" of "ip=" parameter
2013-12-03 16:21:04 +01:00
Harald Hoyer
928da57447
fips: fix RHEV vmlinuz check
2013-12-03 16:21:04 +01:00
Peter Rajnoha
297b8edc05
lvm: do not run pvscan for lvmetad update
...
The lvmetad daemon is not yet running in initramfs so there's no
need to run pvscan (or instantiate any lvm2-pvscan systemd service).
If pvscan was called in this case (either directly or via systemd
instantiated service), it would fail because there's no lvmetad
daemon to update. This could cause confusion, especially in systemd
instantiated service which is run only once!
2013-12-03 16:20:25 +01:00
Harald Hoyer
28609baf6e
kernel-modules: add ohci-pci to the list of forced module installs
2013-11-14 10:07:04 +01:00
Vratislav Podzimek
a3bfaa1919
Run 'xz' and 'lzma' with multiple threads
...
This speeds up compression a lot on multicore systems.
https://bugzilla.redhat.com/show_bug.cgi?id=1029786
[Edited-by: Harald Hoyer: use getconf for cpu_count]
2013-11-13 13:20:39 +01:00
Harald Hoyer
7e4f74f504
systemd: do not exit the initqueue, if systemd asks a password
...
this prevents bailing out the initqueue, while passwords are still to be
asked
2013-11-12 17:02:44 +01:00
Harald Hoyer
c2ab990938
iscsi,nbd: do not fail in hostonly mode
2013-11-11 16:57:09 +01:00
Colin Guthrie
1d50dfe602
dracut-functions.sh: Avoid loading unnecessary 32-bit libraries for 64-bit initrds
...
Due to the 'inst_libdir_file "libnss_files*"' in the udev-rules module
this caues the /usr/lib/libnss_files-2.18.so* to be included. This is a
32-bit library and pulls in a 32-bit version of glibc also even on a
64-bit system.
This is due to the fact that ldconfig -pN will print [/usr]/lib paths
from the cache as well as [/usr]/lib64. As we handle these paths
specifically we should ignore these results from the cache.
Also there was a missing space when appending the ldconfig paths
onto our list meaning the last builtin and first ldconfig path
were unusable.
2013-11-07 15:23:24 +01:00
Harald Hoyer
185e940e27
fips: also install /etc/system-fips in the initramfs
2013-11-04 17:32:22 +01:00
Harald Hoyer
095fa15591
dracut.modules.7.asc: removed empty section
2013-11-02 13:20:32 +01:00
Harald Hoyer
cf3fd99e72
dracut.sh: fixed PATH shortener
2013-11-02 13:14:40 +01:00
Harald Hoyer
06d418abd1
dracut.spec: move /sbin/dracut to /usr/sbin/dracut
2013-10-30 19:50:53 +01:00
Harald Hoyer
fa9384b1c0
iscsi/nbd: do not try to mount the whole disk, if root= is missing
...
only mount the whole disk for root=dhcp
2013-10-30 17:38:43 +01:00
Kyle McMartin
0a8e91bb24
fips: include crct10dif_generic
...
Resolves: rhbz#1024455
2013-10-30 12:35:27 +01:00
Harald Hoyer
4d7c18c7c0
Handle crypto modules with and without modaliases
...
If new kernels have modules split out, handle the case, where modules
have to modalias and just install them.
Also add the crypto drivers and names to host_modalias.
2013-10-30 12:24:37 +01:00
Alexander Tsoy
0106da599a
usrmount/module-setup.sh: fixed typo
2013-10-25 17:06:44 +02:00
Harald Hoyer
5d623b1775
lvm: always install thin utils for lvm
2013-10-21 09:09:26 +02:00
Harald Hoyer
76a4478264
kernel-modules(ARM): add mmc_block usb_storage to statis list of kernel mods
2013-10-18 14:56:51 +02:00
Marian Csontos
96c6f6f3d1
dracut-functions.sh:check_block_and_slaves*() skip LVM internal devs
...
Not every device in /dev/mapper should be examined.
If it is an LVM device, touch only devices which have /dev/VG/LV symlink.
2013-10-18 14:40:40 +02:00
Harald Hoyer
56903458d7
mkdir basic dirs in /run
...
for systemd initramfs, /run is also mounted
for non-systemd the contents of /run is copied over, when mounting /run
2013-10-16 11:49:57 +02:00
Harald Hoyer
8795467533
network/fcoe: only redirect output to loginit.pipe, if exists
2013-10-16 11:39:34 +02:00
Harald Hoyer
8d89fc6bb1
dracut.sh: no need to make subdirs in run
2013-10-16 11:39:17 +02:00
Harald Hoyer
68b736b50f
dracut.sh: also mkdir /run/lock, which is copied to
2013-10-16 11:31:54 +02:00