Harald Hoyer [Fri, 25 Mar 2011 12:07:39 +0000 (13:07 +0100)]
check for getarg() function before sourcing dracut-lib.sh
make use of "type getarg" to check, if we really need to source
dracut-lib.sh
Harald Hoyer [Fri, 25 Mar 2011 12:05:05 +0000 (13:05 +0100)]
dracut-functions: install udev rules
Install the udev rules to /lib, if the original rule is found there.
Harald Hoyer [Fri, 25 Mar 2011 12:04:16 +0000 (13:04 +0100)]
mkdir -m 0755
add the missing directory permissions to mkdir
Harald Hoyer [Fri, 25 Mar 2011 12:02:10 +0000 (13:02 +0100)]
network: install brctl optionally
Harald Hoyer [Fri, 25 Mar 2011 12:00:24 +0000 (13:00 +0100)]
move dracut version file to /lib/dracut/dracut-$version
Harald Hoyer [Fri, 25 Mar 2011 11:51:24 +0000 (12:51 +0100)]
dracut: use readlink for drautbasedir if "-l"
Harald Hoyer [Thu, 24 Mar 2011 10:31:49 +0000 (11:31 +0100)]
base/init: fixed /dev/.initramfs creation, for no "/run"
Harald Hoyer [Thu, 24 Mar 2011 10:30:23 +0000 (11:30 +0100)]
dracut: fixed directory handling, if image is created in "/"
Victor Lowther [Sat, 19 Mar 2011 15:48:19 +0000 (10:48 -0500)]
Update PKGBUILD to force backups of /etc/dracut.conf on install.
Victor Lowther [Sat, 19 Mar 2011 15:48:19 +0000 (10:48 -0500)]
Make compression do The Right Thing based on what is in the config files.
Victor Lowther [Sat, 19 Mar 2011 15:48:19 +0000 (10:48 -0500)]
Update and slightly refactor compression handling.
This adds a --compress= option along with xz support for 2.6.38 and above.
Michal Soltys [Sun, 20 Mar 2011 19:56:17 +0000 (20:56 +0100)]
dracut: fix arithemtic ${#VAR[@]} tests
This patch fixes a handful of ${#VAR[@]} tests, which can't be evaluated
as text expressions - the results is always true in such case, because
"0" is non-empty string.
Signed-off-by: Michal Soltys <soltys@ziu.info>
Harald Hoyer [Fri, 18 Mar 2011 16:19:26 +0000 (17:19 +0100)]
s#/dev/.run#/run#g
Move things where they really belong to.
Harald Hoyer [Thu, 17 Mar 2011 11:16:33 +0000 (12:16 +0100)]
dracut-logger: don't debug log "return 0" of dlog()
Harald Hoyer [Thu, 17 Mar 2011 11:13:44 +0000 (12:13 +0100)]
dracut-logger: turn off xtrace for log messages
Turn off xtrace for log messages and turn it back on, if $debug is set.
Harald Hoyer [Thu, 17 Mar 2011 11:12:48 +0000 (12:12 +0100)]
Makefile: split syntax check from target "check" to "syncheck"
also add syntax check for the bash scripts
Amadeusz Żołnowski [Wed, 16 Mar 2011 20:24:30 +0000 (21:24 +0100)]
dracut: script adjusted to new logging facility; -v changed
-v meaning has changed. Now it increases verbosity level. -q option has
been added, which decreases verbosity level. Both options might be
specified multiple times.
Amadeusz Żołnowski [Wed, 16 Mar 2011 20:24:29 +0000 (21:24 +0100)]
dracut-logger: make $maxloglvl public
$maxloglvl might be useful to check, if expensive informational
operation is going to be logged at all, before executing it.
Amadeusz Żołnowski [Wed, 16 Mar 2011 20:24:28 +0000 (21:24 +0100)]
dracut: install ld.so.conf* with dracut_install instead of cp
Harald Hoyer [Wed, 16 Mar 2011 20:24:57 +0000 (21:24 +0100)]
base/init: for udev > 166 we will create and use /dev/.run/udev/rules.d
See:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=
e68b4c2857942257268134cf7028b80f5a6a8103;hp=
98ab6a377285d5943563cfa397e8b350e43878ec
Harald Hoyer [Wed, 16 Mar 2011 20:17:26 +0000 (21:17 +0100)]
dracut: add "--check=crc32" to xz compression
As mentioned in kernel/Documentation/xz.txt:
...
Notes on compression options
Since the XZ Embedded supports only streams with no integrity check
or CRC32, make sure that you don't use some other integrity check
type when encoding files that are supposed to be decoded by the
kernel. With liblzma, you need to use either LZMA_CHECK_NONE or
LZMA_CHECK_CRC32 when encoding. With the xz command line tool, use
--check=none or --check=crc32.
Using CRC32 is strongly recommended unless there is some other layer
which will verify the integrity of the uncompressed data anyway.
...
Harald Hoyer [Wed, 16 Mar 2011 12:56:20 +0000 (13:56 +0100)]
Install dracut-logger and add it to the spec file
Amadeusz Żołnowski [Tue, 15 Mar 2011 20:16:37 +0000 (21:16 +0100)]
dracut-logger: convertion to kernel console log level for kmsg
Will Woods [Tue, 15 Mar 2011 21:43:11 +0000 (17:43 -0400)]
docs: "/conf/conf.d" should be "/etc/conf.d"
The code actually looks in /etc/conf.d; make the docs reflect that.
Harald Hoyer [Tue, 15 Mar 2011 19:51:58 +0000 (20:51 +0100)]
dracut-logger: wrap dlog to read stdin
Moved dlog() to _do_dlog() and created dlog() which reads from stdin if
no arguments (except the loglevel) are given.
This enables e.g.:
dwarn "This is a warning!"
echo "This is a warning!" | dwarn
Harald Hoyer [Tue, 15 Mar 2011 19:07:01 +0000 (20:07 +0100)]
dracut: initialize stdloglvl_l
Harald Hoyer [Tue, 15 Mar 2011 19:03:17 +0000 (20:03 +0100)]
dracut-logger: export _maxloglvl to skip multiple dlog_init()
Amadeusz Żołnowski [Tue, 15 Mar 2011 18:37:45 +0000 (19:37 +0100)]
dracut-logger: logging facility module for build- and boot-time
It's dash compatible to be used also at boot-time. For now it's included
by dracut-functions and replaces functions: dinfo(), dwarning() and
derror(). New options are introduced: -L|--stdlog, and -q|--quiet to
control stderr verbosity. Logging to file or syslog may be controlled by
options set in config file.
Note that code is not adjusted to the meaning of the new logging
functions, yet.
Doxygen formatted documentation (as a proposal, by the way) is included
in dracut-logger.
Harald Hoyer [Tue, 15 Mar 2011 18:49:58 +0000 (19:49 +0100)]
dracut: add --xz to compress with xz
Harald Hoyer [Tue, 15 Mar 2011 18:49:13 +0000 (19:49 +0100)]
lsinitrd: cope with xz and lzma compressed images
Harald Hoyer [Tue, 15 Mar 2011 14:41:04 +0000 (15:41 +0100)]
syslog: fixed warn() and dwarning() calls
Will Woods [Fri, 11 Mar 2011 21:29:09 +0000 (16:29 -0500)]
dmsquash-live: use 'rootfs.img' for rootfs image name
Every image gets handled the same way regardless of filesystem, so
let's use a filesystem-neutral name (rather than adding new
lines for every fstype anyone might want to use).
Andrey Borzenkov [Fri, 11 Mar 2011 10:44:02 +0000 (11:44 +0100)]
cryptoroot-ask: limit number of plymouth password requests
Set number ot retries to 5 to align with non-plymouth case.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Andrey Borzenkov [Thu, 10 Mar 2011 22:54:04 +0000 (01:54 +0300)]
cryptroot-ask: check that plymouth is running before use
Otherwise there is no way to skip pasword prompt. --has-active-vt
seems to correctly catch also the case when plymouthd is started
but splash is disabled.
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Harald Hoyer [Thu, 10 Mar 2011 20:34:06 +0000 (21:34 +0100)]
dracut.conf.d/fedora.conf.example: turn off fips again
use dracut.conf.d/fips.conf.example and install it to
/etc/dracut.conf.d/40-fips.conf to turn it on
Harald Hoyer [Thu, 10 Mar 2011 18:49:08 +0000 (19:49 +0100)]
TEST-50-MULTINIC: change /dev/.initramfs to /dev/.run/initramfs
Harald Hoyer [Thu, 10 Mar 2011 18:24:29 +0000 (19:24 +0100)]
dracut.spec: inc release to 009 prerelease
Harald Hoyer [Thu, 10 Mar 2011 18:23:21 +0000 (19:23 +0100)]
dracut.spec: remove insmodpost module
Harald Hoyer [Thu, 10 Mar 2011 18:22:40 +0000 (19:22 +0100)]
dracut.spec: add caps subpackage
Harald Hoyer [Thu, 10 Mar 2011 18:18:14 +0000 (19:18 +0100)]
prepare for future udev rules.d location
future udev will have rules.d in /dev/.run/udev/rules.d
Also remove compat symlinks, because we want to get rid of these files
anyway.
Harald Hoyer [Thu, 10 Mar 2011 18:17:23 +0000 (19:17 +0100)]
rootfs-block/mount-root.sh: rename flag file for fsck
/dev/.run/initramfs/fsck -> /dev/.run/initramfs/root-fsck
Harald Hoyer [Thu, 10 Mar 2011 18:16:29 +0000 (19:16 +0100)]
base/init: copy /init.log with rd.copystate=1
Harald Hoyer [Thu, 10 Mar 2011 16:01:10 +0000 (17:01 +0100)]
dracut: let some parameters be specified multiple times
These parameters can now be specified multiple times:
-a|--add
--add-drivers
-m|--modules
-o|--omit
-d|--drivers
--filesystems
-I|--install
--fwdir
-i|--include
Harald Hoyer [Thu, 10 Mar 2011 14:58:42 +0000 (15:58 +0100)]
dracut-functions: add pop() and push()
Harald Hoyer [Thu, 10 Mar 2011 14:55:02 +0000 (15:55 +0100)]
dracut: make options position independent
now this is possible:
$ dracut test.img -f
$ dracut test.img '' -f
Harald Hoyer [Wed, 9 Mar 2011 20:50:04 +0000 (21:50 +0100)]
dracut: make "-i, --include SOURCE TARGET" work for files, too
Harald Hoyer [Wed, 9 Mar 2011 17:10:54 +0000 (18:10 +0100)]
add caps module, to drop capabilities
This adds the following parameters:
rd.caps=1
turn the caps module on/off
rd.caps.initdrop=cap_sys_module,cap_sys_rawio
drop the specified comma seperated capabilities
rd.caps.disablemodules=1
turn off module loading
rd.caps.disablekexec=1
turn off the kexec functionality
If module loading is turned off, all modules have to be loaded in the
initramfs, which are used later on. This can be done with
"rd.driver.pre="
rd.driver.pre=autofs4,sunrpc,ipt_REJECT,nf_conntrack_ipv4,....
Because the kernel command line would get huge with all those drivers, I
recommend to make use of $initramfs/etc/cmdline.
So, all rd.caps.* and rd.driver.pre arguments are in caps.conf can be
copied to $initramfs/etc/cmdline with "-i caps.conf /etc/cmdline".
Also all modules have to be loaded in the initramfs via "--add-drivers".
The resulting initramfs creation would look like this:
--add-drivers "autofs4 sunrpc ipt_REJECT nf_conntrack_ipv4 \
nf_defrag_ipv4 iptable_filter ip_tables
ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack
ip6table_filter ip6_tables dm_mirror dm_region_hash dm_log uinput ppdev
parport_pc parport ipv6 sg 8139too 8139cp mii i2c_piix4 i2c_core ext3
jbd mbcache sd_mod crc_t10dif sr_mod cdrom ata_generic pata_acpi ata_piix
dm_mod" \
/boot/initramfs-caps.img
Vadim Kuznetsov [Thu, 10 Mar 2011 15:05:08 +0000 (16:05 +0100)]
mkinitrd: fix incorrect basename in mkinitrd usage message
Steps to Reproduce:
1. run mkinitrd -h
Actual results:
$ mkinitrd
usage: /usr/sbin [--version] [--help] [-v] [-f] [--preload <module>]
[--image-version] [--with=<module>]
<initrd-image> <kernel-version>
Expected results:
$ mkinitrd
usage: mkinitrd [--version] [--help] [-v] [-f] [--preload <module>]
[--image-version] [--with=<module>]
<initrd-image> <kernel-version>
Harald Hoyer [Thu, 10 Mar 2011 15:45:07 +0000 (16:45 +0100)]
kernel-modules/module-setup.sh: fix instmods $filesystems
especially in host_only mode, $filesystems was not honored
Harald Hoyer [Thu, 10 Mar 2011 11:54:28 +0000 (12:54 +0100)]
move insmodpost and blacklisting to 90kernel-modules
also correctly parse rd.driver.{blacklist,pre,post}
Harald Hoyer [Wed, 9 Mar 2011 20:51:16 +0000 (21:51 +0100)]
rd.driver.*: accept comma separated list
accept a comma seperated list of kernel drivers for
rd.driver.blacklist
rd.driver.pre
rd.driver.post
Harald Hoyer [Thu, 10 Mar 2011 10:11:32 +0000 (11:11 +0100)]
move all /dev/.initramfs to /dev/.run/initramfs
We want all "/var/run" information to live in /dev/.run, until the real
root is mounted.
Therefore we mount a tmpfs on /dev/.run, which can/will be bind/move mounted
on /var/run later on.
Amadeusz Żołnowski [Mon, 7 Mar 2011 16:16:54 +0000 (17:16 +0100)]
crypt: installing all crypto kernel modules instead of few selected
Will Woods [Tue, 8 Mar 2011 23:35:17 +0000 (18:35 -0500)]
Add support for in-initramfs live images with "root=live:/path/name.img"
This allows creation of initramfs images which contain a Live system.
The primary use for this is keeping very large initramfs-based systems
(e.g. anaconda, the Fedora installer) compressed in-memory, by using a
compressed filesystem image like squashfs or btrfs.
dmsquash-live-genrules.sh will initqueue dmsquash-live-root itself
(rather than making udev rules) if the given live "device" is actually
an existing, plain file.
parse-dmsquash-live.sh will only accept paths that end in ".img".
dmsquash-live-root will only handle images named "*squashfs.img",
"*ext3fs.img", or "*btrfs.img".
Will Woods [Tue, 8 Mar 2011 23:35:16 +0000 (18:35 -0500)]
Look for btrfs.img in dmsquash-live-root
Btrfs is an excellent option for the root fs image for live systems,
especially since it does its own transparent compression.
Will Woods [Tue, 8 Mar 2011 23:35:15 +0000 (18:35 -0500)]
Use 'btrfs' command rather than 'btrfsctl', and install btrfs driver
btrfsctl is being replaced by the btrfs command in the upstream
tools, so change accordingly. Also, if we're using the btrfs module
we should probably make sure the btrfs driver gets installed.
Will Woods [Tue, 8 Mar 2011 23:35:14 +0000 (18:35 -0500)]
Change EXT3FS to FSIMG
Change the EXT3FS variable to FSIMG, since we might want to use other
filesystems as our live root. Change comments to reflect this fact.
Will Woods [Tue, 8 Mar 2011 23:35:13 +0000 (18:35 -0500)]
Make dmsquash-live install the squashfs driver
dmsquash-live uses squashfs, so let's make sure the driver is installed
Will Woods [Tue, 8 Mar 2011 23:35:12 +0000 (18:35 -0500)]
inst_dir: fix handling of relative symlinks outside the current dir
inst_dir used the following to try to resolve a relative path:
[[ $target = ${target##*/} ]] && target="${file%/*}/$target"
inst_dir $target
This will only match if $target has no slashes, so something like
/usr/bin -> ../sbin would result in: inst_dir ../sbin, or
/usr/share -> local/share would result in: inst_dir local/share
which is not going to do the right thing.
Instead, we resolve any non-absolute link, like so:
[[ $target == ${target#/} ]] && target=$(dirname "$file")/$target
Thus /usr/bin -> ../sbin results in: inst_dir /usr/../sbin, and
/usr/share -> local/share results in: inst_dir /usr/local/share
which is what you would expect.
Will Woods [Tue, 8 Mar 2011 23:35:11 +0000 (18:35 -0500)]
Fix bash logic typo/buglet ([ condition ] & expression)
Amadeusz Żołnowski [Tue, 8 Mar 2011 21:36:38 +0000 (22:36 +0100)]
listing modules fixed
Modules were not listed because code relied only on deprecated 'install'
and 'installkernel' scripts. Check for 'module-setup.sh' script was
added.
Harald Hoyer [Mon, 7 Mar 2011 15:22:42 +0000 (16:22 +0100)]
test/*/test.sh: mv 01hard-off.sh 000-hard-off.sh
otherwise "die" will let the kernel panic
Amadeusz Żołnowski [Mon, 7 Mar 2011 12:48:02 +0000 (13:48 +0100)]
crypt-lib.sh: moved IFS=: from before 'read' to before 'while'
Some versions of dash don't behave as expected with code like this:
while IFS=: read a b c; do
blah
done
Thanks to Eric Mertens who identified the issue.
Harald Hoyer [Mon, 7 Mar 2011 12:35:20 +0000 (13:35 +0100)]
dracut-lib: improve die() logging
Harald Hoyer [Mon, 7 Mar 2011 12:34:56 +0000 (13:34 +0100)]
init: improve emergency logging
Harald Hoyer [Mon, 7 Mar 2011 12:31:27 +0000 (13:31 +0100)]
biosdevname: be verbose about biosdevname activation
Harald Hoyer [Mon, 7 Mar 2011 12:27:42 +0000 (13:27 +0100)]
fcoe: add EDD parsing
[backport of
70dfe537]
Harald Hoyer [Mon, 7 Mar 2011 12:23:01 +0000 (13:23 +0100)]
lvm: move emergency script from 00 to 90
[forward port of
cfb4747e]
Harald Hoyer [Mon, 7 Mar 2011 12:22:20 +0000 (13:22 +0100)]
crypt: fix emergency script generation
[ forward port of
e45a2dba]
Harald Hoyer [Mon, 7 Mar 2011 12:19:44 +0000 (13:19 +0100)]
network: add iBFT interface configuration
[forward port of
0828d4c3574693ae80c217229e1bba6948dc9509]
Harald Hoyer [Mon, 7 Mar 2011 12:15:09 +0000 (13:15 +0100)]
fips/fips.sh: do not load tcrypt with "noexit" parameter
"noexit=1" is the default mode for the tcrypt module now.
[forward ported
7e7308158c9149c33309c0d36a6e1126e690fb58]
Harald Hoyer [Mon, 7 Mar 2011 12:14:10 +0000 (13:14 +0100)]
fips/fips.sh: die(), if boot=<device> is not present or has wrong format
Harald Hoyer [Mon, 7 Mar 2011 12:13:00 +0000 (13:13 +0100)]
fips/fips.sh: only trigger udev, if device node of boot is not present
Harald Hoyer [Mon, 7 Mar 2011 12:11:25 +0000 (13:11 +0100)]
dracut.spec: add dracut logrotate
Harald Hoyer [Mon, 7 Mar 2011 12:09:25 +0000 (13:09 +0100)]
dracut-functions: fixed instmods() return value
The FIPS installkernel() relies on the instmods() return value. So only
return 0, if the module and its dependencies were actually installed
correctly.
Harald Hoyer [Mon, 7 Mar 2011 12:08:13 +0000 (13:08 +0100)]
dracut-functions: check for missing dracut modules
If the user explicitly specified "-a <modules>" or "-m <modules>",
warn him about possible missing modules.
Harald Hoyer [Mon, 7 Mar 2011 12:06:14 +0000 (13:06 +0100)]
dracut-functions: if .hmac files are present, install them also
For FIPS mode, we need all checksum files, called .<filename>.hmac. So,
if we find one, we install it.
Harald Hoyer [Mon, 7 Mar 2011 12:05:33 +0000 (13:05 +0100)]
dracut-functions: space
Harald Hoyer [Mon, 7 Mar 2011 12:01:18 +0000 (13:01 +0100)]
dracut-functions: more verbose logging message format
Harald Hoyer [Mon, 7 Mar 2011 11:59:29 +0000 (12:59 +0100)]
dracut-functions: check if directory of logfile is writable
Do not check, if the logfile itsself is writable. Check the directory
instead.
Harald Hoyer [Mon, 7 Mar 2011 11:54:47 +0000 (12:54 +0100)]
dracut: more verbose logging
Amadeusz Żołnowski [Wed, 2 Mar 2011 17:02:57 +0000 (18:02 +0100)]
Gentoo ebuild for LVM2 prior to 2.02.63-r1 doesn't install rules:
10-dm.rules
11-dm-lvm.rules
13-dm-disk.rules
95-dm-notify.rules
but provides only 64-device-mapper.rules combining more or less the
above rules files.
Amadeusz Żołnowski [Fri, 25 Feb 2011 08:59:34 +0000 (09:59 +0100)]
dracut-functions: fixed doubled $initdir prefix inst_library()
Commit
172d85b9c949b321771d63dbd5f06ecf19cf94f0 caused following error:
./dracut-functions: line 307: cd: /tmp/initramfs.mP7cPY/tmp/initramfs.mP7cPY/lib64: No such file or directory
Patch removes beginning $initdir for symlink case.
Harald Hoyer [Wed, 23 Feb 2011 15:34:23 +0000 (16:34 +0100)]
kernel-modules: add hid-cherry hid-logitech hid-microsoft kbd drivers
Harald Hoyer [Wed, 23 Feb 2011 12:35:46 +0000 (13:35 +0100)]
AUTHORS: update
Harald Hoyer [Wed, 23 Feb 2011 12:32:31 +0000 (13:32 +0100)]
dracut: do not use "derror", when we cannot find dracut-functions
Harald Hoyer [Wed, 23 Feb 2011 12:21:07 +0000 (13:21 +0100)]
dracut.spec: add /var/lib/initramfs
Harald Hoyer [Wed, 23 Feb 2011 08:41:08 +0000 (09:41 +0100)]
add missing editor format commands
Harald Hoyer [Wed, 23 Feb 2011 08:38:25 +0000 (09:38 +0100)]
add missing shebang
Harald Hoyer [Tue, 22 Feb 2011 17:40:40 +0000 (18:40 +0100)]
90lvm/lvm_scan.sh: removed garbage line
Harald Hoyer [Tue, 22 Feb 2011 16:45:11 +0000 (17:45 +0100)]
90lvm/lvm_scan.sh: fixed lvm version parsing
Harald Hoyer [Mon, 21 Feb 2011 08:23:27 +0000 (09:23 +0100)]
vconsole.font.unicode -> vconsole.unicode
Andrey Borzenkov [Sat, 19 Feb 2011 06:57:55 +0000 (09:57 +0300)]
fix
c0a82e271e2730159f042ee7d7fc4aca2e08d28a
Let inst_key_val usage agree with above patch :)
Also UNICODE is rather global console property, not font specific
(and if anything, is rather keyboard specific). Let it be just
vconsole.unicode
Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
Cc: initramfs@vger.kernel.org
Harald Hoyer [Fri, 18 Feb 2011 12:27:31 +0000 (13:27 +0100)]
init: set cdrom polling in kernel
and reset to -1 after we are done.
Harald Hoyer [Fri, 18 Feb 2011 12:11:53 +0000 (13:11 +0100)]
Makefile: do not dash syntax check module-setup.sh
module-setup.sh is bash syntax, so dash complains about bash contructs
Harald Hoyer [Fri, 18 Feb 2011 09:58:39 +0000 (10:58 +0100)]
lvm: use --sysinit, if lvm version >= v2.02.65
Harald Hoyer [Fri, 18 Feb 2011 08:44:47 +0000 (09:44 +0100)]
selinux: turn off selinux by default
In Fedora selinux is now handled by systemd. If you want to enable
selinux by default, just add it to your /etc/dracut.conf.d/01-dist.conf
with:
add_dracutmodules+=" selinux "
Harald Hoyer [Fri, 18 Feb 2011 08:37:11 +0000 (09:37 +0100)]
i18n: default to vconsole.font.unicode=1
Harald Hoyer [Fri, 18 Feb 2011 08:33:06 +0000 (09:33 +0100)]
i18n: fixed config file parsing in hostonly mode
I accidently removed some parenthesis.
Jon Ander Hernandez [Thu, 17 Feb 2011 09:35:27 +0000 (10:35 +0100)]
dracut-functions: fixed installing libraries which links to another directory
$ ldd `which bash` | grep ld
/lib64/ld-linux-x86-64.so.2 (0x00007fa1cc3ff000)
$ readlink -f /lib64/ld-linux-x86-64.so.2
/lib/ld-2.12.1.so
So inst_library /lib64/ld-linux-x86-64.so.2 was doing :
(cd "/tmp/initramfs.4uaeD9/lib64" && ln -s "/lib/ld-2.12.1.so"
"ld-linux-x86-64.so.2")
But, /tmp/initramfs.4uaeD9/lib64 -> /lib... :-S