]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
10 years agodracut.sh: add $tmpfilesdir to install files to /usr/lib/tmpfiles.d
Harald Hoyer [Mon, 1 Dec 2014 11:34:54 +0000 (12:34 +0100)] 
dracut.sh: add $tmpfilesdir to install files to /usr/lib/tmpfiles.d

10 years agobase/init.sh: ignore exclamation mark for kmod static-nodes
Harald Hoyer [Mon, 1 Dec 2014 10:50:00 +0000 (11:50 +0100)] 
base/init.sh: ignore exclamation mark for kmod static-nodes

newer versions add an exclamation mark for the type, to mark it to be
created on boot only.

10 years agofips: add libfreeblpriv3.so and libfreeblpriv3.chk
Harald Hoyer [Fri, 28 Nov 2014 14:32:17 +0000 (15:32 +0100)] 
fips: add libfreeblpriv3.so and libfreeblpriv3.chk

10 years agodmsquash-live: do not abort, if user pressed ESC on checkisomd5
Harald Hoyer [Tue, 25 Nov 2014 12:44:54 +0000 (13:44 +0100)] 
dmsquash-live: do not abort, if user pressed ESC on checkisomd5

If the user pressed ESC while checkisomd5 runs the media check, it will
exit with "2". Previously that would mean, that the media check was not
successful.

10 years agomultipath/multipathd.service: add more Conditions
Harald Hoyer [Tue, 25 Nov 2014 12:23:21 +0000 (13:23 +0100)] 
multipath/multipathd.service: add more Conditions

Do not start multipathd on rd.multipath=0 rd_NO_MULTIPATH and if there
is no multipath.conf.

10 years ago90multipath: install dracut-specific service file
Hannes Reinecke [Thu, 20 Nov 2014 14:56:45 +0000 (15:56 +0100)] 
90multipath: install dracut-specific service file

The multipathd package might install a service and a socket
file. Using the original service file from the installed
system without the socket file triggers a bug in systemd,
causing systemd to crash.

As we don't actually need to socket file in the initrd we
should be installing our own service file which does not
reference the socket file at all.

References: bnc#871610

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years ago90multipath: Load device_handler modules early during boot
Hannes Reinecke [Thu, 20 Nov 2014 14:56:44 +0000 (15:56 +0100)] 
90multipath: Load device_handler modules early during boot

The device handler modules need to be loaded early during boot
to avoid I/O errors being printed to the system log.

References: bnc#871617

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years ago90multipath: Install libgcc_s library
Hannes Reinecke [Thu, 20 Nov 2014 14:56:43 +0000 (15:56 +0100)] 
90multipath: Install libgcc_s library

multipathd is using pthreads, which require libgcc_s for
pthread_cancel to work. Without it multipathd might crash
with SIGABRT.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agodracut-functions.sh: check if dinfo is a function
Harald Hoyer [Mon, 24 Nov 2014 14:17:45 +0000 (15:17 +0100)] 
dracut-functions.sh: check if dinfo is a function

If "dinfo" is an executable, dracut-logger.sh would never be sourced.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1167082

10 years agoTODO: update
Harald Hoyer [Thu, 20 Nov 2014 15:22:51 +0000 (16:22 +0100)] 
TODO: update

10 years agomultipath: add "rd.multipath=0" option
Harald Hoyer [Thu, 20 Nov 2014 10:27:40 +0000 (11:27 +0100)] 
multipath: add "rd.multipath=0" option

10 years agobase: Set udevd log level via environment var to cover early startup.
Colin Guthrie [Mon, 10 Nov 2014 14:17:39 +0000 (14:17 +0000)] 
base: Set udevd log level via environment var to cover early startup.

udevd will these days default to 'info' logging and thus will
often print out the 'starting version nnn' message (which is
logged at level 'info'), thus spamming the console, even on
'quiet' boots.

We generally expect a udev log level of err (the old default
from pre-October 2013) so we should set that explicilty before
launching udevd in order to suppress the spurious 'info' message.

