]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
7 years agoMerge pull request #185 from ldzhong/bsc1012656
Harald Hoyer [Thu, 30 Mar 2017 08:46:07 +0000 (10:46 +0200)] 
Merge pull request #185 from ldzhong/bsc1012656

man: make the -k option clear using mkinitrd

7 years agoMerge pull request #198 from danimo/degraded_md_raid
Harald Hoyer [Thu, 30 Mar 2017 08:30:19 +0000 (10:30 +0200)] 
Merge pull request #198 from danimo/degraded_md_raid

Allow booting from degraded MD RAID arrays

7 years agoMerge branch 'master' of github.com:dracutdevs/dracut
Harald Hoyer [Thu, 30 Mar 2017 08:15:22 +0000 (10:15 +0200)] 
Merge branch 'master' of github.com:dracutdevs/dracut

7 years agoMerge branch 'danimo-remove-test-dependencies'
Harald Hoyer [Thu, 30 Mar 2017 08:14:08 +0000 (10:14 +0200)] 
Merge branch 'danimo-remove-test-dependencies'

7 years agoMerge branch 'remove-test-dependencies' of https://github.com/danimo/dracut into...
Harald Hoyer [Thu, 30 Mar 2017 07:21:50 +0000 (09:21 +0200)] 
Merge branch 'remove-test-dependencies' of https://github.com/danimo/dracut into danimo-remove-test-dependencies

7 years agoTEST: redirect server output to server.log if $SERIAL empty
Harald Hoyer [Thu, 30 Mar 2017 07:04:02 +0000 (09:04 +0200)] 
TEST: redirect server output to server.log if $SERIAL empty

7 years agoTEST: new rpcbind needs /run/rpcbind
Harald Hoyer [Thu, 30 Mar 2017 07:03:31 +0000 (09:03 +0200)] 
TEST: new rpcbind needs /run/rpcbind

7 years agoMerge pull request #209 from nullr0ute/aarch64-fixes
Harald Hoyer [Thu, 30 Mar 2017 06:56:19 +0000 (08:56 +0200)] 
Merge pull request #209 from nullr0ute/aarch64-fixes

Aarch64 fixes

7 years agoTEST-70-BONDBRIDGETEAMVLAN: remove qemu -kernel parameter
Harald Hoyer [Wed, 15 Mar 2017 10:27:56 +0000 (11:27 +0100)] 
TEST-70-BONDBRIDGETEAMVLAN: remove qemu -kernel parameter

'run-qemu' takes care of finding the kernel image

7 years agoAdd check for aarch64 to the arm kernel module list 209/head
Peter Robinson [Thu, 23 Mar 2017 14:59:15 +0000 (14:59 +0000)] 
Add check for aarch64 to the arm kernel module list

This adds the same list of drivers we use for arm platforms for
aarch64 too, also add the DMA drivers there too as they can add
sigficant performance for some storage/usb and often need to be
present when the storage drivers load.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 years agoAdd aarch64 to drm modules along side ARM
Peter Robinson [Thu, 23 Mar 2017 14:51:48 +0000 (14:51 +0000)] 
Add aarch64 to drm modules along side ARM

Add aarch64 to modules, also update the drivers checked for latest
kernel changes.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 years agoMerge pull request #199 from lnykryn/bz1416958
Harald Hoyer [Tue, 21 Mar 2017 12:33:41 +0000 (13:33 +0100)] 
Merge pull request #199 from lnykryn/bz1416958

ifup: don't ifup team master indefinitely

7 years agoMerge pull request #201 from lnykryn/bz1415004
Harald Hoyer [Tue, 21 Mar 2017 12:33:20 +0000 (13:33 +0100)] 
Merge pull request #201 from lnykryn/bz1415004

network/ifup: write override file before dhcp_do

7 years agoCorrect path for UEFI stub
Harald Hoyer [Mon, 20 Mar 2017 10:41:07 +0000 (11:41 +0100)] 
Correct path for UEFI stub

