platform/upstream/dracut.git
13 years agoTEST: omit network module for non-network tests
Harald Hoyer [Mon, 2 Aug 2010 08:01:59 +0000 (10:01 +0200)]
TEST: omit network module for non-network tests

13 years agodracut: let some arguments add up
Harald Hoyer [Mon, 2 Aug 2010 07:59:36 +0000 (09:59 +0200)]
dracut: let some arguments add up

Specifying multiple -a, -o, -m, -d, --add-drivers, --filesystems now
adds up.

13 years agocrypt: loop until all non-busy crypt devs closed
Harald Hoyer [Mon, 2 Aug 2010 07:40:55 +0000 (09:40 +0200)]
crypt: loop until all non-busy crypt devs closed

13 years agodebug: add fsck to debug module
Harald Hoyer [Mon, 2 Aug 2010 07:39:49 +0000 (09:39 +0200)]
debug: add fsck to debug module

13 years agodracut: use hardlink, if available to safe some space
Harald Hoyer [Mon, 2 Aug 2010 07:39:13 +0000 (09:39 +0200)]
dracut: use hardlink, if available to safe some space

13 years agoversion pre 7
Harald Hoyer [Mon, 2 Aug 2010 06:58:08 +0000 (08:58 +0200)]
version pre 7

13 years agodracut.spec: redhat-i18n -> i18n
Harald Hoyer [Mon, 2 Aug 2010 06:20:50 +0000 (08:20 +0200)]
dracut.spec: redhat-i18n -> i18n

13 years agodracut.spec: add bootchartd
Harald Hoyer [Mon, 2 Aug 2010 06:21:28 +0000 (08:21 +0200)]
dracut.spec: add bootchartd

13 years agodracut.spec: add dracut.conf.d/fedora.conf
Harald Hoyer [Mon, 2 Aug 2010 06:19:36 +0000 (08:19 +0200)]
dracut.spec: add dracut.conf.d/fedora.conf

13 years agocrypt: strip "luks-" from rd_LUKS_UUID
Harald Hoyer [Thu, 29 Jul 2010 14:35:31 +0000 (16:35 +0200)]
crypt: strip "luks-" from rd_LUKS_UUID

13 years agoremoved redundant 64-lvm.rules install
Harald Hoyer [Wed, 28 Jul 2010 12:09:28 +0000 (14:09 +0200)]
removed redundant 64-lvm.rules install

Thanks to Amadeusz Żołnowski, who found it.

13 years agodracut-functions: fix "-m -a" handling
Harald Hoyer [Tue, 27 Jul 2010 09:51:27 +0000 (11:51 +0200)]
dracut-functions: fix "-m -a" handling

13 years agocrypt: remove emergency source of dracut-lib.sh
Harald Hoyer [Fri, 23 Jul 2010 10:26:42 +0000 (12:26 +0200)]
crypt: remove emergency source of dracut-lib.sh

13 years agofcoe: add sleeps to fcoe-up
Harald Hoyer [Fri, 23 Jul 2010 10:20:32 +0000 (12:20 +0200)]
fcoe: add sleeps to fcoe-up

13 years agolvm: wait for all rd_LVM_LV and rd_LVM_VG specified to appear
Harald Hoyer [Fri, 23 Jul 2010 10:16:11 +0000 (12:16 +0200)]
lvm: wait for all rd_LVM_LV and rd_LVM_VG specified to appear

13 years agomknod with mode and set umask for the rest
Harald Hoyer [Fri, 23 Jul 2010 09:17:19 +0000 (11:17 +0200)]
mknod with mode and set umask for the rest

14 years agobtrfs: add hostonly check
Harald Hoyer [Wed, 21 Jul 2010 12:25:42 +0000 (14:25 +0200)]
btrfs: add hostonly check

14 years ago10i18n: fixed i18n_vars parsing
Harald Hoyer [Wed, 21 Jul 2010 12:21:47 +0000 (14:21 +0200)]
10i18n: fixed i18n_vars parsing

