]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
10 years agoAdd missing echo to output the result. 84/head 85/head
Stefan Reimer [Sat, 25 Jul 2015 01:17:04 +0000 (01:17 +0000)] 
Add missing echo to output the result.

Only place this function is currently called seems from line 28 in modules.d/95nfs/nfs-lib.sh. Bug fix.

10 years agoCleanup compressor handling
Harald Hoyer [Wed, 22 Jul 2015 09:34:08 +0000 (11:34 +0200)] 
Cleanup compressor handling

If no compressor is specified, try to find a suitable one.

Check if kernel modules can be uncompressed.

10 years agodmsquash-generator.sh: increase timeout for checkisomd5
Harald Hoyer [Sat, 18 Jul 2015 11:02:25 +0000 (13:02 +0200)] 
dmsquash-generator.sh: increase timeout for checkisomd5

if the checkisomd5 takes longer than 3 minutes, the device timeout for
/dev/mapper/live-rw cancels the boot process.

10 years agoMerge pull request #81 from floppym/printf2
Harald Hoyer [Thu, 16 Jul 2015 10:02:48 +0000 (12:02 +0200)] 
Merge pull request #81 from floppym/printf2

Replace echo -n with printf in code with a /bin/sh shebang

10 years agouse mktemp "-p" instead of "--tmpdir" for busybox
Harald Hoyer [Tue, 14 Jul 2015 08:11:59 +0000 (10:11 +0200)] 
use mktemp "-p" instead of "--tmpdir" for busybox

10 years agodracut.spec: add dracut-init.sh
Harald Hoyer [Fri, 10 Jul 2015 09:21:51 +0000 (11:21 +0200)] 
dracut.spec: add dracut-init.sh

10 years agosyncheck: Look for 'echo -n' usage in modules 81/head
Mike Gilbert [Tue, 14 Jul 2015 15:12:16 +0000 (11:12 -0400)] 
syncheck: Look for 'echo -n' usage in modules

10 years agoReplace echo -n with printf in code with a /bin/sh shebang
Mike Gilbert [Wed, 15 Jul 2015 02:22:14 +0000 (22:22 -0400)] 
Replace echo -n with printf in code with a /bin/sh shebang

POSIX does not mandate that echo support the -n parameter.
printf has more well-defined behavior.

10 years agodracut-systemd/dracut-initqueue: only start service if really needed
Harald Hoyer [Mon, 13 Jul 2015 08:51:47 +0000 (10:51 +0200)] 
dracut-systemd/dracut-initqueue: only start service if really needed

Only start the dracut-initqueue.service, if the dracut_need_initqueue
command was issued on creation or later on set.

10 years agocrypt: skip crypttab entries with the same device
Harald Hoyer [Mon, 13 Jul 2015 08:39:07 +0000 (10:39 +0200)] 
crypt: skip crypttab entries with the same device

It was only checked, if the name of the crypttab entry matched.
This patch adds checking, if the device matches.

10 years agoTODO: update
Harald Hoyer [Mon, 13 Jul 2015 08:38:16 +0000 (10:38 +0200)] 
TODO: update

10 years agonetwork: add rd.peerdns=0 parameter
Harald Hoyer [Mon, 13 Jul 2015 08:14:15 +0000 (10:14 +0200)] 
network: add rd.peerdns=0 parameter

Add rd.peerdns=0 parameter to disable DHCP nameserver setting

10 years agodracut.sh: early check for bash version
Harald Hoyer [Thu, 9 Jul 2015 17:44:30 +0000 (19:44 +0200)] 
dracut.sh: early check for bash version

10 years agodracut.sh: remember $0 for --regenerate-all
Harald Hoyer [Thu, 9 Jul 2015 16:22:15 +0000 (18:22 +0200)] 
dracut.sh: remember $0 for --regenerate-all

10 years agodracut.sh: reduce code
Harald Hoyer [Thu, 9 Jul 2015 16:02:44 +0000 (18:02 +0200)] 
dracut.sh: reduce code

10 years agodracut-functions.sh: simplify some for loops
Harald Hoyer [Thu, 9 Jul 2015 13:34:47 +0000 (15:34 +0200)] 
dracut-functions.sh: simplify some for loops

continue early, if condition is not met