respect any $prefix given to the systemd installation

https://github.com/dracutdevs/dracut/pull/196

7 years agoMerge pull request #204 from lnykryn/mtu
Harald Hoyer [Wed, 15 Mar 2017 09:46:35 +0000 (10:46 +0100)] 
Merge pull request #204 from lnykryn/mtu

write-ifcfg: do't write MTU twice for regular eth devices

7 years agoMerge pull request #206 from mwilck/master
Harald Hoyer [Wed, 15 Mar 2017 09:45:38 +0000 (10:45 +0100)] 
Merge pull request #206 from mwilck/master

dracut-init.sh: fix typo

7 years agodracut-init.sh: fix typo 206/head
Martin Wilck [Thu, 9 Mar 2017 19:12:17 +0000 (20:12 +0100)] 
dracut-init.sh: fix typo

7 years agowrite-ifcfg: do't write MTU twice for regular eth devices 204/head
Lukas Nykryn [Wed, 1 Mar 2017 13:43:53 +0000 (14:43 +0100)] 
write-ifcfg: do't write MTU twice for regular eth devices

If MTU is specified, we write it for every type of device in the
beginning. There is not point writing it again for Type=ethernet
devices.

7 years agoDrop dependency on bridge-utils 203/head
Daniel Molkentin [Tue, 14 Feb 2017 11:51:18 +0000 (12:51 +0100)] 
Drop dependency on bridge-utils

7 years agonet-tools are not required anymore
Daniel Molkentin [Mon, 13 Feb 2017 16:47:27 +0000 (17:47 +0100)] 
net-tools are not required anymore

Also bridge-utils was listed twice in README.testsuite.

7 years agonetwork/ifup: write override file before dhcp_do 201/head
Lukas Nykryn [Tue, 7 Feb 2017 16:09:41 +0000 (17:09 +0100)] 
network/ifup: write override file before dhcp_do

Commit cf376023e6d0d4abd9816fa954bb917fc2557713 moved writing .resolv.conf and .override
after dhcp_do, because dhcp_do was overwriting .resolv.conf. But .override does not have
such problem and on the contrary dhcp_do reads .override file if it is present. So let\'s
move it back.

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

7 years agoMerge pull request #200 from nullr0ute/modules-generic-fixes
Harald Hoyer [Tue, 7 Feb 2017 11:20:11 +0000 (12:20 +0100)] 
Merge pull request #200 from nullr0ute/modules-generic-fixes

Some fixes for ARM hardware generic host initrd generation

7 years agomodules: kernel: add more usb controller modules 200/head
Peter Robinson [Fri, 3 Feb 2017 10:29:12 +0000 (10:29 +0000)] 
modules: kernel: add more usb controller modules

There's a number of usb controllers that are common yet aren't
contained in the host directory. Include these for generic host.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 years agomodules: kernel: add phy and power modules to generic initrd
Peter Robinson [Mon, 4 Jul 2016 15:57:39 +0000 (16:57 +0100)] 
modules: kernel: add phy and power modules to generic initrd

The phy and power modules are needed by some of the recent ARM
devices that have appeared like CHIP and some exynos devices.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
7 years agoifup: don't ifup team master indefinitely 199/head
Lukas Nykryn [Thu, 2 Feb 2017 12:02:10 +0000 (13:02 +0100)] 
ifup: don't ifup team master indefinitely

https://bugzilla.redhat.com/show_bug.cgi?id=1416958
Thanks to martin.moore@hpe.com for the patch

7 years agoAllow booting from degraded MD RAID arrays 198/head
Daniel Molkentin [Mon, 30 Jan 2017 10:10:40 +0000 (11:10 +0100)] 
Allow booting from degraded MD RAID arrays

bnc#1017695

7 years agofips: honor $BOOT_IMAGE variable for HMAC check of the kernel
Harald Hoyer [Mon, 30 Jan 2017 08:20:55 +0000 (09:20 +0100)] 
fips: honor $BOOT_IMAGE variable for HMAC check of the kernel

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