gather_vars() should replace "every" occurance of the seperator

14 years agoselinux: fixed error handling for load-policy
Harald Hoyer [Wed, 21 Jul 2010 11:44:03 +0000 (13:44 +0200)]
selinux: fixed error handling for load-policy

{} | cmd opens a subshell for {}

14 years ago90crypt: keys on external devices support
Amadeusz Żołnowski [Tue, 13 Jul 2010 17:14:47 +0000 (19:14 +0200)]
90crypt: keys on external devices support

99base/dracut-lib.sh: new fun.: getoptcomma, foreach_uuid_until

14 years ago10i18n: README corrected
Amadeusz Żołnowski [Tue, 13 Jul 2010 08:13:55 +0000 (10:13 +0200)]
10i18n: README corrected

14 years agoREADME for 10i18n module
Amadeusz Żołnowski [Tue, 13 Jul 2010 07:58:47 +0000 (09:58 +0200)]
README for 10i18n module

14 years agodracut-functions: additional symlinks for library files
Amadeusz Żołnowski [Wed, 7 Jul 2010 14:39:09 +0000 (16:39 +0200)]
dracut-functions: additional symlinks for library files

rev_lib_symlinks: it's new
inst_library: creating additional symlinks for installed library files

14 years agobootchartd: do not enable bootchartd by default
Harald Hoyer [Wed, 21 Jul 2010 11:37:23 +0000 (13:37 +0200)]
bootchartd: do not enable bootchartd by default

users can always add "-a bootchartd" on image creation or add it
to /etc/dracut.conf.d/myconf.conf

14 years agobootchartd support
Frederic Crozat [Tue, 13 Jul 2010 23:50:55 +0000 (01:50 +0200)]
bootchartd support

add preliminary bootchard support

Signed-off-by: Maarten Vanraes <maarten.vanraes@gmail.com>
14 years agoconffile before confdir
Andrey Borzenkov [Tue, 13 Jul 2010 23:30:16 +0000 (01:30 +0200)]
conffile before confdir

conffile should be sourced before confdir

Signed-off-by: Maarten Vanraes <maarten.vanraes@gmail.com>
14 years agodracut: fixed stripping of kernel modules
Harald Hoyer [Tue, 20 Jul 2010 09:24:37 +0000 (11:24 +0200)]
dracut: fixed stripping of kernel modules

14 years agomultipath: install by default, but run only if wwids are present
Harald Hoyer [Tue, 20 Jul 2010 09:23:14 +0000 (11:23 +0200)]
multipath: install by default, but run only if wwids are present

14 years agodracut-lib.sh: getarg() returns the value of the last argument
Harald Hoyer [Mon, 12 Jul 2010 16:52:44 +0000 (18:52 +0200)]
dracut-lib.sh: getarg() returns the value of the last argument

a=0 a=1 a=2
$(getarg a) == "2"

14 years agocryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g
Harald Hoyer [Mon, 12 Jul 2010 16:47:08 +0000 (18:47 +0200)]
cryptroot-ask: s/getargs rd_NO_CRYPTTAB/getarg rd_NO_CRYPTTAB/g

14 years agodracut.conf.d/fedora.conf: created
Harald Hoyer [Mon, 12 Jul 2010 14:33:14 +0000 (16:33 +0200)]
dracut.conf.d/fedora.conf: created

14 years ago10i18n: fixed directory check logic
Harald Hoyer [Mon, 12 Jul 2010 14:32:32 +0000 (16:32 +0200)]
10i18n: fixed directory check logic

14 years agoTEST-13-ENC-RAID: add check for rd_LUKS_UUID argument parsing
Harald Hoyer [Mon, 12 Jul 2010 14:16:57 +0000 (16:16 +0200)]
TEST-13-ENC-RAID: add check for rd_LUKS_UUID argument parsing

14 years agocrypt: wait for all rd_LUKS_UUID disks to appear
Harald Hoyer [Mon, 12 Jul 2010 14:16:39 +0000 (16:16 +0200)]
crypt: wait for all rd_LUKS_UUID disks to appear