10 years agoguard ${arrays[@]} with ""
Harald Hoyer [Thu, 9 Jul 2015 13:27:44 +0000 (15:27 +0200)] 
guard ${arrays[@]} with ""

10 years agodracut.sh: remove pop()
Harald Hoyer [Thu, 9 Jul 2015 12:33:24 +0000 (14:33 +0200)] 
dracut.sh: remove pop()

10 years agodracut.conf: remove example parameters
Harald Hoyer [Thu, 9 Jul 2015 12:31:26 +0000 (14:31 +0200)] 
dracut.conf: remove example parameters

10 years agodracut.sh: remove push()
Harald Hoyer [Thu, 9 Jul 2015 12:13:44 +0000 (14:13 +0200)] 
dracut.sh: remove push()

can be done with var+=(val)

10 years agoAdd all btrfs devices
Harald Hoyer [Thu, 9 Jul 2015 11:18:13 +0000 (13:18 +0200)] 
Add all btrfs devices

We have to find them with "btrfs usage", which is cumbersome.

10 years agonetwork/dhclient-script.sh: remove bashism
Harald Hoyer [Wed, 8 Jul 2015 06:49:02 +0000 (08:49 +0200)] 
network/dhclient-script.sh: remove bashism

10 years agoTEST-50-MULTINIC/test.sh: correctly call ldconfig
Harald Hoyer [Tue, 7 Jul 2015 13:34:30 +0000 (15:34 +0200)] 
TEST-50-MULTINIC/test.sh: correctly call ldconfig

10 years agoTEST-14-IMSM: remove "rd.auto"
Harald Hoyer [Tue, 7 Jul 2015 12:31:16 +0000 (14:31 +0200)] 
TEST-14-IMSM: remove "rd.auto"

otherwise rd.auto auto assembles the device

10 years agoTEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading
Harald Hoyer [Tue, 7 Jul 2015 12:29:22 +0000 (14:29 +0200)] 
TEST-04-FULL-SYSTEMD: fixup loadkeys keymap loading

10 years agodracut-pre-mount.service should run before systemd-fsck-root.service
Harald Hoyer [Tue, 7 Jul 2015 11:45:19 +0000 (13:45 +0200)] 
dracut-pre-mount.service should run before systemd-fsck-root.service

10 years agoensure pre-mount (and resume) run before root fsck
Andrei Borzenkov [Fri, 26 Jun 2015 14:55:56 +0000 (16:55 +0200)] 
ensure pre-mount (and resume) run before root fsck

References:
https://bugzilla.suse.com/show_bug.cgi?id=906592
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agoUse the uncompressed kernel file on arm and aarch to detect kernel version
Thomas Renninger [Fri, 26 Jun 2015 14:55:54 +0000 (16:55 +0200)] 
Use the uncompressed kernel file on arm and aarch to detect kernel version

This is due to file cannot read out the kernel version on these.

Many thanks to Alexander Graf finding this in old SUSE mkinitrd code.
Converted by Thomas Renninger.

Signed-off-by: Thomas Renninger <trenn@suse.de>
https://bugzilla.suse.com/show_bug.cgi?id=908454
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agomkinitrd-suse.sh: Bail out with exit 1 if initrd cannot be generated
Thomas Renninger [Fri, 26 Jun 2015 14:55:53 +0000 (16:55 +0200)] 
mkinitrd-suse.sh: Bail out with exit 1 if initrd cannot be generated

Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agoReset IFS variable
Hannes Reinecke [Fri, 26 Jun 2015 14:55:52 +0000 (16:55 +0200)] 
Reset IFS variable

Setting and unsetting the IFS variable is tricky. To be on the
safe side we should always reset the IFS variable to its original
value after parsing.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agoskipcpio/skipcpio.c: linux kernel only accepts "070701" signature
Harald Hoyer [Tue, 7 Jul 2015 11:26:38 +0000 (13:26 +0200)] 
skipcpio/skipcpio.c: linux kernel only accepts "070701" signature

don't bother with other signatures

10 years agodmsquash-live/dmsquash-live-root.sh: fixup checkisomd5 for systemd
Harald Hoyer [Tue, 7 Jul 2015 11:25:56 +0000 (13:25 +0200)] 
dmsquash-live/dmsquash-live-root.sh: fixup checkisomd5 for systemd

