Harald Hoyer
67f43d2124
test: fixed test.log name
7 years ago
Harald Hoyer
0ae5848245
travis: git pull more depth
7 years ago
Harald Hoyer
9f02b291ac
travis: git pull --tags
7 years ago
Harald Hoyer
2b77ba0b75
travis: fight with yaml
7 years ago
Harald Hoyer
6f90be2971
travis: fixup
7 years ago
Harald Hoyer
110063c585
travis: git check
7 years ago
Harald Hoyer
51d0a54555
travis: use own logtee.c to reduce log output
7 years ago
Harald Hoyer
c31a80c9ed
TEST-01: remove memdebug
7 years ago
Harald Hoyer
79afb279c2
travis: fedora-test.sh send dnf output to dev/null
7 years ago
Harald Hoyer
3c8d3a6565
travis: don't run TEST-40-NBD
7 years ago
Harald Hoyer
01f9d0d9bf
travis: combine more tests
7 years ago
Harald Hoyer
3111988680
dracut.sh: remove bogus dir removal for --rebuild
7 years ago
Harald Hoyer
1ebbe2eb7b
travis: combine jobs
7 years ago
Harald Hoyer
65d16d1914
travis: extend matrix
7 years ago
Harald Hoyer
da5a44cfb7
.travis.yml: add gitter notifications
7 years ago
Harald Hoyer
75b8b144a1
fedora-test.sh: don't parallelize travis tests
7 years ago
Harald Hoyer
1363167d65
Update README.md
7 years ago
Harald Hoyer
d15c15c8f5
test/test-functions: be verbose for any $V not empty
7 years ago
Harald Hoyer
9288d21b9f
TEST-50-MULTINIC: removed bogus qemu compat server call
7 years ago
Harald Hoyer
cafe6675c2
test/run-qemu: move -cpu host to kvm args
7 years ago
Harald Hoyer
fba4d28433
TEST-50-MULTINIC: fixed server.log
7 years ago
Harald Hoyer
b7774da97c
might even run without kvm
7 years ago
Harald Hoyer
3c1a083e5c
add travis build job
7 years ago
Harald Hoyer
0f294d90b2
TEST-31-ISCSI-MULTI: increase verbose level
7 years ago
Harald Hoyer
a2dbecfcd6
test: add TEST_RUN_ID
7 years ago
Harald Hoyer
604c09b1da
TEST-31-ISCSI-MULTI/test.sh: fixed test description
7 years ago
Harald Hoyer
f9c8b3112a
TEST-50-MULTINIC/test.sh: fixed server startup
7 years ago
Harald Hoyer
bb75d16521
kernel-network-modules: add vlan kernel modules
7 years ago
Harald Hoyer
ca8f1c1ba3
test: fixed KVERSION and qemu backwards compatiblity
7 years ago
Harald Hoyer
94cc856cb8
TEST-70-BONDBRIDGETEAMVLAN: load vlan kernel modules
7 years ago
Harald Hoyer
827a5b1a80
test: also output server.log on failure
7 years ago
Harald Hoyer
393da0c370
TEST-50-MULTINIC: s/--device/-device
7 years ago
Harald Hoyer
82fe4ea0a5
enable parallel test suite
...
$ time sudo make -j SKIP=14 V=2 check
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-13-ENC-RAID-LVM'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-40-NBD'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-04-FULL-SYSTEMD'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-12-RAID-DEG'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-15-BTRFSRAID'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-16-DMSQUASH'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-17-LVM-THIN'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-11-LVM'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-31-ISCSI-MULTI'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-20-NFS'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-99-RPM'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-02-SYSTEMD'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-30-ISCSI'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-01-BASIC'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-03-USR-MOUNT'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-70-BONDBRIDGETEAMVLAN'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-50-MULTINIC'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-10-RAID'
make[1]: Entering directory '/home/harald/git/dracut/test/TEST-18-LVM-ENC-LV'
TEST: root filesystem on an encrypted LVM PV on a degraded RAID-5 [STARTED]
TEST: root filesystem on NBD [STARTED]
TEST: root filesystem on NBD [SKIPPED]
TEST: Full systemd serialization/deserialization test with /usr mount [STARTED]
TEST: root filesystem on multiple device btrfs [STARTED]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-40-NBD'
TEST: root filesystem on a LiveCD dmsquash filesystem [STARTED]
TEST: root filesystem on a LiveCD dmsquash filesystem [SKIPPED]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-16-DMSQUASH'
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [STARTED]
TEST: root filesystem on LVM PV [STARTED]
TEST: rpm integrity after dracut and kernel install [STARTED]
TEST: root filesystem on NFS [STARTED]
TEST: root filesystem over iSCSI [STARTED]
TEST: root filesystem on LVM PV with thin pool [STARTED]
TEST: root filesystem over iSCSI [STARTED]
TEST: root filesystem on a ext3 filesystem [STARTED]
TEST: root filesystem on a ext3 filesystem [STARTED]
TEST: root filesystem on a btrfs filesystem with /usr subvolume [STARTED]
TEST: root filesystem on NFS with bridging/bonding/vlan [STARTED]
TEST: root filesystem on NFS with multiple nics [STARTED]
TEST: root filesystem on an encrypted LVM PV on a RAID-5 [STARTED]
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [STARTED]
TEST: root filesystem on LVM PV [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-11-LVM'
TEST: root filesystem on multiple device btrfs [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-15-BTRFSRAID'
TEST: root filesystem on LVM PV with thin pool [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-17-LVM-THIN'
TEST: root filesystem on a ext3 filesystem [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-02-SYSTEMD'
TEST: root filesystem on a btrfs filesystem with /usr subvolume [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-03-USR-MOUNT'
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-18-LVM-ENC-LV'
TEST: Full systemd serialization/deserialization test with /usr mount [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-04-FULL-SYSTEMD'
TEST: root filesystem on an encrypted LVM PV on a RAID-5 [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-10-RAID'
TEST: root filesystem on LVM on encrypted partitions of a RAID-5 [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-13-ENC-RAID-LVM'
TEST: root filesystem over iSCSI [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-30-ISCSI'
TEST: root filesystem on a ext3 filesystem [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-01-BASIC'
TEST: root filesystem over iSCSI [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-31-ISCSI-MULTI'
TEST: rpm integrity after dracut and kernel install [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-99-RPM'
TEST: root filesystem on NFS [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-20-NFS'
TEST: root filesystem on NFS with bridging/bonding/vlan [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-70-BONDBRIDGETEAMVLAN'
TEST: root filesystem on an encrypted LVM PV on a degraded RAID-5 [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-12-RAID-DEG'
TEST: root filesystem on NFS with multiple nics [OK]
make[1]: Leaving directory '/home/harald/git/dracut/test/TEST-50-MULTINIC'
real 9m3,969s
user 22m50,323s
sys 5m24,411s
7 years ago
Harald Hoyer
ffbd37d784
TEST-31-ISCSI-MULTI: use different port than TEST-30
7 years ago
Harald Hoyer
ab94a204e0
load modules earlier for iscsi via dhcp root-path
7 years ago
Harald Hoyer
6058b06b86
test/{TEST-50-MULTINIC,TEST-70-BONDBRIDGETEAMVLAN}: use qemu-3.0 syntax
...
use qemu-3.0 syntax for network devices
7 years ago
Harald Hoyer
26aea0299a
multipath-shutdown: fix shell syntax
...
seems like a misplaced $()
7 years ago
Harald Hoyer
0a80cda0ea
dracut.spec: remove warpclock from z-series, not the other way round
7 years ago
Harald Hoyer
6f0500ed4a
iscsi: remove $() where it does not fit
...
also simplify iscsiadm command to one call
7 years ago
Harald Hoyer
746135dd1e
mdraid: better handling of various UUID formats
7 years ago
Lukas Nykryn
a762dedb60
dracut-functions: fix the word splitting
7 years ago
Nicolas Chauvet
a0c915b1e4
Add gpio and pinctrl drivers for arm*/aarch64
...
This is needed since few gpio/pinctrl can be built as modules and are
useful on early boot.
One example is jetson-tx1 where sata and external mmc can work only
after loading pinctrl-max77620 and gpio-max77620 modules.
Having theses kind of drivers bundled into the initramfs will also
avoid some deferred probes.
V2: add pinctrl for all arches
Signed-off-by: Nicolas Chauvet <kwizart@gmail.com>
7 years ago
Harald Hoyer
99df3d22be
mdraid/parse-md.sh: also accept rd.md.uuid with ":"
...
convert rd.md.uuid=32ef2172:f056:6fa7:66a8:2f7fc8b1798
to udev rules in the correct UUID format 32ef2172-f056-6fa7-66a8-2f7fcf8b1798
7 years ago
Yu Watanabe
be98291caf
spec: sort modules
...
Also drops remaining %defattr.
7 years ago
Yu Watanabe
33782aebbf
spec: warpclock is not available on s390 or s390x
7 years ago
Harald Hoyer
55a12055c5
dracut.spec: Remove needless use of %defattr
7 years ago
Harald Hoyer
25111d717e
dracut.spec: add 00warpclock dracut module
7 years ago
Harald Hoyer
819ea38651
Bring back 51-dracut-rescue-postinst.sh
...
can only be obsoleted after F30
7 years ago
Kairui Song
143420bc05
lsinitrd: update help message and man page
...
Signed-off-by: Kairui Song <kasong@redhat.com>
7 years ago
Kairui Song
986b12d391
lsinitrd: optimize performance when handling multiple files
...
Currently, when trying to unpack or print the content of multiple
files, lsinitrd will decompress the image and pipe the decompressed
content to cpio to retrive each file if the image is compressed.
Which mean if we want to extract 10 files the image will be decompressed
10 times, which is a waste of time.
This patch will let lsinitrd decompress the image file to a temp file
first if multiple file names are given, then cpio will read from the
decompressed temp file, which will speed up a lot.
Time consumption test for command:
`lsinitrd initramfs-4.16.15-300.fc28.x86_64.img \
usr/lib/dracut/build-parameter.txt \
usr/lib/dracut/modules.txt \
etc/machine-id \
etc/hostname \
usr/lib/udev/rules.d/99-systemd.rules`
Before the patch:
2.37user 0.33system 0:02.12elapsed
After the patch:
0.50user 0.42system 0:00.72elapsed
There would be a more significant time difference if we try to
extract more files.
7 years ago