7 years agofips: use /lib/modules/$(uname -r)/modules.fips
Harald Hoyer [Tue, 29 Nov 2016 16:05:01 +0000 (17:05 +0100)] 
fips: use /lib/modules/$(uname -r)/modules.fips

if /lib/modules/$(uname -r)/modules.fips exists, use that list instead
of the hardcoded dracut module list.

7 years agoMerge pull request #197 from danimo/update-gitignore
Harald Hoyer [Wed, 25 Jan 2017 13:55:08 +0000 (14:55 +0100)] 
Merge pull request #197 from danimo/update-gitignore

Ignore more generated files

7 years agoIgnore more generated files 197/head
Daniel Molkentin [Wed, 25 Jan 2017 12:25:21 +0000 (13:25 +0100)] 
Ignore more generated files

Also fixes ignores after systemd module split

7 years agoNEWS: update for 045
Harald Hoyer [Thu, 19 Jan 2017 12:52:33 +0000 (13:52 +0100)] 
NEWS: update for 045

7 years agotest: add TEST-70-BONDBRIDGETEAMVLAN
Harald Hoyer [Wed, 18 Jan 2017 15:26:58 +0000 (16:26 +0100)] 
test: add TEST-70-BONDBRIDGETEAMVLAN

7 years agotest/run-qemu: make "-cpu host" the default
Harald Hoyer [Wed, 18 Jan 2017 15:24:12 +0000 (16:24 +0100)] 
test/run-qemu: make "-cpu host" the default

7 years agoifcfg/write-ifcfg.sh: write DEVICE=$netif for VLAN
Harald Hoyer [Wed, 18 Jan 2017 15:22:52 +0000 (16:22 +0100)] 
ifcfg/write-ifcfg.sh: write DEVICE=$netif for VLAN

VLAN interface configuration is not bound by HWADDR but by DEVICE

7 years agobase/dracut-lib.sh: fixup trim()
Harald Hoyer [Wed, 18 Jan 2017 15:22:26 +0000 (16:22 +0100)] 
base/dracut-lib.sh: fixup trim()

no "--"

7 years agonetwork: fixup VLAN handling
Harald Hoyer [Wed, 18 Jan 2017 14:16:01 +0000 (15:16 +0100)] 
network: fixup VLAN handling

7 years agobase/dracut-lib.sh:trim() replace 'echo -n'
Harald Hoyer [Wed, 18 Jan 2017 14:15:23 +0000 (15:15 +0100)] 
base/dracut-lib.sh:trim() replace 'echo -n'

7 years agonfs: add chmod
Harald Hoyer [Wed, 18 Jan 2017 14:15:06 +0000 (15:15 +0100)] 
nfs: add chmod

7 years agobase/dracut-lib.sh: add trim()
Harald Hoyer [Fri, 10 Jun 2016 12:31:52 +0000 (14:31 +0200)] 
base/dracut-lib.sh: add trim()

trim() to remove leading and trailing whitespace

(cherry picked from commit ac422d577c1de1e94620787380932b9ccbd7b10a)

7 years agonetwork: fix vlan handling
Harald Hoyer [Wed, 18 Jan 2017 11:56:26 +0000 (12:56 +0100)] 
network: fix vlan handling

7 years agonetwork: parse multiple vlan parameters
Harald Hoyer [Fri, 1 Jul 2016 13:18:39 +0000 (15:18 +0200)] 
network: parse multiple vlan parameters

7 years agonetwork/net-genrules.sh: generate rules for all interfaces
Harald Hoyer [Fri, 10 Jun 2016 12:32:48 +0000 (14:32 +0200)] 
network/net-genrules.sh: generate rules for all interfaces

previously, if "rd.neednet" and bond was specified, only the bond
interface was configured.

https://bugzilla.redhat.com/show_bug.cgi?id=1282680
(cherry picked from commit e6ae0c61285a7ff2a5be88b276b8d0b309e0ba2e)