Also give a hint in emergency, if one disk is not found.

14 years agodracut-lib: export RDDEBUG
Harald Hoyer [Mon, 12 Jul 2010 13:33:44 +0000 (15:33 +0200)]
dracut-lib: export RDDEBUG

14 years agocrypt/parse-crypt.sh: fix end label for luks udev rules
Harald Hoyer [Mon, 12 Jul 2010 12:43:11 +0000 (14:43 +0200)]
crypt/parse-crypt.sh: fix end label for luks udev rules

14 years agocrypt: removed default 70-luks.rules
Harald Hoyer [Mon, 12 Jul 2010 12:33:43 +0000 (14:33 +0200)]
crypt: removed default 70-luks.rules

14 years agocrypt: assemble 70-luks.rules dynamically
Harald Hoyer [Mon, 12 Jul 2010 12:31:21 +0000 (14:31 +0200)]
crypt: assemble 70-luks.rules dynamically

14 years agodracut.spec: removed duplicate COPYING
Harald Hoyer [Fri, 9 Jul 2010 09:19:57 +0000 (11:19 +0200)]
dracut.spec: removed duplicate COPYING

14 years agoplymouth: depend on crypt, if cryptsetup exists
Harald Hoyer [Fri, 9 Jul 2010 09:19:32 +0000 (11:19 +0200)]
plymouth: depend on crypt, if cryptsetup exists

14 years agodmsquash-live: do not umount /dev/.initramfs/live for cdrom_id to work
Harald Hoyer [Fri, 9 Jul 2010 09:18:31 +0000 (11:18 +0200)]
dmsquash-live: do not umount /dev/.initramfs/live for cdrom_id to work

14 years agodm: load dm_mod if device-mapper not in /proc/misc
Harald Hoyer [Thu, 8 Jul 2010 14:18:09 +0000 (16:18 +0200)]
dm: load dm_mod if device-mapper not in /proc/misc

14 years agodmsquash-live: depend on dm module
Harald Hoyer [Thu, 8 Jul 2010 14:14:55 +0000 (16:14 +0200)]
dmsquash-live: depend on dm module

14 years agoi18n: now on by default and removed redhat-i18n
Harald Hoyer [Wed, 7 Jul 2010 09:21:38 +0000 (11:21 +0200)]
i18n: now on by default and removed redhat-i18n

14 years agofcoe: moved fcoeup to initqueue (udev timeouts)
Harald Hoyer [Wed, 7 Jul 2010 09:20:27 +0000 (11:20 +0200)]
fcoe: moved fcoeup to initqueue (udev timeouts)

14 years agodmsquash-live: mount live image at /dev/.initramfs/live
Harald Hoyer [Tue, 6 Jul 2010 08:16:25 +0000 (10:16 +0200)]
dmsquash-live: mount live image at /dev/.initramfs/live

14 years agodracut-functions: cosmetic changes to inst_rules
Amadeusz Żołnowski [Mon, 5 Jul 2010 09:25:21 +0000 (11:25 +0200)]
dracut-functions: cosmetic changes to inst_rules

14 years agodracut-functions: info which udev rules are skipped
Amadeusz Żołnowski [Mon, 5 Jul 2010 07:08:47 +0000 (09:08 +0200)]
dracut-functions: info which udev rules are skipped

I found it useful.  Maybe help others debugging.

14 years agodracut: info which module is sourced; updated dracut usage
Amadeusz Żołnowski [Mon, 5 Jul 2010 07:06:47 +0000 (09:06 +0200)]
dracut: info which module is sourced; updated dracut usage

Added description for --confdir.

14 years agoadd module i18n
Amadeusz Żołnowski [Thu, 1 Jul 2010 19:17:37 +0000 (21:17 +0200)]
add module i18n

dracut-functions: added functions: mksubdirs, inst_decompress,
                  inst_opt_decompress and print_vars

dracut.conf.d: added configuration files for Gentoo and RedHat/Fedora

