]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
15 years agodmsquash: add nasty hack for cdroms
Harald Hoyer [Tue, 12 Jan 2010 14:08:54 +0000 (15:08 +0100)] 
dmsquash: add nasty hack for cdroms

Some CDROMs do not generate a label symlink and have to be read from.

15 years agocryptroot-ask.sh: fixed luks handling
Harald Hoyer [Tue, 12 Jan 2010 13:55:09 +0000 (14:55 +0100)] 
cryptroot-ask.sh: fixed luks handling

see https://bugzilla.redhat.com/show_bug.cgi?id=530898#c16

15 years agoadd man pages for dracut-catimages and dracut-gencmdline
Harald Hoyer [Tue, 12 Jan 2010 13:51:17 +0000 (14:51 +0100)] 
add man pages for dracut-catimages and dracut-gencmdline

15 years agodracut-lib: prevent double log output
Harald Hoyer [Tue, 12 Jan 2010 09:37:27 +0000 (10:37 +0100)] 
dracut-lib: prevent double log output

15 years agomultipath: check for existance before trying to install
Harald Hoyer [Tue, 12 Jan 2010 09:31:51 +0000 (10:31 +0100)] 
multipath: check for existance before trying to install

15 years agoplymouth-pretrigger: force initializing of console (bug #526570)
Harald Hoyer [Mon, 21 Dec 2009 14:13:54 +0000 (15:13 +0100)] 
plymouth-pretrigger: force initializing of console (bug #526570)

15 years agocryptroot-ask.sh: s/==/=/g (bug #542081)
Harald Hoyer [Mon, 21 Dec 2009 14:12:54 +0000 (15:12 +0100)] 
cryptroot-ask.sh:  s/==/=/g (bug #542081)

15 years agomultipath: supress warnings, if multipath not installed on system
Harald Hoyer [Mon, 30 Nov 2009 14:24:47 +0000 (15:24 +0100)] 
multipath: supress warnings, if multipath not installed on system

15 years ago.mailmap: updated
Harald Hoyer [Fri, 27 Nov 2009 14:38:37 +0000 (15:38 +0100)] 
.mailmap: updated

15 years agoAUTHORS: updated
Harald Hoyer [Fri, 27 Nov 2009 14:38:21 +0000 (15:38 +0100)] 
AUTHORS: updated

15 years agoversion 003 003
Harald Hoyer [Fri, 27 Nov 2009 14:25:46 +0000 (15:25 +0100)] 
version 003

15 years agodebian: s/dracut-net/dracut-network/g
Harald Hoyer [Fri, 27 Nov 2009 14:03:34 +0000 (15:03 +0100)] 
debian: s/dracut-net/dracut-network/g

15 years agoDebian support: Add necessary control files for packaging
Philippe Seewer [Fri, 27 Nov 2009 13:46:31 +0000 (14:46 +0100)] 
Debian support: Add necessary control files for packaging

This patch adds all necessary files to build dracut debian packages.

- I've split dracut into two parts: The dracut package for booting from block
  devices and dracut-net for netroot.
- I've deliberately left out all redhat specific modules, they do not make any
  sense on debian at all

15 years agoDebian support: Add dracut-update-initramfs
Philippe Seewer [Fri, 27 Nov 2009 13:46:30 +0000 (14:46 +0100)] 
Debian support: Add dracut-update-initramfs

This script is necessary to integrate dracut into the initramfs-
infrastructure of debian.

The file itself is just a copy from initramfs-tools' update-initramfs,
with a few lines modified to run dracut instead of mkinitramfs.

15 years agoMakefile: gitrpm: cleanup on failed rpmbuild
Harald Hoyer [Fri, 27 Nov 2009 13:57:37 +0000 (14:57 +0100)] 
Makefile: gitrpm: cleanup on failed rpmbuild

15 years agodracut.spec: removed ubuntu module
Harald Hoyer [Fri, 27 Nov 2009 13:55:54 +0000 (14:55 +0100)] 
dracut.spec: removed ubuntu module

15 years agofips: do not activate fips module by default
Harald Hoyer [Fri, 27 Nov 2009 13:55:02 +0000 (14:55 +0100)] 
fips: do not activate fips module by default

15 years agofips: more shebang
Harald Hoyer [Fri, 27 Nov 2009 13:32:28 +0000 (14:32 +0100)] 
fips: more shebang

15 years agofips: add shebang to fips.sh
Harald Hoyer [Fri, 27 Nov 2009 13:31:05 +0000 (14:31 +0100)] 
fips: add shebang to fips.sh

15 years agochanged hostonly documentation and handling
Harald Hoyer [Fri, 27 Nov 2009 13:29:32 +0000 (14:29 +0100)] 
changed hostonly documentation and handling

15 years agodracut.spec: add comment how to get source for a git snapshot
Harald Hoyer [Fri, 27 Nov 2009 13:17:53 +0000 (14:17 +0100)] 
dracut.spec: add comment how to get source for a git snapshot

15 years agoRemove Ubuntu 8.10 support
Philippe Seewer [Fri, 27 Nov 2009 12:47:28 +0000 (13:47 +0100)] 
Remove Ubuntu 8.10 support

This is outdated and no longer needed

15 years agoAll module scripts should have a shebang
Philippe Seewer [Fri, 27 Nov 2009 10:57:14 +0000 (11:57 +0100)] 
All module scripts should have a shebang

15 years agoFix manpage display errors
Philippe Seewer [Fri, 27 Nov 2009 10:57:16 +0000 (11:57 +0100)] 
Fix manpage display errors

Some lines in dracut's manpage are just too long for justified
display on 80c terminals. These small corrections fix this. In addition
man --warnings does not complain anymore about anything at all.

15 years agologinit: Fix shebang
Philippe Seewer [Fri, 27 Nov 2009 10:57:15 +0000 (11:57 +0100)] 
loginit: Fix shebang

15 years agoinitqueue: Remove trailing ;
Philippe Seewer [Fri, 27 Nov 2009 10:57:11 +0000 (11:57 +0100)] 
initqueue: Remove trailing ;

dash -n complains about the trailing ';' and somehow I think this
really isn't needed.

15 years agoModule scripts should be executable
Philippe Seewer [Fri, 27 Nov 2009 10:57:13 +0000 (11:57 +0100)] 
Module scripts should be executable

15 years agosyslog-genrules.sh: Shebang should be /bin/sh not /bin/dash
Philippe Seewer [Fri, 27 Nov 2009 10:57:12 +0000 (11:57 +0100)] 
syslog-genrules.sh: Shebang should be /bin/sh not /bin/dash

15 years agoadd dracut.conf man page
Harald Hoyer [Fri, 27 Nov 2009 09:53:28 +0000 (10:53 +0100)] 
add dracut.conf man page

15 years agodracut: fix no_kernel typo
Harald Hoyer [Fri, 27 Nov 2009 09:52:55 +0000 (10:52 +0100)] 
dracut: fix no_kernel typo

15 years agotest: set PATH
Harald Hoyer [Thu, 26 Nov 2009 18:12:20 +0000 (19:12 +0100)] 
test: set PATH

15 years agorootfs-block/mount-root: remount root with /etc/fstab filesystem options
Harald Hoyer [Thu, 26 Nov 2009 10:15:59 +0000 (11:15 +0100)] 
rootfs-block/mount-root: remount root with /etc/fstab filesystem options

15 years agomultipath: corrected initqueue parameter
Harald Hoyer [Thu, 26 Nov 2009 10:38:00 +0000 (11:38 +0100)] 
multipath: corrected initqueue parameter

15 years agodm: install dmsetup
Harald Hoyer [Thu, 26 Nov 2009 10:02:34 +0000 (11:02 +0100)] 
dm: install dmsetup

15 years agodracut-functions: inst_simple(): do not bail out if target is a dir and exists
Harald Hoyer [Thu, 26 Nov 2009 09:53:09 +0000 (10:53 +0100)] 
dracut-functions: inst_simple(): do not bail out if target is a dir and exists

15 years agonfs: add rd_NFS_DOMAIN parameter to set the NFSv4 domain name
Harald Hoyer [Thu, 26 Nov 2009 09:38:40 +0000 (10:38 +0100)] 
nfs: add rd_NFS_DOMAIN parameter to set the NFSv4 domain name

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

15 years agonfs: install passwd entries for nobody and nfsnobody
Harald Hoyer [Thu, 26 Nov 2009 09:38:06 +0000 (10:38 +0100)] 
nfs: install passwd entries for nobody and nfsnobody

15 years agolvm/dmraid: make LIBDIR depend on the binary
Harald Hoyer [Wed, 25 Nov 2009 18:59:30 +0000 (19:59 +0100)] 
lvm/dmraid: make LIBDIR depend on the binary

15 years agoWildcards need dracut_install
Yanko Kaneti [Tue, 24 Nov 2009 21:50:16 +0000 (23:50 +0200)] 
Wildcards need dracut_install

15 years agolvm: scan without monitor
Harald Hoyer [Wed, 25 Nov 2009 18:51:28 +0000 (19:51 +0100)] 
lvm: scan without monitor

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

15 years agoHandle modules with hyphens in their names properly.
Peter Jones [Mon, 23 Nov 2009 15:15:56 +0000 (10:15 -0500)] 
Handle modules with hyphens in their names properly.

If a module has a hyphen in its name, it will show up as an underscore
in /proc/modules.  Because of this, when we're testing /proc/modules,
we have to munge our module filename expression to match.

15 years agoThis has to be executable.
Peter Jones [Wed, 25 Nov 2009 16:26:38 +0000 (11:26 -0500)] 
This has to be executable.

multipath-scan.sh has to be executable, of course.

15 years agoFix missing shell variables.
Peter Jones [Wed, 25 Nov 2009 16:06:35 +0000 (11:06 -0500)] 
Fix missing shell variables.

Somehow copy+paste from one machine to the other removed all the shell
variables from this line.  Oops.

15 years agoBring up multipath devices that are configured in multipath.conf.
Peter Jones [Tue, 24 Nov 2009 19:47:48 +0000 (14:47 -0500)] 
Bring up multipath devices that are configured in multipath.conf.

This brings up multipath devices which are configured in multipath.conf
as we find them.

15 years agoMake sure and get all the multipath related modules.
Peter Jones [Tue, 24 Nov 2009 19:46:40 +0000 (14:46 -0500)] 
Make sure and get all the multipath related modules.

Install all modules that are any of:
- scsi device handler
- dm log handler
- dm path selector
- dm target

It would be nice if we could tell which log handlers and targets are
multipath related, but we really can't.

15 years agoAdd #!/bin/bash for consistency.
Peter Jones [Tue, 24 Nov 2009 19:45:27 +0000 (14:45 -0500)] 
Add #!/bin/bash for consistency.

Most install scripts seem to have it there, may as well make this one
like the rest...

15 years agoUse glob for libdir when installing multipath libraries.
Peter Jones [Tue, 24 Nov 2009 19:43:56 +0000 (14:43 -0500)] 
Use glob for libdir when installing multipath libraries.

Use "/lib*/" not "/lib/" so it works when they're in /lib/multipath as
well as when they're in /lib64/multipath

15 years agospecfile update
Harald Hoyer [Mon, 23 Nov 2009 11:28:20 +0000 (12:28 +0100)] 
specfile update

15 years ago90dm: install more device mapper kernel modules
Harald Hoyer [Mon, 23 Nov 2009 11:12:56 +0000 (12:12 +0100)] 
90dm: install more device mapper kernel modules

15 years agokernel-modules: add firewire-ohci to hardcoded modules list
Harald Hoyer [Mon, 23 Nov 2009 11:10:39 +0000 (12:10 +0100)] 
kernel-modules: add firewire-ohci to hardcoded modules list

15 years agofips: search different lib paths
Harald Hoyer [Mon, 23 Nov 2009 11:09:42 +0000 (12:09 +0100)] 
fips: search different lib paths

15 years agoMakefile: add WITH_SWITCH_ROOT
Harald Hoyer [Mon, 23 Nov 2009 10:59:58 +0000 (11:59 +0100)] 
Makefile: add WITH_SWITCH_ROOT

15 years agodracut: create initramfs-$(kernelversion).img by default
Harald Hoyer [Thu, 19 Nov 2009 14:47:06 +0000 (15:47 +0100)] 
dracut: create initramfs-$(kernelversion).img by default

15 years agodracut: check more return codes, check for permissions and use derror
Harald Hoyer [Thu, 19 Nov 2009 14:46:09 +0000 (15:46 +0100)] 
dracut: check more return codes, check for permissions and use derror

15 years agodracut.8: fixed formatting for rootfs and mount options
Harald Hoyer [Wed, 18 Nov 2009 09:24:08 +0000 (10:24 +0100)] 
dracut.8: fixed formatting for rootfs and mount options

15 years agospecfile update
Harald Hoyer [Tue, 17 Nov 2009 14:00:56 +0000 (15:00 +0100)] 
specfile update

15 years agomultipath: install multipath kernel module
Harald Hoyer [Tue, 17 Nov 2009 13:58:51 +0000 (14:58 +0100)] 
multipath: install multipath kernel module

15 years agomultipath: install xdr utils
Harald Hoyer [Tue, 17 Nov 2009 13:58:42 +0000 (14:58 +0100)] 
multipath: install xdr utils

15 years agoNEWS update
Harald Hoyer [Fri, 13 Nov 2009 09:36:27 +0000 (10:36 +0100)] 
NEWS update

15 years agomultipath: install udev rules and helper tools
Harald Hoyer [Fri, 13 Nov 2009 09:27:09 +0000 (10:27 +0100)] 
multipath: install udev rules and helper tools

15 years agospecfile update
Harald Hoyer [Fri, 13 Nov 2009 09:26:50 +0000 (10:26 +0100)] 
specfile update

15 years agomove dasd initialization script and rules to s390utils
Dan Horák [Thu, 12 Nov 2009 13:44:25 +0000 (14:44 +0100)] 
move dasd initialization script and rules to s390utils

The primary source for dasd initialization script and udev rules is
now in s390utils package. The s390utils-base subpackage, that carries
the required files, is always installed on s390/s390x, because it's
part of the Core group in comps.

Signed-off-by: Dan Horák <dan@danny.cz>
15 years agoadd module 90multipath
Harald Hoyer [Thu, 12 Nov 2009 14:12:18 +0000 (15:12 +0100)] 
add module 90multipath

15 years agoadd module fips
Harald Hoyer [Thu, 12 Nov 2009 13:58:27 +0000 (14:58 +0100)] 
add module fips

15 years agorenamed module 95ccw to 95znet
Harald Hoyer [Thu, 12 Nov 2009 13:58:45 +0000 (14:58 +0100)] 
renamed module 95ccw to 95znet

15 years agocrypt: ignore devices in /etc/crypttab (root is not in there)
Harald Hoyer [Thu, 12 Nov 2009 13:56:36 +0000 (14:56 +0100)] 
crypt: ignore devices in /etc/crypttab (root is not in there)

15 years agodasd: only install /etc/dasd.conf in hostonly mode
Harald Hoyer [Thu, 12 Nov 2009 13:55:30 +0000 (14:55 +0100)] 
dasd: only install /etc/dasd.conf in hostonly mode

15 years agozfcp: only install /etc/zfcp.conf in hostonly mode
Harald Hoyer [Thu, 12 Nov 2009 13:55:04 +0000 (14:55 +0100)] 
zfcp: only install /etc/zfcp.conf in hostonly mode

15 years agokernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc
Harald Hoyer [Thu, 12 Nov 2009 12:50:12 +0000 (13:50 +0100)] 
kernel-modules: add scsi_dh scsi_dh_rdac scsi_dh_emc

15 years agocontrol filesystems included in the generic initramfs
Dan Horák [Tue, 3 Nov 2009 10:50:55 +0000 (11:50 +0100)] 
control filesystems included in the generic initramfs

New "filesystems" command line/config file option is added with the ability to
control the list of kernel filesystem modules that are included in the generic
initramfs.

Signed-off-by: Dan Horák <dan@danny.cz>
15 years agodracut.8: add FILES section
Harald Hoyer [Tue, 10 Nov 2009 10:15:22 +0000 (11:15 +0100)] 
dracut.8: add FILES section

15 years agodracut.spec: update
Harald Hoyer [Fri, 6 Nov 2009 07:51:50 +0000 (08:51 +0100)] 
dracut.spec: update

15 years ago95dasd: fixed rd_DASD argument handling
Harald Hoyer [Wed, 4 Nov 2009 10:48:12 +0000 (11:48 +0100)] 
95dasd: fixed rd_DASD argument handling

15 years agodracut.8: add more documentation to rd_LUKS_UUID
Harald Hoyer [Thu, 5 Nov 2009 16:04:10 +0000 (17:04 +0100)] 
dracut.8: add more documentation to rd_LUKS_UUID

15 years agocrypt: install /etc/crypttab and honor crypttab entries
Harald Hoyer [Thu, 5 Nov 2009 15:14:27 +0000 (16:14 +0100)] 
crypt: install /etc/crypttab and honor crypttab entries

15 years agocrypt: refix rd_LUKS_UUID handling
Harald Hoyer [Thu, 5 Nov 2009 14:57:52 +0000 (15:57 +0100)] 
crypt: refix rd_LUKS_UUID handling

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

15 years agodracut-gencmdline: do not use full path for readlink
Harald Hoyer [Thu, 5 Nov 2009 15:24:00 +0000 (16:24 +0100)] 
dracut-gencmdline: do not use full path for readlink

15 years agodracut-functions: dinfo() on missing firmware, rather than dwarning()
Harald Hoyer [Thu, 5 Nov 2009 12:35:44 +0000 (13:35 +0100)] 
dracut-functions: dinfo() on missing firmware, rather than dwarning()

15 years agoudev-rules: do not run blkid on temporary device mapper devices
Harald Hoyer [Thu, 5 Nov 2009 12:32:47 +0000 (13:32 +0100)] 
udev-rules: do not run blkid on temporary device mapper devices

15 years agokernel-modules: install all usb storage modules also
Harald Hoyer [Thu, 5 Nov 2009 12:07:24 +0000 (13:07 +0100)] 
kernel-modules: install all usb storage modules also

15 years agoTidy up some comments
Alan Jenkins [Thu, 29 Oct 2009 09:29:58 +0000 (09:29 +0000)] 
Tidy up some comments

Fix a few typos.

15 years agodracut-gencmdline: fix regex quoting in findstoragedriver()
Alan Jenkins [Thu, 29 Oct 2009 11:25:53 +0000 (11:25 +0000)] 
dracut-gencmdline: fix regex quoting in findstoragedriver()

On my LVM system this changes the relevant output from "rd_NO_LVM" to
"rd_LVM_VG=alan-desktop.Linux"

Note that on my newer system, it now reaches moduledep() and complains.
I don't know enough awk to tell whose fault it is :).

    awk: line 2: function gensub never defined
    awk: line 2: function gensub never defined
    rd_NO_MD rd_NO_LVM rd_NO_LUKS LANG=en_GB.UTF-8 root=/dev/sda2

Both my systems (old ubuntu and debian unstable) agree that bash
regexes should not be quoted:

    $ [[ 'a' =~ a ]] && echo match
    match
    $ [[ 'a' =~ ^a$ ]] && echo match
    match
    $ [[ 'a' =~ '^a$' ]] && echo match
    $

(and yes, it is safe against globbing)

    $ touch 9
    $ echo [0-9]
    9
    $ [[ 1 =~ [0-9] ]] && echo match
    match

15 years agospecfile update
Harald Hoyer [Tue, 3 Nov 2009 16:42:51 +0000 (17:42 +0100)] 
specfile update

15 years agoUpdate dracut.8 with new rd_DASD parameter information.
David Cantrell [Mon, 2 Nov 2009 19:14:50 +0000 (09:14 -1000)] 
Update dracut.8 with new rd_DASD parameter information.

Rename existing rd_DASD parameter to rd_DASD_MOD.  Document new rd_DASD
parameter handling.

15 years agoSupport new rd_DASD parameter for s390 systems.
David Cantrell [Mon, 2 Nov 2009 19:59:58 +0000 (09:59 -1000)] 
Support new rd_DASD parameter for s390 systems.

The new rd_DASD parameter allows dracut to handle multiple rd_DASD
options.  One parameter per DASD.  The syntax is:

    rd_DASD=<device path>[,readonly=X][,erplog=X][,use_diag=X][,failfast=X]

The device path is a CCW device path, such as 0.0.0200.  The optional
parameters are sysfs attributes for the DASD.  The X value can be 0 or
1.  Dracut will write out each of the rd_DASD settings to
/etc/dasd.conf and on bootup, the dasdconf.sh script will parse this
file and bring each DASD online with the specified attribute settings.

15 years agoRename existing 95dasd handling to 95dasd_mod.
David Cantrell [Mon, 2 Nov 2009 19:18:42 +0000 (09:18 -1000)] 
Rename existing 95dasd handling to 95dasd_mod.

Rename the existing rd_DASD module handler to rd_DASD_MOD.

15 years agodracut.spec: update
Harald Hoyer [Tue, 27 Oct 2009 15:01:46 +0000 (16:01 +0100)] 
dracut.spec: update

15 years agoTEST-14-IMSM/create-root.sh: wait until md0 is ready synced
Harald Hoyer [Tue, 27 Oct 2009 14:11:35 +0000 (15:11 +0100)] 
TEST-14-IMSM/create-root.sh: wait until md0 is ready synced

15 years ago90dmraid,90lvm: device mapper upstream rules got renamed
Harald Hoyer [Tue, 27 Oct 2009 09:28:17 +0000 (10:28 +0100)] 
90dmraid,90lvm: device mapper upstream rules got renamed

15 years agojoin $dsrc and $dracutbasedir
Harald Hoyer [Tue, 27 Oct 2009 08:28:53 +0000 (09:28 +0100)] 
join $dsrc and $dracutbasedir

15 years agospecfile update
Harald Hoyer [Mon, 26 Oct 2009 18:12:27 +0000 (19:12 +0100)] 
specfile update

15 years agoAdd dm_mod loader
Philippe Seewer [Fri, 16 Oct 2009 09:00:04 +0000 (11:00 +0200)] 
Add dm_mod loader

Some kernel configurations might build base dm support as a module.
Add module dm which ensures that dm_mod is there and loaded.

15 years agotest: Add compatibility for different kernel configs
Philippe Seewer [Fri, 16 Oct 2009 09:00:03 +0000 (11:00 +0200)] 
test: Add compatibility for different kernel configs

Some distros, including debian unstable with 2.6.30, still shop
style ide drivers and/or have important filesystems like ext3 as
modules.

This patch ensures that all test cases work on these configurations
by including the necessary modules and adding a simple udev rule
file that provides /dev/sd* symlinks for the case where old style
ide drivers are still in use.

15 years agoAdd old style ide drivers if available
Philippe Seewer [Fri, 16 Oct 2009 09:00:02 +0000 (11:00 +0200)] 
Add old style ide drivers if available

Some distros, including debian unstable with 2.6.30, still ship
old style ide drivers. These should be installed as well.

Sadly there are no symbols to use for nm, so a simple =ide needs
to suffice.

15 years agodracut.spec: reverse switch_root logic
Harald Hoyer [Mon, 26 Oct 2009 14:36:23 +0000 (15:36 +0100)] 
dracut.spec: reverse switch_root logic

15 years agotest/TEST-20-NFS: kill server if pid file present on run()
Harald Hoyer [Mon, 26 Oct 2009 14:35:42 +0000 (15:35 +0100)] 
test/TEST-20-NFS: kill server if pid file present on run()

15 years agodmsquash-live-root requires grep
Warren Togami [Tue, 13 Oct 2009 20:23:56 +0000 (16:23 -0400)] 
dmsquash-live-root requires grep

15 years agoRevert to per-device resolv.conf by Seewer's suggestion.
Warren Togami [Tue, 13 Oct 2009 18:19:49 +0000 (14:19 -0400)] 
Revert to per-device resolv.conf by Seewer's suggestion.

15 years agoBetter check if writing ifcfg files is necessary.
Warren Togami [Tue, 13 Oct 2009 17:20:07 +0000 (13:20 -0400)] 
Better check if writing ifcfg files is necessary.

15 years agotest: add rdinfo
Harald Hoyer [Fri, 9 Oct 2009 11:57:35 +0000 (13:57 +0200)] 
test: add rdinfo