7 years agodracut: check for EUID instead of UID
Harald Hoyer [Wed, 18 Jan 2017 10:04:36 +0000 (11:04 +0100)] 
dracut: check for EUID instead of UID

7 years agodracut: only copy xattr, if root
Harald Hoyer [Wed, 18 Jan 2017 09:38:00 +0000 (10:38 +0100)] 
dracut: only copy xattr, if root

otherwise cp complains a lot about not being able to copy xattrs

7 years agodracut.sh: add /dev/random and /dev/urandom to static device nodes
Harald Hoyer [Wed, 18 Jan 2017 09:37:10 +0000 (10:37 +0100)] 
dracut.sh: add /dev/random and /dev/urandom to static device nodes

otherwise libgcrypt might complain

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

7 years agodracut: unset LC_* after setting LANG and LC_ALL
Harald Hoyer [Wed, 18 Jan 2017 09:35:41 +0000 (10:35 +0100)] 
dracut: unset LC_* after setting LANG and LC_ALL

otherwise bash/glibc might complain verbosely about not finding locales

7 years agofips: precreate /dev/random /dev/urandom
Harald Hoyer [Wed, 18 Jan 2017 09:34:00 +0000 (10:34 +0100)] 
fips: precreate /dev/random /dev/urandom

otherwise libgcrypt might be unhappy, if used before devtmpfs is mounted

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

7 years agonfs: dynamically chown /var/lib/rpcbind
Harald Hoyer [Wed, 18 Jan 2017 09:33:09 +0000 (10:33 +0100)] 
nfs: dynamically chown /var/lib/rpcbind

7 years agodracut-install: install kernel modules to /lib/modules/$kernelversion
Harald Hoyer [Mon, 16 Jan 2017 12:48:46 +0000 (13:48 +0100)] 
dracut-install: install kernel modules to /lib/modules/$kernelversion

Specifying a different kernel module directory with --kmoddir would
result in the same directory being the destination directory.

Strip everything before the "/lib/modules" for the destination dir.

https://github.com/dracutdevs/dracut/issues/194

7 years agoDo not "cp" the selinux context
Harald Hoyer [Wed, 11 Jan 2017 12:35:36 +0000 (13:35 +0100)] 
Do not "cp" the selinux context

replace "cp -a" with $DRACUT_CP, so in case the selinux policy disallows
root to set the selinux context in /var/tmp, dracut does not fail.

7 years agocrypt: with systemd cryptsetup is not needed
Harald Hoyer [Wed, 11 Jan 2017 07:59:22 +0000 (08:59 +0100)] 
crypt: with systemd cryptsetup is not needed

7 years agoTEST-99-RPM: fix installation loop
Harald Hoyer [Mon, 9 Jan 2017 13:48:00 +0000 (14:48 +0100)] 
TEST-99-RPM: fix installation loop

7 years agodracut.sh: add default path for --uefi
Harald Hoyer [Thu, 8 Dec 2016 16:53:40 +0000 (17:53 +0100)] 
dracut.sh: add default path for --uefi

The default output filename for --uefi is
<EFI>/EFI/Linux/linux-$kernel$-<MACHINE_ID>-<BUILD_ID>.efi.
<EFI> might be /efi, /boot or /boot/efi depending on where the ESP partition
is mounted. The <BUILD_ID> is taken from BUILD_ID in /usr/lib/os-release or
if it exists /etc/os-release and is left out, if BUILD_ID is non-existant or
empty.

Also a new option --no-machineid was added, which affects the default output
filename of --uefi and will discard the <MACHINE_ID> part.

7 years ago.dir-locals.el: changed to sane style
Harald Hoyer [Thu, 8 Dec 2016 16:52:54 +0000 (17:52 +0100)] 
.dir-locals.el: changed to sane style

7 years agotest/Makefile: proper return code for "make check"
Harald Hoyer [Fri, 11 Nov 2016 11:18:06 +0000 (12:18 +0100)] 
test/Makefile: proper return code for "make check"