14 years agodracut.spec: dracut-network needs vconfig for fcoe
Harald Hoyer [Fri, 25 Jun 2010 10:06:19 +0000 (12:06 +0200)]
dracut.spec: dracut-network needs vconfig for fcoe

14 years agodmsquash, resume: do not name the /dev/.udev/rules like the /etc ones
Harald Hoyer [Fri, 25 Jun 2010 09:42:51 +0000 (11:42 +0200)]
dmsquash, resume: do not name the /dev/.udev/rules like the /etc ones

14 years agodracut-functions: use LC_ALL=C rather than LANG=C
Harald Hoyer [Tue, 22 Jun 2010 09:59:49 +0000 (11:59 +0200)]
dracut-functions: use LC_ALL=C rather than LANG=C

14 years agodracut-functions: set LANG=C for ldd output parsing
Harald Hoyer [Tue, 22 Jun 2010 08:32:25 +0000 (10:32 +0200)]
dracut-functions: set LANG=C for ldd output parsing

14 years agoWrite rules for symlinks to /dev/.udev/rules.d for later usage
Harald Hoyer [Tue, 22 Jun 2010 08:30:39 +0000 (10:30 +0200)]
Write rules for symlinks to /dev/.udev/rules.d for later usage

We want some symlinks to persist in the real root, so we write them to
/dev/.udev/rules.d, that they survive a retrigger.

14 years agocrypt: add fpu kernel module
Harald Hoyer [Mon, 21 Jun 2010 18:47:01 +0000 (20:47 +0200)]
crypt: add fpu kernel module

14 years agofips: fixes copy&paste error for "check"
Harald Hoyer [Fri, 18 Jun 2010 10:52:52 +0000 (12:52 +0200)]
fips: fixes copy&paste error for "check"

14 years agodracut.8: changed IPv6 addresses to the documentation address space
Harald Hoyer [Thu, 17 Jun 2010 15:14:09 +0000 (17:14 +0200)]
dracut.8: changed IPv6 addresses to the documentation address space

14 years agodracut.8: add note about putting IPv6 addresses in brackets
Harald Hoyer [Thu, 17 Jun 2010 15:03:38 +0000 (17:03 +0200)]
dracut.8: add note about putting IPv6 addresses in brackets

14 years agofixed "ip=dhcp6"
Harald Hoyer [Thu, 17 Jun 2010 14:25:28 +0000 (16:25 +0200)]
fixed "ip=dhcp6"

14 years agoVersion 006 006
Harald Hoyer [Thu, 17 Jun 2010 08:42:41 +0000 (10:42 +0200)]
Version 006

14 years agodracut.spec: moved znet to dracut-network
Harald Hoyer [Thu, 17 Jun 2010 08:45:39 +0000 (10:45 +0200)]
dracut.spec: moved znet to dracut-network

14 years agodracut, dracut-functions: better vercmp
Amadeusz Żołnowski [Fri, 11 Jun 2010 19:10:34 +0000 (21:10 +0200)]
dracut, dracut-functions: better vercmp

credits go to V. Lowther

14 years agonetwork: strip pxelinux hardware type field from BOOTIF
Harald Hoyer [Fri, 11 Jun 2010 11:16:36 +0000 (13:16 +0200)]
network: strip pxelinux hardware type field from BOOTIF

14 years agocrypt: install more aes modules
Harald Hoyer [Fri, 11 Jun 2010 10:52:02 +0000 (12:52 +0200)]
crypt: install more aes modules

14 years agonetwork: depend on ifcfg, if /etc/sysconfig/network-scripts exist
Harald Hoyer [Thu, 10 Jun 2010 11:52:31 +0000 (13:52 +0200)]
network: depend on ifcfg, if /etc/sysconfig/network-scripts exist

14 years agolvm: install lvm mirror and snaphot libs
Harald Hoyer [Thu, 10 Jun 2010 11:51:40 +0000 (13:51 +0200)]
lvm: install lvm mirror and snaphot libs