systemd does not like a leading "-" for unit template filenames anymore.

10 years agoMerge pull request #78 from dracut-mailing-devs/20150706073126.GC22559@dhcp-128-51...
Harald Hoyer [Tue, 7 Jul 2015 11:16:27 +0000 (13:16 +0200)] 
Merge pull request #78 from dracut-mailing-devs/20150706073126.GC22559@dhcp-128-51.nay.redhat.com

90multipath: add hostonly multipath.conf in case hostonly mode

10 years agoMerge pull request #77 from dracut-mailing-devs/1435792513-2222-1-git-send-email...
Harald Hoyer [Tue, 7 Jul 2015 11:15:34 +0000 (13:15 +0200)] 
Merge pull request #77 from dracut-mailing-devs/1435792513-2222-1-git-send-email-crrodriguez@opensuse.org

systemd: if kdbus is available, include the kernel module

10 years ago90multipath: add hostonly multipath.conf in case hostonly mode 78/head
Dave Young [Mon, 6 Jul 2015 07:31:26 +0000 (15:31 +0800)] 
90multipath: add hostonly multipath.conf in case hostonly mode

For large machine, suppose there's a lot of multipath devices, multipath layer
will use a lot of memory. For kdump kernel memory is very limited thus it causes
oom. To avoid oom, we only add necessary multipath devices in kdump kernel
multipath.conf.

This is done by use mpathconf --allow, a new option which is like whitelist.

Signed-off-by: Dave Young <dyoung@redhat.com>
10 years agonetwork/dhclient-script.sh: fixup lease time
Harald Hoyer [Thu, 2 Jul 2015 17:48:25 +0000 (19:48 +0200)] 
network/dhclient-script.sh: fixup lease time

10 years agosplitup dracut-init.sh from dracut-functions.sh
Harald Hoyer [Thu, 2 Jul 2015 13:40:13 +0000 (15:40 +0200)] 
splitup dracut-init.sh from dracut-functions.sh

other tools want to source dracut-functions.sh without any mkdir side
effects.

10 years agonfs/nfs-lib.sh: add anaconda_nfsv6_to_var()
Harald Hoyer [Thu, 2 Jul 2015 13:21:35 +0000 (15:21 +0200)] 
nfs/nfs-lib.sh: add anaconda_nfsv6_to_var()

add "nfs:[[2001:0db8:85a3:08d3:1319:8a2e:0370:7344]]/path" style parsing

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

10 years agodracut-lib.sh:info() output info to stderr
Harald Hoyer [Thu, 2 Jul 2015 13:02:31 +0000 (15:02 +0200)] 
dracut-lib.sh:info() output info to stderr

otherwise it might collide with stdout redirection

10 years agodracut.sh: add devices with x-initrd.mount in /etc/fstab to host_devs
Harald Hoyer [Thu, 2 Jul 2015 12:55:31 +0000 (14:55 +0200)] 
dracut.sh: add devices with x-initrd.mount in /etc/fstab to host_devs

otherwise dracut might not even be able to mount those.

10 years agolower the log level for dfatal
Harald Hoyer [Mon, 29 Jun 2015 14:14:58 +0000 (16:14 +0200)] 
lower the log level for dfatal

10 years agonetwork: don't use "ifup -m"
Harald Hoyer [Thu, 2 Jul 2015 09:32:08 +0000 (11:32 +0200)] 
network: don't use "ifup -m"

"ifup -m" was thought to be used by humans in the emergency shell.
Using it programatically shows some other flaw in the execution logic.

Also, "ifup -m" was configuring the interface multiple times on "add"
and "change" uevent, because the "$netif.did-setup" test was not
executed.

10 years agonetwork/dhclient-script.sh: make IPv4 DHCP lease time optionally
Harald Hoyer [Wed, 1 Jul 2015 12:57:15 +0000 (14:57 +0200)] 
network/dhclient-script.sh: make IPv4 DHCP lease time optionally

If bootp is used, no lease time is provided in the packet from the bootp
server.

10 years agonetwork/dhclient-script.sh: add RENEW/REBIND
Harald Hoyer [Wed, 1 Jul 2015 12:53:33 +0000 (14:53 +0200)] 
network/dhclient-script.sh: add RENEW/REBIND