(cherry picked from commit aa40b82145ecc923edfade8149c2ba892bfb664d)

7 years agoTEST-99-RPM: retry dnf 5 times in case http fails
Harald Hoyer [Mon, 14 Nov 2016 16:14:30 +0000 (17:14 +0100)] 
TEST-99-RPM: retry dnf 5 times in case http fails

7 years agoMerge pull request #193 from dsilakov/master
Harald Hoyer [Mon, 16 Jan 2017 13:12:36 +0000 (14:12 +0100)] 
Merge pull request #193 from dsilakov/master

Support multiple default gateways from DHCP server (rhbz#1408249)

7 years agoMake gateway processing POSIX-compliant 193/head
Denis Silakov [Fri, 13 Jan 2017 15:44:40 +0000 (18:44 +0300)] 
Make gateway processing POSIX-compliant

7 years agoMerge pull request #192 from dkg/doc-fixup
Harald Hoyer [Mon, 9 Jan 2017 10:58:32 +0000 (11:58 +0100)] 
Merge pull request #192 from dkg/doc-fixup

Doc fixup

7 years agoSupport multiple default gateways from DHCP server (rhbz#1408249)
Denis Silakov [Mon, 9 Jan 2017 09:55:10 +0000 (12:55 +0300)] 
Support multiple default gateways from DHCP server (rhbz#1408249)

7 years agoMerge pull request #157 from ddiss/fix_relative_tmpdir
Harald Hoyer [Mon, 9 Jan 2017 09:42:40 +0000 (10:42 +0100)] 
Merge pull request #157 from ddiss/fix_relative_tmpdir

dracut.sh: support --tmpdir as a relative path

7 years agodocs: override is not the same as overwrite! 192/head
Daniel Kahn Gillmor [Tue, 3 Jan 2017 15:08:18 +0000 (10:08 -0500)] 
docs: override is not the same as overwrite!

Some docs claimed that values in certain config files would be
overwritten, when they would actually be overridden.

Override: a file is not modified but its contents are superseded by
          something else.  (configurations set in
          /etc/dracut.conf.d/*.conf override configurations set in
          /etc/dracut.conf)

Overwrite: a file is modified or its contents replaced by an action
           (use dracut --force to overwrite the existing initramfs)

7 years agodracut.modules.7.asc: correct filename parse-instmodpost.sh in documentation
Daniel Kahn Gillmor [Tue, 3 Jan 2017 15:06:38 +0000 (10:06 -0500)] 
dracut.modules.7.asc: correct filename parse-instmodpost.sh in documentation

7 years agoMerge pull request #186 from xlpang/workspace
Harald Hoyer [Mon, 5 Dec 2016 08:29:57 +0000 (09:29 +0100)] 
Merge pull request #186 from xlpang/workspace

Introduce "rd.memdebug=4" to test kernel module memory consumption

7 years agoman: make the -k option clear using mkinitrd 185/head
Lidong Zhong [Fri, 2 Dec 2016 06:32:09 +0000 (14:32 +0800)] 
man: make the -k option clear using mkinitrd

For example under x86, someone maybe missunderstand that the vmlinuz
is the link /boot/vmlinuz points to a specific kernel image and use
the following command directly.

    mkinitrd -k vmlinuz

7 years agoMerge pull request #184 from jesa7955/fix_ssh_issue
Harald Hoyer [Wed, 30 Nov 2016 12:28:36 +0000 (13:28 +0100)] 
Merge pull request #184 from jesa7955/fix_ssh_issue

95ssh-client: attempt to copy UserKnownHostsFile to kdump's initramfs

7 years ago95ssh-client: attempt to copy UserKnownHostsFile to kdump's initramfs 184/head
Tong Li [Wed, 30 Nov 2016 09:05:57 +0000 (17:05 +0800)] 
95ssh-client: attempt to copy UserKnownHostsFile to kdump's initramfs

Bug related to this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1360131
Now dracut only attempts to copy GlobalKnownHostsFile while generating kdump's
initramfs. This method will cause kdump's failure if users set customized
UserKnownHostsFile in /etc/ssh/ssh_config. This patch simply attempts to copy
those files too while going through /etc/ssh/ssh_config. Note that we need to
make sure ~/foo will be copied as /root/foo in kdump's initramfs.

7 years agotestsuite: add "rd.memdebug=4" in TEST-01-BASIC to test rd.memdebug 183/head 186/head
Xunlei Pang [Sun, 27 Nov 2016 04:19:41 +0000 (12:19 +0800)] 
testsuite: add "rd.memdebug=4" in TEST-01-BASIC to test rd.memdebug

"rd.memdebug=4" includes all the test level, so add it to test
rd.memdebug function.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
7 years agodracut.cmdline.7.asc: update document for rd.memdebug=4
Xunlei Pang [Fri, 25 Nov 2016 06:55:43 +0000 (14:55 +0800)] 
dracut.cmdline.7.asc: update document for rd.memdebug=4

"rd.memdebug=4" is for kernel module memory consumption debugging.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
7 years ago99base: apply kernel module memory debug support
Xunlei Pang [Thu, 3 Nov 2016 11:40:16 +0000 (19:40 +0800)] 
99base: apply kernel module memory debug support

Extend "rd.memdebug" to "4", and "make_trace_mem" to "4+:komem".
Add new "cleanup_trace_mem" to cleanup the trace if active.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
7 years ago99base: add memtrace-ko.sh to debug kernel module large memory consumption
Xunlei Pang [Thu, 3 Nov 2016 11:30:41 +0000 (19:30 +0800)] 
99base: add memtrace-ko.sh to debug kernel module large memory consumption

The current method for memory debug is to use "rd.memdebug=[0-3]",
it is not enough for debugging kernel modules. For example, when we
want to find out which kernel module consumes a large amount of memory,
"rd.memdebug=[0-3]" won't help too much.

A better way is needed to achieve this requirement, this is useful for
kdump OOM debugging.

The principle of this patch is to use kernel trace to track slab and
buddy allocation calls during kernel module loading(module_init), thus
we can analyze all the trace data and get the total memory consumption.
As for large slab allocation, it will probably fall into buddy allocation,
thus tracing "mm_page_alloc" alone should be enough for the purpose(this
saves quite some trace buffer memory, also large free is quite unlikey
during module loading, we neglect those memory free events).

The trace events include memory calls under "tracing/events/":
  kmem/mm_page_alloc

We also inpect the following events to detect the module loading:
  module/module_load
  module/module_put

Since we use filters to trace events, the final trace data size won't
be too big. Users can adjust the trace buffer size via "trace_buf_size"
kernel boot command line as needed.

We can get the module name and task pid from "module_load" event which
also mark the beginning of the loading, and module_put called by the
same task pid implies the end of the loading. So the memory events
recorded in between by the same task pid are consumed by this module
during loading(i.e. modprobe or module_init()).

With these information, we can record the rough total memory(the larger,
the more precise the result will be) consumption involved by each kernel
module loading.

Thus we introduce this shell script to find out which kernel module
consumes a large amount of memory during loading. Use "rd.memdebug=4"
as the tigger.

After applying this patch and specifying "rd.memdebug=4", during booting
it will print out something extra like below:
0 pages consumed by "pata_acpi"
0 pages consumed by "ata_generic"
1 pages consumed by "drm"
0 pages consumed by "ttm"
0 pages consumed by "drm_kms_helper"
835 pages consumed by "qxl"
0 pages consumed by "mii"
6 pages consumed by "8139cp"
0 pages consumed by "virtio"
0 pages consumed by "virtio_ring"
9 pages consumed by "virtio_pci"
1 pages consumed by "8139too"
0 pages consumed by "serio_raw"
0 pages consumed by "crc32c_intel"
199 pages consumed by "virtio_console"
0 pages consumed by "libcrc32c"
9 pages consumed by "xfs"

From the print, we see clearly that "qxl" consumed the most memory.

This file will be installed as a separate executable named "tracekomem"
in the following patch.

Signed-off-by: Xunlei Pang <xlpang@redhat.com>
7 years agoMerge pull request #161 from dracut-mailing-devs/1477422589-21327-1-git-send-email...
Harald Hoyer [Tue, 15 Nov 2016 09:41:31 +0000 (10:41 +0100)] 
Merge pull request #161 from dracut-mailing-devs/1477422589-21327-1-git-send-email-stefanb@linux.vnet.ibm.com

dracut-install: preserve extended attributes when copying files

7 years agoMerge pull request #174 from haraldh/master
Harald Hoyer [Mon, 14 Nov 2016 15:35:13 +0000 (16:35 +0100)] 
Merge pull request #174 from haraldh/master

testsuite: add "-cpu host" to kvm call

7 years agoMerge pull request #173 from danimo/xennet
Harald Hoyer [Mon, 14 Nov 2016 15:34:30 +0000 (16:34 +0100)] 
Merge pull request #173 from danimo/xennet

network: Try to load xennet

7 years agotestsuite: add "-cpu host" to kvm call 174/head
Harald Hoyer [Mon, 14 Nov 2016 15:21:06 +0000 (16:21 +0100)] 
testsuite: add "-cpu host" to kvm call

7 years agoREADME.md: change centosci badge
Harald Hoyer [Mon, 14 Nov 2016 12:51:59 +0000 (13:51 +0100)] 
README.md: change centosci badge

7 years agotest/test-rhel-7.2.rpms: remove file
Harald Hoyer [Mon, 14 Nov 2016 11:30:52 +0000 (12:30 +0100)] 
test/test-rhel-7.2.rpms: remove file

7 years agoRevert "TEST-99-RPM: use --best and install all rpms"
Harald Hoyer [Mon, 14 Nov 2016 11:29:12 +0000 (12:29 +0100)] 
Revert "TEST-99-RPM: use --best and install all rpms"

This reverts commit f81806db208a55bc4a6b04eb89cabf062c79f3ef.

7 years agoTEST-99-RPM: use --best and install all rpms
Harald Hoyer [Mon, 14 Nov 2016 11:27:33 +0000 (12:27 +0100)] 
TEST-99-RPM: use --best and install all rpms

7 years agoREADME.md: add CentOS badge
Harald Hoyer [Mon, 14 Nov 2016 11:27:11 +0000 (12:27 +0100)] 
README.md: add CentOS badge

7 years agotest/TEST-99-RPM: dnf does not like any dracut subpackage
Harald Hoyer [Fri, 11 Nov 2016 15:34:42 +0000 (16:34 +0100)] 
test/TEST-99-RPM: dnf does not like any dracut subpackage

7 years agotest/TEST-99-RPM: speedup test
Harald Hoyer [Fri, 11 Nov 2016 15:04:31 +0000 (16:04 +0100)] 
test/TEST-99-RPM: speedup test

7 years agodracut.spec: add systemd-udev requirement
Harald Hoyer [Fri, 11 Nov 2016 15:04:09 +0000 (16:04 +0100)] 
dracut.spec: add systemd-udev requirement

7 years agonetwork: Try to load xennet 173/head
Thomas Renninger [Fri, 19 Sep 2014 13:34:54 +0000 (15:34 +0200)] 
network: Try to load xennet

This makes dracut boot from NFS in a xen instance.

bnc#896464, bnc#896259

Signed-off-by: Thomas Renninger <trenn@suse.de>
7 years agoREADME.testsuite: add dmraid
Harald Hoyer [Thu, 10 Nov 2016 09:56:06 +0000 (10:56 +0100)] 
README.testsuite: add dmraid

7 years agoTEST-99-RPM: append "/" to DESTDIR
Harald Hoyer [Mon, 7 Nov 2016 16:52:52 +0000 (17:52 +0100)] 
TEST-99-RPM: append "/" to DESTDIR

7 years agoMakefile: fixed DESTDIR in rpm target
Harald Hoyer [Mon, 7 Nov 2016 16:52:09 +0000 (17:52 +0100)] 
Makefile: fixed DESTDIR in rpm target

7 years agoTEST-30-ISCSI: give server more time for the head start
Harald Hoyer [Mon, 7 Nov 2016 16:22:08 +0000 (17:22 +0100)] 
TEST-30-ISCSI: give server more time for the head start

7 years agoREADME.testsuite: add more requirements
Harald Hoyer [Mon, 7 Nov 2016 16:20:43 +0000 (17:20 +0100)] 
README.testsuite: add more requirements

7 years agoTEST-99-RPM: set release version and disable update-testing repo
Harald Hoyer [Mon, 7 Nov 2016 16:20:18 +0000 (17:20 +0100)] 
TEST-99-RPM: set release version and disable update-testing repo

7 years agoTEST-99-RPM: actually use the generated rpms with dnf
Harald Hoyer [Mon, 7 Nov 2016 16:05:28 +0000 (17:05 +0100)] 
TEST-99-RPM: actually use the generated rpms with dnf

7 years agoTEST-30-ISCSI: fixed dhcpd.conf and disabled nowait
Harald Hoyer [Mon, 7 Nov 2016 12:23:39 +0000 (13:23 +0100)] 
TEST-30-ISCSI: fixed dhcpd.conf and disabled nowait

7 years agoTEST-99-RPM: add test_check() for rpm,dnf,yum
Harald Hoyer [Mon, 7 Nov 2016 12:20:35 +0000 (13:20 +0100)] 
TEST-99-RPM: add test_check() for rpm,dnf,yum

7 years agoTEST-99-RPM: create dracut rpms to install first
Harald Hoyer [Mon, 7 Nov 2016 12:15:56 +0000 (13:15 +0100)] 
TEST-99-RPM: create dracut rpms to install first

create rpms in TESTDIR first

7 years agoMakefile: create rpms in DESTDIR for target rpm
Harald Hoyer [Mon, 7 Nov 2016 12:14:49 +0000 (13:14 +0100)] 
Makefile: create rpms in DESTDIR for target rpm

7 years agoUse versioned Obsoletes
Zbigniew JÄ™drzejewski-Szmek [Mon, 7 Nov 2016 10:10:12 +0000 (11:10 +0100)] 
Use versioned Obsoletes

Also change <= N to < N+1. For example, dracut-029-1 > dracut-029, so would not
get obsoleted properly. This all applies to old versions, so doesn't make much
difference in practice, so just fix it to avoid c&p duplication of the bad
pattern in the future.

7 years agoNEWS: update for 045
Harald Hoyer [Mon, 7 Nov 2016 10:01:36 +0000 (11:01 +0100)] 
NEWS: update for 045

7 years agodracut.sh: create the initramfs non-world readable also if early cpio is used
Andreas Stieger [Mon, 7 Nov 2016 09:37:22 +0000 (10:37 +0100)] 
dracut.sh: create the initramfs non-world readable also if early cpio is used

Fixes: 5f2c30d9bcd614d546d5c55c6897e33f88b9ab90
Previously fixed CVE-2012-4453: e1b48995c26c4f06d1a718539cb1bd5b0179af91

Signed-off-by: Andreas Stieger <astieger@suse.com>
7 years agoMerge pull request #169 from floppym/50-dracut.install-bashism
Harald Hoyer [Mon, 7 Nov 2016 09:20:06 +0000 (10:20 +0100)] 
Merge pull request #169 from floppym/50-dracut.install-bashism

50-dracut.install: use /bin/bash shebang

7 years ago50-dracut.install: use /bin/bash shebang 169/head
Mike Gilbert [Fri, 4 Nov 2016 17:09:28 +0000 (13:09 -0400)] 
50-dracut.install: use /bin/bash shebang

This script utilizes several bash-specific constructs.