platform/upstream/dracut.git
13 years agoversion 007 007
Harald Hoyer [Mon, 9 Aug 2010 13:57:55 +0000 (15:57 +0200)]
version 007

13 years agoNEWS: update for 007
Harald Hoyer [Mon, 9 Aug 2010 13:56:47 +0000 (15:56 +0200)]
NEWS: update for 007

13 years agodracut.spec: add dracut.kernel man page
Harald Hoyer [Mon, 9 Aug 2010 14:12:23 +0000 (16:12 +0200)]
dracut.spec: add dracut.kernel man page

13 years agodracut.spec: build require docbook tools
Harald Hoyer [Mon, 9 Aug 2010 14:10:54 +0000 (16:10 +0200)]
dracut.spec: build require docbook tools

13 years agodracut.spec: remove gentoo specific modules
Harald Hoyer [Mon, 9 Aug 2010 14:06:02 +0000 (16:06 +0200)]
dracut.spec: remove gentoo specific modules

13 years agodracut.spec s/bootchartd/bootchart
Harald Hoyer [Mon, 9 Aug 2010 14:03:20 +0000 (16:03 +0200)]
dracut.spec s/bootchartd/bootchart

13 years agodracut.spec: install fedora.conf.example
Harald Hoyer [Mon, 9 Aug 2010 14:01:18 +0000 (16:01 +0200)]
dracut.spec: install fedora.conf.example

13 years agocrypt: depend on dm
Harald Hoyer [Mon, 9 Aug 2010 11:24:08 +0000 (13:24 +0200)]
crypt: depend on dm

13 years agoadd module gensplash
Amadeusz Żołnowski [Mon, 9 Aug 2010 10:44:05 +0000 (12:44 +0200)]
add module gensplash

13 years ago10i18n: --quiet for loadkeys
Amadeusz Żołnowski [Sun, 8 Aug 2010 18:07:00 +0000 (20:07 +0200)]
10i18n: --quiet for loadkeys

13 years agoplymouth: load dm_crypt module
Harald Hoyer [Mon, 9 Aug 2010 11:09:13 +0000 (13:09 +0200)]
plymouth: load dm_crypt module

13 years agoMakefile: install dracut.kernel.7
Harald Hoyer [Fri, 6 Aug 2010 16:15:51 +0000 (18:15 +0200)]
Makefile: install dracut.kernel.7

13 years agoAUTHORS update
Harald Hoyer [Fri, 6 Aug 2010 14:06:06 +0000 (16:06 +0200)]
AUTHORS update

13 years agomanpage update
Harald Hoyer [Fri, 6 Aug 2010 13:38:52 +0000 (15:38 +0200)]
manpage update

13 years agomanpage update
Harald Hoyer [Fri, 6 Aug 2010 13:32:08 +0000 (15:32 +0200)]
manpage update

13 years agodracut: add --fstab, to ignore /proc/self/mountinfo
Harald Hoyer [Fri, 6 Aug 2010 11:54:34 +0000 (13:54 +0200)]
dracut: add --fstab, to ignore /proc/self/mountinfo

13 years agomanpage xml: changed DTD to docbook 4.5
Harald Hoyer [Fri, 6 Aug 2010 11:53:24 +0000 (13:53 +0200)]
manpage xml: changed DTD to docbook 4.5

13 years agodracut.kernel.7.xml: updated I18N and LUKS sections
Amadeusz Żołnowski [Fri, 6 Aug 2010 11:14:18 +0000 (13:14 +0200)]
dracut.kernel.7.xml: updated I18N and LUKS sections

10i18n/README: typo corrected

13 years agoMakefile: use $(MAKE) and $(RM) instead of make and rm -f
Amadeusz Żołnowski [Fri, 6 Aug 2010 09:49:50 +0000 (11:49 +0200)]
Makefile: use $(MAKE) and $(RM) instead of make and rm -f