As we are using the environment variable approach anyway, we
may as well use this method rather than setting the log level
later via udevadm control commands when rd.udev.info/debug are
given on the kernel command line.

The enviroment variable has been around since udev 6b493a20e1
around 2005 so should be safe to use in all cases without version
checks.

10 years agosystemd: add 90-vconsole.rules
Harald Hoyer [Thu, 6 Nov 2014 09:44:33 +0000 (10:44 +0100)] 
systemd: add 90-vconsole.rules

run systemd-vconsole-setup if fbcon device shows up

10 years agodracut.sh: don't check gzip for --rsyncable, if pigz is available
Harald Hoyer [Wed, 29 Oct 2014 13:18:34 +0000 (14:18 +0100)] 
dracut.sh: don't check gzip for --rsyncable, if pigz is available

10 years ago40network: Copy the customize dhcp config
Minfei Huang [Mon, 27 Oct 2014 06:33:11 +0000 (14:33 +0800)] 
40network: Copy the customize dhcp config

It is not available to valid the customize dhcp config
/etc/dhclient.conf in the initram environment.

Dracut uses the default follow config to construct the initramfs.

request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, domain-search, host-name,
        root-path, interface-mtu;

Copy the customize config to make the config availably in the
initram environment.

Signed-off-by: Minfei Huang <mhuang@redhat.com>
10 years agokernel-modules: Drop explicit modules that are found with block_module_filter
Peter Robinson [Sun, 26 Oct 2014 11:48:15 +0000 (11:48 +0000)] 
kernel-modules: Drop explicit modules that are found with block_module_filter

The usb_storage, nvme and sdhci_acpi modules are discovered with the
block_module_filter so there's no need to explicitly list them here.

Signed-off-by: <pbrobinson@gmail.com>
10 years agoshutdown.sh: correct return code of _check_shutdown()
Harald Hoyer [Wed, 29 Oct 2014 12:51:15 +0000 (13:51 +0100)] 
shutdown.sh: correct return code of _check_shutdown()

fix commit b09faad8779f5579, which reversed the return code

10 years agoMerge pull request #30 from vtolstov/master
Harald Hoyer [Wed, 29 Oct 2014 12:53:40 +0000 (13:53 +0100)] 
Merge pull request #30 from vtolstov/master

fix gzip compress then it not supports rsyncable option

10 years agoMerge branch 'master' of github.com:haraldh/dracut 30/head
Vasiliy Tolstov [Wed, 29 Oct 2014 12:56:00 +0000 (15:56 +0300)] 
Merge branch 'master' of github.com:haraldh/dracut

10 years agoMerge pull request #28 from l1k/master
Harald Hoyer [Wed, 29 Oct 2014 12:42:25 +0000 (13:42 +0100)] 
Merge pull request #28 from l1k/master

shutdown/shutdown.sh: loop over shutdown hooks until all succeed

10 years agodracut-functions.sh: fixup for 34a1ec6 for non-local mode
Harald Hoyer [Wed, 29 Oct 2014 12:39:28 +0000 (13:39 +0100)] 
dracut-functions.sh: fixup for 34a1ec6 for non-local mode

10 years agoMerge pull request #29 from Quarky9/master
Harald Hoyer [Wed, 29 Oct 2014 12:37:15 +0000 (13:37 +0100)] 
Merge pull request #29 from Quarky9/master

Fix location of dracut-install for local mode

10 years agoFix location of dracut-install for local mode 29/head
Stefan Reimer [Wed, 29 Oct 2014 00:58:22 +0000 (17:58 -0700)] 
Fix location of dracut-install for local mode

10 years agoifcfg/write-ifcfg: only write DEVICE for non-kernel names
Harald Hoyer [Fri, 24 Oct 2014 13:47:24 +0000 (15:47 +0200)] 
ifcfg/write-ifcfg: only write DEVICE for non-kernel names

Rename an interface to the kernel namespace is not allowed, so don't add
DEVICE="<iface>", if HWADDR is given.