14 years agodracut-functions: fun. vercmp optimized; credits go to Victor Lowther
Amadeusz Żołnowski [Wed, 9 Jun 2010 15:29:36 +0000 (17:29 +0200)]
dracut-functions: fun. vercmp optimized; credits go to Victor Lowther

14 years agoiscsi: add support for multiple netroot=iscsi:
Harald Hoyer [Wed, 9 Jun 2010 14:41:10 +0000 (16:41 +0200)]
iscsi: add support for multiple netroot=iscsi:

The whole netdisk concept should be reviewed though!

14 years agoplymouth/cryptroot-ask.sh: beautify password prompt
Harald Hoyer [Wed, 9 Jun 2010 09:56:06 +0000 (11:56 +0200)]
plymouth/cryptroot-ask.sh: beautify password prompt

14 years agoselinux: move selinux to a separate module
Harald Hoyer [Wed, 9 Jun 2010 09:22:22 +0000 (11:22 +0200)]
selinux: move selinux to a separate module

14 years ago90crypt: 'crypto_LUKS' identifier corrected
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:40:31 +0000 (10:40 +0200)]
90crypt: 'crypto_LUKS' identifier corrected

14 years ago95uswsusp: Gentoo path for 'resume' binary
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:38:36 +0000 (10:38 +0200)]
95uswsusp: Gentoo path for 'resume' binary

14 years agoSupport old version of module-init-tools
Amadeusz Żołnowski [Wed, 9 Jun 2010 08:36:05 +0000 (10:36 +0200)]
Support old version of module-init-tools

modprobe included in version prior to 3.7 of module-init-tools doesn't
have -d | --dirname option which allows to give a prefix other than
'/' for kernel modules path. Dracut assumes existence of that
option and uses it even with default '/'. The patch passes -d option
only if it's different from default and also checks module-init-tools
version if user changes the prefix by --kmoddir Dracut option.

14 years agoHave cryptroot-ask load dm_crypt if needed.
Victor Lowther [Wed, 2 Jun 2010 12:07:55 +0000 (07:07 -0500)]
Have cryptroot-ask load dm_crypt if needed.

14 years agoJust look for cryptroot instead of /sbin/cryptroot
Victor Lowther [Wed, 2 Jun 2010 12:07:55 +0000 (07:07 -0500)]
Just look for cryptroot instead of /sbin/cryptroot

We know what the path is and what it contains in the initrd, and
not everyone puts cryptroot in /sbin

14 years agoArch handles loading modules from udev in a somewhat customized manner.
Victor Lowther [Wed, 2 Jun 2010 12:07:56 +0000 (07:07 -0500)]
Arch handles loading modules from udev in a somewhat customized manner.

14 years agomultipath: remove multipath udev rules, if no multipath.conf was found
Harald Hoyer [Thu, 27 May 2010 12:34:02 +0000 (14:34 +0200)]
multipath: remove multipath udev rules, if no multipath.conf was found

14 years agomultipath: simplify and install wwids (rhbz 595719)
Harald Hoyer [Wed, 26 May 2010 15:44:07 +0000 (17:44 +0200)]
multipath: simplify and install wwids (rhbz 595719)

install /etc/multipath/wwids

With the proper 40-multipath.rules and new udev device-mapper mechanism,
we don't need the multipath scan anymore.

rhbz#595719

14 years agodracut-functions: beautified warnings
Harald Hoyer [Wed, 26 May 2010 15:43:18 +0000 (17:43 +0200)]
dracut-functions: beautified warnings

14 years agodracut-functions: check if specific dracut module is missing
Harald Hoyer [Wed, 26 May 2010 15:42:57 +0000 (17:42 +0200)]
dracut-functions: check if specific dracut module is missing

14 years agoselinux-loadpolicy.sh: exit for "selinux=0"
Harald Hoyer [Wed, 19 May 2010 08:01:33 +0000 (10:01 +0200)]
selinux-loadpolicy.sh: exit for "selinux=0"