See: http://www.gnu.org/software/make/manual/make.html#MAKE-Variable

13 years agofedora.conf moved back to fedora.conf.example
Harald Hoyer [Fri, 6 Aug 2010 09:46:55 +0000 (11:46 +0200)]
fedora.conf moved back to fedora.conf.example

13 years agomanpages: changed to UTF-8
Harald Hoyer [Fri, 6 Aug 2010 09:46:39 +0000 (11:46 +0200)]
manpages: changed to UTF-8

13 years agomanpages: add note, that host-only mode does not work in chroot()
Harald Hoyer [Thu, 5 Aug 2010 17:13:16 +0000 (19:13 +0200)]
manpages: add note, that host-only mode does not work in chroot()

13 years agodracut-functions: use /proc/self/mountinfo, instead of /proc/mounts
Harald Hoyer [Thu, 5 Aug 2010 16:59:51 +0000 (18:59 +0200)]
dracut-functions: use /proc/self/mountinfo, instead of /proc/mounts

1. it's easier to get the major:minor
2. it's more failsafe in a chroot() (rescue CD case)

13 years agoFix ahci detection in kernel 2.6.35
Andrey Borzenkov [Thu, 5 Aug 2010 16:06:57 +0000 (20:06 +0400)]
Fix ahci detection in kernel 2.6.35

Kernel 2.6.35 (may be, earlier) split ahci into libahci.ko and ahci.ko
and added ahci_platform.ko. As a result, drivers ahci and ahci_platform
do not contain any symbol that are checked for storage modules (it is
libahci.ko that references ata_scsi_ioctl now). So add additional
symbol ahci_init_controller; it seems this is expected to be called by
every driver based on libahci.ko.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
13 years agomanpage corrections
Harald Hoyer [Thu, 5 Aug 2010 16:12:38 +0000 (18:12 +0200)]
manpage corrections

13 years agodracut: let --fwdir be specified multiple times
Harald Hoyer [Thu, 5 Aug 2010 16:12:08 +0000 (18:12 +0200)]
dracut: let --fwdir be specified multiple times

13 years agodocumentation: moved to docbook man pages
Harald Hoyer [Thu, 5 Aug 2010 14:38:49 +0000 (16:38 +0200)]
documentation: moved to docbook man pages

13 years agofips: udev trigger with action=add
Harald Hoyer [Thu, 5 Aug 2010 06:47:17 +0000 (08:47 +0200)]
fips: udev trigger with action=add

13 years agoadd option --ignore-kernel-modules
Amadeusz Żołnowski [Wed, 4 Aug 2010 16:15:19 +0000 (18:15 +0200)]
add option --ignore-kernel-modules

Instead of adding modprobe and rmmod, create symlinks to /bin/true to
don't produce unnecessary errors.  Anyway it's a workaround for
following desired behaviour: modprobe tries to insert module only if
it's not built into kernel

13 years agoHarden check for used modules in hostonly mode
Andrey Borzenkov [Sun, 9 May 2010 18:23:58 +0000 (22:23 +0400)]
Harden check for used modules in hostonly mode

Make sure that we do not accept module name which is substring of
some other module name. This resulted in piix being mistakenly loaded
together with ata_piix. It completely broke DVD access here.

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
13 years ago10i18n: exit if console already initialized
Amadeusz Żołnowski [Mon, 26 Jul 2010 08:15:40 +0000 (10:15 +0200)]
10i18n: exit if console already initialized

13 years agorenamed 00bootchartd to 00bootchart
Harald Hoyer [Wed, 4 Aug 2010 16:27:48 +0000 (18:27 +0200)]
renamed 00bootchartd to 00bootchart

13 years agodracut-functions: fixed --omit
Harald Hoyer [Wed, 4 Aug 2010 15:46:54 +0000 (17:46 +0200)]
dracut-functions: fixed --omit