10 years agosystemd: if kdbus is available, include the kernel module 77/head
Cristian Rodríguez [Wed, 1 Jul 2015 23:15:13 +0000 (20:15 -0300)] 
systemd: if kdbus is available, include the kernel module

10 years agoMerge pull request #76 from fabiand/activationskip
Harald Hoyer [Thu, 25 Jun 2015 10:20:13 +0000 (12:20 +0200)] 
Merge pull request #76 from fabiand/activationskip

Revert "lvm: Don't activate LVs with activationskip set"

10 years agoRevert "lvm: Don't activate LVs with activationskip set" 76/head
Fabian Deutsch [Thu, 25 Jun 2015 09:17:59 +0000 (11:17 +0200)] 
Revert "lvm: Don't activate LVs with activationskip set"

This reverts commit cfa365a32d47388c8476064b23d7d4684f1e591b.

The logic in commit cfa365a was added to prevent (odl) lvms from
activating snapshots which should not be activated.
Newer lvms however do this automatically (not enabling an LV if the
the 'k' attribute set), thus we can revert the previous commit.

10 years agodracut.spec: turn requires in recommends
Harald Hoyer [Tue, 23 Jun 2015 13:29:00 +0000 (15:29 +0200)] 
dracut.spec: turn requires in recommends

10 years agodracut.spec: Recommends grubby
Harald Hoyer [Tue, 23 Jun 2015 13:21:37 +0000 (15:21 +0200)] 
dracut.spec: Recommends grubby

10 years agodracut.spec: move dmsquash and livnet to subpackage
Harald Hoyer [Tue, 16 Jun 2015 13:17:39 +0000 (15:17 +0200)] 
dracut.spec: move dmsquash and livnet to subpackage

dmsquash and livenet need img-lib, which needs tar, which is normally
not needed.

10 years agouefi-lib: remove bogus comment
Harald Hoyer [Tue, 16 Jun 2015 13:08:23 +0000 (15:08 +0200)] 
uefi-lib: remove bogus comment

10 years agorootfs-generator: check for rootok, before doing any action
Harald Hoyer [Mon, 15 Jun 2015 13:28:52 +0000 (15:28 +0200)] 
rootfs-generator: check for rootok, before doing any action

10 years agoMerge pull request #74 from xnox/master
Harald Hoyer [Tue, 23 Jun 2015 12:12:40 +0000 (14:12 +0200)] 
Merge pull request #74 from xnox/master

Fix default udev & systemd dir detection, in usr-merge configurations.

10 years agoFix default udev & systemd dir detection, in usr-merge configurations. 74/head
Dimitri John Ledkov [Tue, 17 Feb 2015 13:03:01 +0000 (13:03 +0000)] 
Fix default udev & systemd dir detection, in usr-merge configurations.

Test that /lib is not a symlink, before using split-usr paths.

10 years agoNEWS: version 043 043
Harald Hoyer [Mon, 15 Jun 2015 10:27:21 +0000 (12:27 +0200)] 
NEWS: version 043

10 years agoMerge pull request #73 from dracut-mailing-devs/1434358579-11674-1-git-send-email...
Harald Hoyer [Mon, 15 Jun 2015 09:31:53 +0000 (11:31 +0200)] 
Merge pull request #73 from dracut-mailing-devs/1434358579-11674-1-git-send-email-lzhong@suse.com

dracut-lib.sh: typo fix

10 years agodmsquash-live: add dmsquash-generator
Harald Hoyer [Mon, 15 Jun 2015 09:30:51 +0000 (11:30 +0200)] 
dmsquash-live: add dmsquash-generator

10 years agoMerge pull request #71 from jsynacek/doc-fix
Harald Hoyer [Mon, 15 Jun 2015 09:28:33 +0000 (11:28 +0200)] 
Merge pull request #71 from jsynacek/doc-fix

doc: fix formatting

10 years agodracut-lib.sh: typo fix 73/head
Lidong Zhong [Mon, 15 Jun 2015 08:56:19 +0000 (16:56 +0800)] 
dracut-lib.sh: typo fix

Signed-off-by: Lidong Zhong <lzhong@suse.com>
10 years agodoc: fix formatting 71/head
Jan Synacek [Mon, 15 Jun 2015 07:49:52 +0000 (09:49 +0200)] 
doc: fix formatting