10 years agofix gzip compress then it not supports rsyncable option
Vasiliy Tolstov [Mon, 27 Oct 2014 10:42:06 +0000 (13:42 +0300)] 
fix gzip compress then it not supports rsyncable option

dracut fail to create initramfs when compressor gzip and
it not have rsyncable option

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
10 years agoNEWS: add 040 entry
Harald Hoyer [Fri, 24 Oct 2014 12:41:29 +0000 (14:41 +0200)] 
NEWS: add 040 entry

10 years agodracut: fixed module dependency handling 040
Harald Hoyer [Fri, 24 Oct 2014 11:19:58 +0000 (13:19 +0200)] 
dracut: fixed module dependency handling

Fail for "--modules" and "--force-add" dracut modules, if they or their
dependencies cannot be included.

10 years agotest: add "fs-lib" to dracut module list
Harald Hoyer [Fri, 24 Oct 2014 11:19:34 +0000 (13:19 +0200)] 
test: add "fs-lib" to dracut module list

10 years agoTEST-99-RPM: ignore more files
Harald Hoyer [Fri, 24 Oct 2014 11:18:35 +0000 (13:18 +0200)] 
TEST-99-RPM: ignore more files

10 years agoTEST-30-ISCSI: udev does not export path_id for iscsi
Harald Hoyer [Fri, 24 Oct 2014 11:17:30 +0000 (13:17 +0200)] 
TEST-30-ISCSI: udev does not export path_id for iscsi

therefore root=iscsi.... does not work anymore :-/

disabled for now

10 years agodmsquash-live: addresss the device via it's symlink
Harald Hoyer [Fri, 24 Oct 2014 09:16:26 +0000 (11:16 +0200)] 
dmsquash-live: addresss the device via it's symlink

Otherwise multipath parts might be passed, before it's assembled.

https://bugzilla.redhat.com/show_bug.cgi?id=1152948

10 years agoMakefile: removed dangling space 039
Harald Hoyer [Fri, 24 Oct 2014 07:37:19 +0000 (09:37 +0200)] 
Makefile: removed dangling space

10 years agoNEWS: update
Harald Hoyer [Fri, 24 Oct 2014 07:37:03 +0000 (09:37 +0200)] 
NEWS: update

10 years agoAdd hyperv-keyboard kernel module for Hyper-V Gen2 VM
Vaughan Cao [Thu, 9 Oct 2014 08:41:31 +0000 (16:41 +0800)] 
Add hyperv-keyboard kernel module for Hyper-V Gen2 VM

The synthetic keyboard of a Gen2 Linux VM doesn't work before the
hyperv_keyboard module is loaded. Without it, we can't cancel the media check
phase if boot with rd.live.check option.
Gen1 Linux VM doesn't have the same issue because the host emulates the legacy
i8042 keyboard for Gen1 VM.

Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
10 years agoTODO: update
Harald Hoyer [Fri, 24 Oct 2014 07:00:56 +0000 (09:00 +0200)] 
TODO: update

10 years agomdraid: also accept ID_FS_UUID for rd.md.uuid
Harald Hoyer [Thu, 23 Oct 2014 12:37:02 +0000 (14:37 +0200)] 
mdraid: also accept ID_FS_UUID for rd.md.uuid

As blkid also reports MD_UUID as ID_FS_UUID, although in slightly
different format, accept it also.

10 years agonetwork/net-lib.sh:is_persistent_ethernet_name() eth* is not
Harald Hoyer [Thu, 23 Oct 2014 12:34:33 +0000 (14:34 +0200)] 
network/net-lib.sh:is_persistent_ethernet_name() eth* is not

eth* is _not_ a persistent ethernet name... tsk, tsk, tsk

10 years agoshutdown/shutdown.sh: loop over shutdown hooks until all succeed 28/head
Lukas Wunner [Mon, 6 Oct 2014 11:43:58 +0000 (13:43 +0200)] 
shutdown/shutdown.sh: loop over shutdown hooks until all succeed