14 years agoMakefile: make more clean
Harald Hoyer [Wed, 19 May 2010 07:55:48 +0000 (09:55 +0200)]
Makefile: make more clean

14 years agochmod 0755 *.sh
Harald Hoyer [Wed, 19 May 2010 07:40:48 +0000 (09:40 +0200)]
chmod 0755 *.sh

14 years ago95znet: removed 55-ccw.rules and ccw_init
Harald Hoyer [Wed, 19 May 2010 07:39:07 +0000 (09:39 +0200)]
95znet: removed 55-ccw.rules and ccw_init

14 years agoget rid of rdnetdebug
Harald Hoyer [Wed, 19 May 2010 07:37:20 +0000 (09:37 +0200)]
get rid of rdnetdebug

set PS4 and output to /dev/initlog.pipe

14 years ago95fcoe/fcoe-up: wait_for_if_up
Harald Hoyer [Wed, 19 May 2010 07:36:11 +0000 (09:36 +0200)]
95fcoe/fcoe-up: wait_for_if_up

14 years agoTEST-50-MULTINIC: do not provide a cdrom in the testcase
Harald Hoyer [Wed, 19 May 2010 07:35:01 +0000 (09:35 +0200)]
TEST-50-MULTINIC: do not provide a cdrom in the testcase

14 years ago40network/ifup: be more verbose
Harald Hoyer [Wed, 19 May 2010 07:33:58 +0000 (09:33 +0200)]
40network/ifup: be more verbose

14 years ago40network/dhclient-script: be more verbose
Harald Hoyer [Wed, 19 May 2010 07:33:20 +0000 (09:33 +0200)]
40network/dhclient-script: be more verbose

14 years ago40network/parse-ip-opts.sh: add "ip=auto6" to valid options
Harald Hoyer [Wed, 19 May 2010 06:28:19 +0000 (08:28 +0200)]
40network/parse-ip-opts.sh: add "ip=auto6" to valid options

14 years ago90mdraid dracut-functions: fix md raid hostonly detection
Andy Lutomirski [Wed, 19 May 2010 06:13:12 +0000 (08:13 +0200)]
90mdraid dracut-functions: fix md raid hostonly detection

check_block_and_slaves looks at slaves but not parents.

14 years agodracut.spec: clean up the requirements
Harald Hoyer [Fri, 7 May 2010 09:04:23 +0000 (11:04 +0200)]
dracut.spec: clean up the requirements

14 years agodracut: get rid of the "file" command
Harald Hoyer [Fri, 7 May 2010 09:03:55 +0000 (11:03 +0200)]
dracut: get rid of the "file" command

14 years agoplymouth/plymouth-populate-initrd: get rid of awk
Harald Hoyer [Fri, 7 May 2010 09:02:31 +0000 (11:02 +0200)]
plymouth/plymouth-populate-initrd: get rid of awk

14 years agouse "grep" directly without "nm" to drop binutils requirement
Harald Hoyer [Fri, 7 May 2010 08:44:30 +0000 (10:44 +0200)]
use "grep" directly without "nm" to drop binutils requirement

14 years agodracut.spec: remove elfutils-libelf requirement
Harald Hoyer [Fri, 7 May 2010 08:16:03 +0000 (10:16 +0200)]
dracut.spec: remove elfutils-libelf requirement

14 years agoplymouth: only display luksname and device for multiple luks
Harald Hoyer [Thu, 6 May 2010 15:31:46 +0000 (17:31 +0200)]
plymouth: only display luksname and device for multiple luks

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

14 years agodracut.8: fix rd_LVM_LV description
Alexander Todorov [Thu, 6 May 2010 14:58:51 +0000 (16:58 +0200)]
dracut.8: fix rd_LVM_LV description

14 years agofcoe: add /sbin/vconfig and the 8021q kernel module
Harald Hoyer [Thu, 6 May 2010 14:23:46 +0000 (16:23 +0200)]
fcoe: add /sbin/vconfig and the 8021q kernel module