10 years agoNEWS & AUTHORS update - 042 042
Harald Hoyer [Tue, 9 Jun 2015 11:04:31 +0000 (13:04 +0200)] 
NEWS & AUTHORS update - 042

10 years agoTODO: update
Harald Hoyer [Wed, 10 Jun 2015 16:45:45 +0000 (18:45 +0200)] 
TODO: update

10 years agoTEST-16-DMSQUASH: add more debug parms
Harald Hoyer [Wed, 10 Jun 2015 17:45:30 +0000 (19:45 +0200)] 
TEST-16-DMSQUASH: add more debug parms

10 years agorun-qemu: default kernel to "/lib/modules/${KVERSION}/vmlinuz"
Harald Hoyer [Wed, 10 Jun 2015 17:39:41 +0000 (19:39 +0200)] 
run-qemu: default kernel to "/lib/modules/${KVERSION}/vmlinuz"

newer Fedora kernel install the kernel to /lib/modules

10 years agodmsquash-live: install a sysroot.mount generator for systemd
Harald Hoyer [Wed, 10 Jun 2015 17:28:31 +0000 (19:28 +0200)] 
dmsquash-live: install a sysroot.mount generator for systemd

otherwise systemd uses its own sysroot.mount line

10 years agocrypt: check for crypttab before reading
Harald Hoyer [Tue, 9 Jun 2015 13:05:06 +0000 (15:05 +0200)] 
crypt: check for crypttab before reading

10 years agoudev-rules: add 60-block.rules
Harald Hoyer [Tue, 9 Jun 2015 13:04:36 +0000 (15:04 +0200)] 
udev-rules: add 60-block.rules

10 years agodracut-functions.sh: only honor the first [0-9]+<module> dir
Harald Hoyer [Tue, 9 Jun 2015 11:49:32 +0000 (13:49 +0200)] 
dracut-functions.sh: only honor the first [0-9]+<module> dir

If multiple directories with different numbers exist, only honor the
first one.

10 years agofixup test suite
Harald Hoyer [Tue, 9 Jun 2015 11:34:57 +0000 (13:34 +0200)] 
fixup test suite

- qemu wants to have "format=raw"
- "-kernel" is obsolete, because run-qemu picks the right path

10 years agodracut.conf.5.asc: document "compress"
Harald Hoyer [Tue, 9 Jun 2015 10:29:41 +0000 (12:29 +0200)] 
dracut.conf.5.asc: document "compress"

10 years agodracut.conf.5.asc: add missing "="
Harald Hoyer [Fri, 5 Jun 2015 10:59:58 +0000 (12:59 +0200)] 
dracut.conf.5.asc: add missing "="

10 years agoCorrect paths for openSUSE
Christian Rodrigues [Mon, 23 Mar 2015 16:12:15 +0000 (17:12 +0100)] 
Correct paths for openSUSE

openSUSE has things stored in different places, so fixup the
paths here.

Signed-off-by: Christian Rodrigues <crrodriguez@opensuse.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years ago95fcoe-uefi: Test for EFI firmware
Hannes Reinecke [Mon, 23 Mar 2015 16:12:18 +0000 (17:12 +0100)] 
95fcoe-uefi: Test for EFI firmware

The fcoe-uefi module should test for EFI firmware when called
in 'hostonly' mode; of no EFI firmware is found then the module
doesn't need to be included.

References: bnc#882412

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Thomas Renninger <trenn@suse.de>
10 years agosystemd: include systemd-random-seed.service
Cristian Rodríguez [Tue, 10 Feb 2015 05:26:47 +0000 (02:26 -0300)] 
systemd: include systemd-random-seed.service

In current systemd releases there is no random-seed-load service
only systemd-random-seed.service

10 years agodoc: fix typo
Jan Synacek [Wed, 11 Feb 2015 13:06:25 +0000 (14:06 +0100)] 
doc: fix typo

10 years agoMerge pull request #58 from dracut-mailing-devs/20150326044148.10121.15286.stgit...
Harald Hoyer [Tue, 2 Jun 2015 10:04:51 +0000 (12:04 +0200)] 
Merge pull request #58 from dracut-mailing-devs/20150326044148.10121.15286.stgit@notabene.brown

mdraid fixes