Up until now, _check_shutdown() returns true if at least one of
the shutdown hooks succeeded. Change this to only return true if
*all* succeeded. To prevent an infinite loop, introduce an upper
bound of 40 iterations.

10 years agodo 'ip route replace default' instead of 'add'
Will Woods [Thu, 28 Aug 2014 17:44:47 +0000 (13:44 -0400)] 
do 'ip route replace default' instead of 'add'

When you define the gateway for an interface, dracut sets it up with:

  ip route add default via $gw dev $netif

If a default route is already set (e.g. if you have multiple NICs), this
will fail with the message "RTNETLINK answers: File exists".

So, if your first NIC isn't usable as a default route

Using "ip route replace default" instead allows ifup/dhclient-script to
correctly change the default route to the new interface.

10 years agodracut-functions.sh: exit for missing --force-add or --add dracut modules
Harald Hoyer [Fri, 12 Sep 2014 08:19:28 +0000 (10:19 +0200)] 
dracut-functions.sh: exit for missing  --force-add or --add dracut modules

Better exit with fail early, so there is no surprise on reboot.

10 years agoqemu: install virtio_console kernel module
Harald Hoyer [Fri, 12 Sep 2014 08:03:59 +0000 (10:03 +0200)] 
qemu: install virtio_console kernel module

https://bugzilla.redhat.com/show_bug.cgi?id=1097999

10 years agocms/cmssetup.sh: understand DASD="none"
Harald Hoyer [Fri, 12 Sep 2014 07:59:03 +0000 (09:59 +0200)] 
cms/cmssetup.sh: understand DASD="none"

Treat DASD="none" as unset.

https://bugzilla.redhat.com/show_bug.cgi?id=1096979

10 years agocms/cmssetup.sh: fixed indention
Harald Hoyer [Fri, 12 Sep 2014 07:57:13 +0000 (09:57 +0200)] 
cms/cmssetup.sh: fixed indention

10 years agoifcfg/write-ifcfg.sh: bind bond and bridge interfaces to HW
Harald Hoyer [Fri, 12 Sep 2014 07:48:00 +0000 (09:48 +0200)] 
ifcfg/write-ifcfg.sh: bind bond and bridge interfaces to HW

either by s390 SUBCHANNELS or HWADDR, if the interface name is not
persistent.

Previously, this was bound unconditionally with HWADDR.

10 years agoadd "--loginstall <DIR>" and loginstall="<DIR>" options
Harald Hoyer [Thu, 11 Sep 2014 14:42:36 +0000 (16:42 +0200)] 
add "--loginstall <DIR>" and loginstall="<DIR>" options

loginstall specifies a directory, in which dracut-install records all
files, which were installed from the host system to the initramfs.

Use case is e.g. to create a list of packages to watch for updates, to
maybe trigger a recreation of the initramfs.