13 years agoinit: create /dev/.udev/rules.d with correct permissions
Harald Hoyer [Mon, 2 Aug 2010 13:58:48 +0000 (15:58 +0200)]
init: create /dev/.udev/rules.d with correct permissions

13 years agomkdir /dev/.udev/rules.d with mode 0755
Harald Hoyer [Mon, 2 Aug 2010 13:26:55 +0000 (15:26 +0200)]
mkdir /dev/.udev/rules.d with mode 0755

13 years agoNEWS: update for version 007
Harald Hoyer [Mon, 2 Aug 2010 12:54:09 +0000 (14:54 +0200)]
NEWS: update for version 007

13 years agomanpages: updated for /etc/dracut.conf.d
Harald Hoyer [Mon, 2 Aug 2010 12:53:47 +0000 (14:53 +0200)]
manpages: updated for /etc/dracut.conf.d

13 years agodracut-lib.sh: fixed getarg for nonexistent parameters
Harald Hoyer [Mon, 2 Aug 2010 12:16:10 +0000 (14:16 +0200)]
dracut-lib.sh: fixed getarg for nonexistent parameters

getarg returned an old "$val" for nonexistent parameters, because "val"
was not local

13 years agomdraid: try to start degraded arrays in various ways
Harald Hoyer [Mon, 2 Aug 2010 11:32:09 +0000 (13:32 +0200)]
mdraid: try to start degraded arrays in various ways

13 years agomdraid: remove mdadm.conf on rd_NO_MDADMCONF
Harald Hoyer [Mon, 2 Aug 2010 11:31:36 +0000 (13:31 +0200)]
mdraid: remove mdadm.conf on rd_NO_MDADMCONF

13 years agoTEST-12-RAID-DEG: do not execute rd_NO_MDADMCONF tests
Harald Hoyer [Mon, 2 Aug 2010 11:30:21 +0000 (13:30 +0200)]
TEST-12-RAID-DEG: do not execute rd_NO_MDADMCONF tests

13 years agoTEST-14-IMSM: fixed test
Harald Hoyer [Mon, 2 Aug 2010 09:58:48 +0000 (11:58 +0200)]
TEST-14-IMSM: fixed test

13 years agoTEST-13-ENC-RAID-LVM: prepend "luks-" to rd_LUKS_UUID argument
Harald Hoyer [Mon, 2 Aug 2010 09:36:05 +0000 (11:36 +0200)]
TEST-13-ENC-RAID-LVM: prepend "luks-" to rd_LUKS_UUID argument

13 years agomdraid: remove "local"
Harald Hoyer [Mon, 2 Aug 2010 09:35:25 +0000 (11:35 +0200)]
mdraid: remove "local"

13 years agoinit: set old umask before switch_root
Harald Hoyer [Mon, 2 Aug 2010 09:28:16 +0000 (11:28 +0200)]
init: set old umask before switch_root

13 years agocrypt: fix printf
Harald Hoyer [Mon, 2 Aug 2010 09:26:49 +0000 (11:26 +0200)]
crypt: fix printf

13 years agoTEST-12-RAID-DEG: double disk space
Harald Hoyer [Mon, 2 Aug 2010 09:13:06 +0000 (11:13 +0200)]
TEST-12-RAID-DEG: double disk space

13 years agoi18n: only source config files, if present
Harald Hoyer [Mon, 2 Aug 2010 09:12:42 +0000 (11:12 +0200)]
i18n: only source config files, if present

13 years agomdraid: --no-degraded not allowed with -I
Harald Hoyer [Mon, 2 Aug 2010 09:05:11 +0000 (11:05 +0200)]
mdraid: --no-degraded not allowed with -I

13 years agodracut-functions: fix check=255 logic and dependencies
Harald Hoyer [Mon, 2 Aug 2010 07:40:18 +0000 (09:40 +0200)]
dracut-functions: fix check=255 logic and dependencies

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