10 years agocrypt/parse-crypt.sh: hide encrypted devices from systemd timeout warnings. 58/head
NeilBrown [Tue, 31 Mar 2015 21:57:41 +0000 (08:57 +1100)] 
crypt/parse-crypt.sh: hide encrypted devices from systemd timeout warnings.

When systemd's crypttab generator parsed crypttab, it tells
systemd about several devices which may not appear until later
in the boot sequence, and which are not needed while dract is running.

This can particularly happen when an md array is encrypted,
and the array is newly degraded so that it doesn't appear until
dracut runs mdraid_start.sh.

This can result in systemd printing warning messages which are
inappropriate.

So tell systemd that the timeout for each of these is zero.

This is involves splitting some functionality out of wait_for_dev()

That function does two things:
 - creates 'finished' hooks so that dracut will wait for the device,
   and
 - sets the systemd timeout for the device to zero, so systemd doesn't
   wait.

We only want the second of these for most encrypted devices.
So split that out into a new function set_systemd_timeout_for_dev(),
and call it from parse-crypt.sh

Signed-off-by: NeilBrown <neilb@suse.de>
--
This version fixes the missing redirect from /etc/crypttab
NeilBrown

10 years agoMerge pull request #67 from dracut-mailing-devs/1432116434-18050-1-git-send-email...
Harald Hoyer [Tue, 2 Jun 2015 09:57:58 +0000 (11:57 +0200)] 
Merge pull request #67 from dracut-mailing-devs/1432116434-18050-1-git-send-email-cfan@redhat.com

Change the fs_passno of nfs to 0

10 years agoMerge pull request #68 from dracut-mailing-devs/1431698021-16626-3-git-send-email...
Harald Hoyer [Tue, 2 Jun 2015 09:54:07 +0000 (11:54 +0200)] 
Merge pull request #68 from dracut-mailing-devs/1431698021-16626-3-git-send-email-colin@mageia.org

dracut: Make host only mode more resilient to missing swaps.
This patch set allows swap devices to disappear without cocking up a
host-only initramfs boot.

10 years agoMerge pull request #44 from MrStaticVoid/fix-crypt-loop-info-log-level
Harald Hoyer [Tue, 2 Jun 2015 09:49:25 +0000 (11:49 +0200)] 
Merge pull request #44 from MrStaticVoid/fix-crypt-loop-info-log-level

crypt-loop: Fix decrypt when running at info log level

10 years agoMerge pull request #45 from MrStaticVoid/fix-crypt-loop-hostonly-kernel-module
Harald Hoyer [Tue, 2 Jun 2015 09:47:58 +0000 (11:47 +0200)] 
Merge pull request #45 from MrStaticVoid/fix-crypt-loop-hostonly-kernel-module

crypt-loop: Always include 'loop' kernel module

10 years agodracut-initramfs-restore.sh: try to mount /boot
Harald Hoyer [Tue, 2 Jun 2015 09:33:45 +0000 (11:33 +0200)] 
dracut-initramfs-restore.sh: try to mount /boot

This is very useful when /boot has the "noauto" option.

Thanks to Igor Filakhtov

10 years agoMount /dev, /dev/shm and /run noexec
Nikoli [Sat, 15 Nov 2014 14:01:18 +0000 (17:01 +0300)] 
Mount /dev, /dev/shm and /run noexec

10 years agoMerge pull request #51 from dracut-mailing-devs/13711492.8HAMuGhYIN@thunder
Harald Hoyer [Tue, 2 Jun 2015 09:44:39 +0000 (11:44 +0200)] 
Merge pull request #51 from dracut-mailing-devs/13711492.8HAMuGhYIN@thunder

Add support for ethernet point-to-point connections configured via DHCP

10 years agoMerge pull request #53 from dracut-mailing-devs/E1YQLG5-00009v-BS@puleglot.ru
Harald Hoyer [Tue, 2 Jun 2015 09:20:10 +0000 (11:20 +0200)] 
Merge pull request #53 from dracut-mailing-devs/E1YQLG5-00009v-BS@puleglot.ru

base/dracut-lib.sh: remove bashism

10 years agoPortability fixes:
xtraeme [Tue, 2 Jun 2015 09:11:21 +0000 (11:11 +0200)] 
Portability fixes:

- Use uid_t not __uid_t.
- Define _GNU_SOURCE for cpu_set_t and others.
- Include string.h for strncmp().
- Detect musl's ldd error message.

10 years agoMerge pull request #64 from fabiand/lvm-activationskip
Harald Hoyer [Tue, 2 Jun 2015 09:11:40 +0000 (11:11 +0200)] 
Merge pull request #64 from fabiand/lvm-activationskip

Respect LVM activationskip

10 years agoMerge pull request #65 from scop/comment
Harald Hoyer [Tue, 2 Jun 2015 09:10:59 +0000 (11:10 +0200)] 
Merge pull request #65 from scop/comment

Fix stale comment about required bash version

10 years agoMerge pull request #66 from scop/lbzip2
Harald Hoyer [Tue, 2 Jun 2015 09:10:29 +0000 (11:10 +0200)] 
Merge pull request #66 from scop/lbzip2

Use lbzip2 instead of bzip2 if available

10 years agodracut.spec: use the autosetup macro to apply the patches
Harald Hoyer [Wed, 20 May 2015 12:55:19 +0000 (14:55 +0200)] 
dracut.spec: use the autosetup macro to apply the patches

10 years agonetwork: setup gateway after setting up resolv.conf
Harald Hoyer [Thu, 28 May 2015 17:44:55 +0000 (19:44 +0200)] 
network: setup gateway after setting up resolv.conf

If a daemon listens for route changes and wants to use the interface
afterwards, it should be able to resolve DNS

10 years agodracut.sh: fall back to /usr/lib/os-release, if /etc/os-release missing
Harald Hoyer [Thu, 21 May 2015 12:43:14 +0000 (14:43 +0200)] 
dracut.sh: fall back to /usr/lib/os-release, if /etc/os-release missing

10 years agoudev-rules: optionally install /etc/udev/udev.conf
Harald Hoyer [Thu, 21 May 2015 12:42:39 +0000 (14:42 +0200)] 
udev-rules: optionally install /etc/udev/udev.conf

udevd runs even without this config file

10 years agoUse lbzip2 instead of bzip2 if available 66/head
Ville Skyttä [Sun, 24 May 2015 19:29:20 +0000 (22:29 +0300)] 
Use lbzip2 instead of bzip2 if available

10 years agoFix stale comment about required bash version 65/head
Ville Skyttä [Sun, 24 May 2015 19:26:20 +0000 (22:26 +0300)] 
Fix stale comment about required bash version

10 years agolvm: Don't activate LVs with activationskip set 64/head
Fabian Deutsch [Thu, 21 May 2015 10:38:05 +0000 (12:38 +0200)] 
lvm: Don't activate LVs with activationskip set

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1186854
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
10 years agodoc: Add a minimal rd.live.overlay documentation
Fabian Deutsch [Thu, 21 May 2015 10:37:38 +0000 (12:37 +0200)] 
doc: Add a minimal rd.live.overlay documentation

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
10 years agoChange the fs_passno of nfs to 0 67/head
Chao Fan [Wed, 20 May 2015 10:07:14 +0000 (18:07 +0800)] 
Change the fs_passno of nfs to 0

There is a bug that kdump-initrd contains entry requesting nfs dump
filesystem to get filesystemchecked. And there is an erro message said
that nfs need be checked. But there's no fsck for nfs utility, e.g
fsck.nfs like other file system. Whatever fs_passno 0 or 2 are passed,
no fsck is executed at all for nfs mount.But in dracut, set it to be 2
always, so the erro message appear and it should be set to 0.

In the fstab,the sixth variable fs_passno stands for that the device need
checked or not,and dracut set it to "2".To fix this issue, it should
be "0" when the device is nfs.The third variable stands for the type of
the filesystem and we can use it to judge whether the device is nfs.
So when the third variable of fstab contains "nfs", the sixth variable
fs_passno should be set to "0".

Signed-off-by: Chao Fan <cfan@redhat.com>
10 years ago50drm: add hyperv_fb kernel module
Harald Hoyer [Mon, 18 May 2015 11:43:26 +0000 (13:43 +0200)] 
50drm: add hyperv_fb kernel module

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

10 years agoMerge remote-tracking branch 'github/master'
Harald Hoyer [Mon, 18 May 2015 11:28:00 +0000 (13:28 +0200)] 
Merge remote-tracking branch 'github/master'