10 years agoSupport spaces in mount_nfs (#1109933)
Brian C. Lane [Thu, 21 Aug 2014 18:31:51 +0000 (11:31 -0700)] 
Support spaces in mount_nfs (#1109933)

nfs paths may contain spaces, make sure they are preserved when passed
to nfs_to_var and mount.

Related: rhbz#1109933

10 years agoreplaced ip=auto with ip=dhcp in the documentation
Harald Hoyer [Tue, 9 Sep 2014 11:35:13 +0000 (13:35 +0200)] 
replaced ip=auto with ip=dhcp in the documentation

https://bugzilla.redhat.com/show_bug.cgi?id=1086931

10 years agonetwork/net-lib.sh: do not enforce iscsi target name policy
Harald Hoyer [Tue, 9 Sep 2014 11:31:10 +0000 (13:31 +0200)] 
network/net-lib.sh: do not enforce iscsi target name policy

also untabified

10 years agodracut.cmdline.7: add iso-scan/filename docs
Harald Hoyer [Mon, 8 Sep 2014 14:18:06 +0000 (16:18 +0200)] 
dracut.cmdline.7: add iso-scan/filename docs

10 years agokernel-modules: added hid-lcpower
Harald Hoyer [Mon, 8 Sep 2014 11:25:53 +0000 (13:25 +0200)] 
kernel-modules: added hid-lcpower

10 years agodracut: Introduce --force-drivers parameter and force_drivers=+ config option
Thomas Renninger [Mon, 8 Sep 2014 10:34:48 +0000 (12:34 +0200)] 
dracut: Introduce --force-drivers parameter and force_drivers=+ config option

Which will not only add listed drivers, but also enforce that they are
tried to be loaded at early boot time.

This is needed if drivers which are not autoloaded (e.g. loop and a lot
others) shall get loaded via initramfs.

10 years agodracut.sh: change the PATH we search for our binaries
Harald Hoyer [Fri, 5 Sep 2014 14:42:59 +0000 (16:42 +0200)] 
dracut.sh: change the PATH we search for our binaries

/sbin /bin versions should be used over /usr/sbin and /usr/bin versions,
because non-usr is meant for early boot.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755271

10 years agossh-client: handle /etc/ssh/ssh_config
Harald Hoyer [Fri, 29 Aug 2014 12:06:57 +0000 (14:06 +0200)] 
ssh-client: handle /etc/ssh/ssh_config

- disable ProxyCommand
- install the GlobalKnownHostsFile

https://bugzilla.redhat.com/show_bug.cgi?id=1086778

10 years agoremove all vim and emacs code format comments
Harald Hoyer [Fri, 29 Aug 2014 11:23:38 +0000 (13:23 +0200)] 
remove all vim and emacs code format comments

10 years agoadd kate and emacs per directory config files
Harald Hoyer [Fri, 29 Aug 2014 11:33:40 +0000 (13:33 +0200)] 
add kate and emacs per directory config files

10 years agoinstall: add more error handling
Harald Hoyer [Fri, 29 Aug 2014 11:22:11 +0000 (13:22 +0200)] 
install: add more error handling

also limit local variable scopes
and remove bogus checks to negativity of unsigned vars

10 years agoskipcpio: limit the local var scope
Harald Hoyer [Fri, 29 Aug 2014 11:22:37 +0000 (13:22 +0200)] 
skipcpio: limit the local var scope

10 years agoMakefile: add more warnings to CFLAGS
Harald Hoyer [Fri, 29 Aug 2014 11:22:48 +0000 (13:22 +0200)] 
Makefile: add more warnings to CFLAGS

10 years agodracut-shutdown now executes the unpacking on ExecStop
Harald Hoyer [Thu, 21 Aug 2014 16:20:22 +0000 (18:20 +0200)] 
dracut-shutdown now executes the unpacking on ExecStop

To ensure that unpacking happens before any boot.automount is stopped,
let dracut-shutdown start as a sysinit.target service and unpack on
ExecStop.

10 years agodracut-lib.sh:dev_unit_name(): use systemd-escape, if available
Harald Hoyer [Thu, 21 Aug 2014 14:45:12 +0000 (16:45 +0200)] 
dracut-lib.sh:dev_unit_name(): use systemd-escape, if available

10 years agodracut-lib.sh:cancel_wait_for_dev() fixed double escape
Harald Hoyer [Thu, 21 Aug 2014 14:38:35 +0000 (16:38 +0200)] 
dracut-lib.sh:cancel_wait_for_dev() fixed double escape

10 years agodracut.sh: source dracut-version.sh earlier than dracut-functions.sh
Harald Hoyer [Wed, 20 Aug 2014 08:21:43 +0000 (10:21 +0200)] 
dracut.sh: source dracut-version.sh earlier than dracut-functions.sh

Otherwise dracut-logger.sh outputs an empty version on journal testing.

Aug 20 10:15:49 lenovo dracut[11144]: dracut-
Aug 20 10:15:49 lenovo dracut[11148]: Executing: /sbin/dracut

10 years agoCheck kernel config for early microcode and ACPI override
Harald Hoyer [Wed, 20 Aug 2014 08:13:55 +0000 (10:13 +0200)] 
Check kernel config for early microcode and ACPI override

Disable early microcode and ACPI override, if the kernel does not
support it.

10 years agourl-lib: check for ctorrent binary before adding the url handler
Harald Hoyer [Fri, 15 Aug 2014 15:35:11 +0000 (17:35 +0200)] 
url-lib: check for ctorrent binary before adding the url handler

10 years agoAdds bittorrent support for live images
Antony Messerli [Fri, 15 Aug 2014 14:44:11 +0000 (09:44 -0500)] 
Adds bittorrent support for live images

This patch adds bittorrent support to 45url-lib for those that might want
to retrieve the same live image for multiple systems at once without
saturating the network.

This patch requires ctorrent to be installed into initramfs.

Torrent kernel command line format:
root=live:torrent://example.com/liveboot.img.torrent

Start a tracker:
bttrack --bind <tracker_ip> --port 6969 --dfile dstate --reannounce_interval 60

Create the torrent:
ctorrent -t live_image -u http://<tracker_ip>:6969/announce -s live_image.torrent

Seed the initial torrent:
ctorrent live_image.torrent

Boot the live image.

10 years agoAdding support for read/write filesystem images
Major Hayden [Mon, 4 Aug 2014 15:27:36 +0000 (10:27 -0500)] 
Adding support for read/write filesystem images

A user can provide a filesystem image (rootfs.img) inside a compressed
tarball and that filesystem image will be mounted read/write.  This provides
some benefits over a device mapper snapshot overlay, especially when the
live system becomes full.  The boot command line simple needs
"rd.writable.fsimg" added to utilize this feature.

Additional documentation for this option as well as other live boot
options is included.

Signed-off-by: Major Hayden <major@mhtx.net>
10 years ago50-dracut.install: install pregenerated initrd
Harald Hoyer [Fri, 15 Aug 2014 12:58:34 +0000 (14:58 +0200)] 
50-dracut.install: install pregenerated initrd

If there is an already pregenerated initrd at the same location as the
kernel install that and do not generate a new one.

10 years ago50-dracut.install: fixed /proc/cmdline reading
Harald Hoyer [Fri, 15 Aug 2014 12:58:02 +0000 (14:58 +0200)] 
50-dracut.install: fixed /proc/cmdline reading

and beautified the code a bit

10 years ago51-dracut-rescue.install: fixed /proc/cmdline read
Harald Hoyer [Fri, 15 Aug 2014 12:56:42 +0000 (14:56 +0200)] 
51-dracut-rescue.install: fixed /proc/cmdline read

10 years agoMakefile:rpm: wget the lgpl license for Source1
Harald Hoyer [Fri, 15 Aug 2014 12:03:39 +0000 (14:03 +0200)] 
Makefile:rpm: wget the lgpl license for Source1

10 years agoGenerate reproducible initramfs images
Harald Hoyer [Thu, 3 Jul 2014 10:52:58 +0000 (12:52 +0200)] 
Generate reproducible initramfs images

With the same source of files, it should be possible to generate the
same image file with every dracut run.

To accomplish this, we modify the timestamps of the files we generate at
runtime, call gzip with "-n" and cpio with "--reproducible".

The cpio --reproducible option is not yet upstream though, so if you
feel like it should be then please nag at the cpio mailing list.
http://lists.gnu.org/archive/html/bug-cpio/2014-08/msg00000.html

10 years agodracut-functions.sh:get_persistent_dev(): use printf, instead of echo
Harald Hoyer [Fri, 15 Aug 2014 10:36:04 +0000 (12:36 +0200)] 
dracut-functions.sh:get_persistent_dev(): use printf, instead of echo

10 years agoIntroduce ARM specific modules needed by drm
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:39 +0000 (22:04 +0200)] 
Introduce ARM specific modules needed by drm

10 years agoCategorize needed modules on ARM
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:38 +0000 (22:04 +0200)] 
Categorize needed modules on ARM

10 years agoTest soc path for modalias needed by drm
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:37 +0000 (22:04 +0200)] 
Test soc path for modalias needed by drm

On ARM, both pci and soc path can be tested for drm.

With this patchset, that was missing in recent kernel,
the tegra_drm case is not needed anymore:
http://patchwork.ozlabs.org/patch/361765/
http://www.spinics.net/lists/linux-tegra/msg17948.html

10 years agodracut-functions: get_persistent_dev() fall back to the original name
WANG Chao [Mon, 28 Jul 2014 14:26:28 +0000 (22:26 +0800)] 
dracut-functions: get_persistent_dev() fall back to the original name

In case of raw disk/partition, ex. /dev/vda1, which doesn't contain any
filesystem on it. get_persistent_dev() would return empty. Now fix it to
return its original name, /dev/vda1 in above case. So that we don't have
to check its return string every time.

Signed-off-by: WANG Chao <chaowang@redhat.com>
10 years agodracut.usage.asc: also add a link for RHEL-7 storage admin guide
Harald Hoyer [Fri, 15 Aug 2014 09:50:31 +0000 (11:50 +0200)] 
dracut.usage.asc: also add a link for RHEL-7 storage admin guide

10 years agodracut.usage.asc: extend parameters for shutdown debug procedure
Harald Hoyer [Fri, 15 Aug 2014 09:44:26 +0000 (11:44 +0200)] 
dracut.usage.asc: extend parameters for shutdown debug procedure

10 years agoi18n: check for $i18n_install_all == "yes" rather than being set
Harald Hoyer [Thu, 14 Aug 2014 10:56:53 +0000 (12:56 +0200)] 
i18n: check for $i18n_install_all == "yes" rather than being set

i18n_install_all="no" does not have the expected effect without this
patch

10 years agobridging: update the ifcfg files generated for bridge slaves
Alex Harpin [Sat, 2 Aug 2014 19:08:25 +0000 (20:08 +0100)] 
bridging: update the ifcfg files generated for bridge slaves

Update the ifcfg files generated for bridge slaves so they reference
the bridge they are part of.  Related to early patch submitted as a
fix for Bug #1123552.

Bug #1123552 https://bugzilla.redhat.com/show_bug.cgi?id=1123552

10 years agotest: make testsuite work with the new systemd minimal root req
Harald Hoyer [Fri, 8 Aug 2014 11:34:04 +0000 (13:34 +0200)] 
test: make testsuite work with the new systemd minimal root req

systemd needs more directories to switch root

11 years agofixed bridge setup
Harald Hoyer [Fri, 1 Aug 2014 11:16:29 +0000 (13:16 +0200)] 
fixed bridge setup

renamed "ethnames" in bridge.info to "bridgeslaves"

fixed ifcfg generation

11 years agoTEST-20-NFS: add more commands and fix client root dirs
Harald Hoyer [Fri, 1 Aug 2014 11:15:44 +0000 (13:15 +0200)] 
TEST-20-NFS: add more commands and fix client root dirs

11 years agoTEST-20-NFS:client-init.sh: add shell on rd.shell
Harald Hoyer [Fri, 1 Aug 2014 11:15:05 +0000 (13:15 +0200)] 
TEST-20-NFS:client-init.sh: add shell on rd.shell

11 years agoNEWS: update
Harald Hoyer [Tue, 29 Jul 2014 09:04:09 +0000 (11:04 +0200)] 
NEWS: update

11 years agodracut.spec: fixed license file packaging
Harald Hoyer [Thu, 24 Jul 2014 12:47:14 +0000 (14:47 +0200)] 
dracut.spec: fixed license file packaging

11 years agodracut.sh: add DRACUT_PATH
Harald Hoyer [Tue, 22 Jul 2014 12:43:33 +0000 (14:43 +0200)] 
dracut.sh: add DRACUT_PATH

DRACUT_PATH can now be used to specify the PATH used by dracut
to search for binaries instead of the default
/usr/sbin:/sbin:/usr/bin:/bin

This should be set in the distribution config file
/usr/lib/dracut/dracut.conf.d/01-dist.conf

11 years agotest/TEST-30-ISCSI: add rd.shell to client root
Harald Hoyer [Tue, 22 Jul 2014 12:22:21 +0000 (14:22 +0200)] 
test/TEST-30-ISCSI: add rd.shell to client root

11 years agoadd "--install-optional" and install_optional_items
Harald Hoyer [Tue, 22 Jul 2014 12:09:06 +0000 (14:09 +0200)] 
add "--install-optional" and install_optional_items

11 years agonetwork: add rd.route parameter
Harald Hoyer [Tue, 22 Jul 2014 09:03:56 +0000 (11:03 +0200)] 
network: add rd.route parameter

11 years agobase/dracut-lib:pidof() turn off debugging
Harald Hoyer [Tue, 22 Jul 2014 09:51:08 +0000 (11:51 +0200)] 
base/dracut-lib:pidof() turn off debugging

11 years agoARM: update modules for ARM host only options
Peter Robinson [Sun, 20 Jul 2014 21:20:04 +0000 (22:20 +0100)] 
ARM: update modules for ARM host only options

11 years agodracut-functions.sh: fix inst*() functions for "-H" handling
Harald Hoyer [Mon, 21 Jul 2014 14:58:15 +0000 (16:58 +0200)] 
dracut-functions.sh: fix inst*() functions for "-H" handling

because some inst*() functions check the existance of the source files
and do not know about the "-H" option, some failed to install the
hostonly files.

11 years agoInstalling an OS with VLAN enabled to an ISCSI LUN (from ibft)
Praveen_Paladugu@Dell.com [Tue, 10 Jun 2014 15:35:16 +0000 (10:35 -0500)] 
Installing an OS with VLAN enabled to an ISCSI LUN (from ibft)

When installing OS to a VLAN enabled iscsi LUN (extracted from iBFT), "/tmp/net.{xyz}.has_ibft_config" is not being set properly.

Then anaconda installer requires 'BOOTPROTO="ibft"' populated in ifcfg of the vlan interface (ex: ibft0.20), for it to properly populate the kernel parameters post installation. The setting 'BOOTPROTO="ibft"' is populated by write-ifcfg.sh script only if the corresponding interface has a file /tmp/net.{xyz}.has_inft_config

To get around this issue, in ibft_to_cmdline() function in net-lib.sh file, I made the following changes to populate the has_ibft_config file for the vlan interface(ex: ibft0.20):

11 years agodracut-functions.sh: speed up ldconfig_paths()
Harald Hoyer [Tue, 8 Jul 2014 10:54:21 +0000 (12:54 +0200)] 
dracut-functions.sh: speed up ldconfig_paths()

11 years agoplymouth: also find the pkglibdir on debian
Harald Hoyer [Tue, 8 Jul 2014 09:50:51 +0000 (11:50 +0200)] 
plymouth: also find the pkglibdir on debian

11 years agodracut.sh: always copy prelink files in FIPS mode
Harald Hoyer [Tue, 8 Jul 2014 09:50:04 +0000 (11:50 +0200)] 
dracut.sh: always copy prelink files in FIPS mode

regardless of the the prelink={yes|no} switch

11 years agolvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules
Harald Hoyer [Thu, 3 Jul 2014 13:04:17 +0000 (15:04 +0200)] 
lvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules

fixup for 12819a579900b9691e2bfaf14e76fbb025851530

11 years agomodsign: do not hardcode path to keyctl
Alexander Tsoy [Mon, 31 Mar 2014 13:56:13 +0000 (17:56 +0400)] 
modsign: do not hardcode path to keyctl

https://bugs.gentoo.org/show_bug.cgi?id=506094

11 years agoNEWS: update for version 038 038
Harald Hoyer [Tue, 24 Jun 2014 16:09:07 +0000 (18:09 +0200)] 
NEWS: update for version 038