Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests to suse/dracut.spec #1

Open
wants to merge 185 commits into
base: main
Choose a base branch
from
Open

add tests to suse/dracut.spec #1

wants to merge 185 commits into from

Conversation

r-richardson
Copy link
Owner

This pull request changes...

Changes

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

teigland and others added 30 commits February 7, 2022 13:34
This udev rule runs pvscan to autoactivate VGs, which dracut
does not want to do, and previously disabled by editing the
rule file and commenting out lines.

This also stops /dev/disk/by-id/lvm-pv-uuid-* symlinks from
being created in the initrd.

Cherry-picked from upstream 50e7466
revert(lvm): remove 69-dm-lvm-metad.rules (bsc#1195604)
fix(dasd_rules): correct udev dasd rules parsing (bsc#1195309)
Fixes a regression with systemd not running units with ConditionNeedsUpdate set in initrds

(cherry picked from commit dcbe23c)
There are three files that differ from upstream:
- /usr/lib/sysusers.d/tpm2-tss.conf       -> system-user-tss.conf
- /usr/lib/tmpfiles.d/tpm2-tss-fapi.conf  -> tpm2-tss-fapi-3.1.0.conf
- /usr/lib/udev/rules.d/60-tpm-udev.rules -> 90-tpm.rules
fix(systemd-sysusers): override systemd-sysusers.service (bsc#1195983)
fix(tpm2-tss): install SUSE specific files (bsc#1195984)
This will be used for future device major/minor testing. Convert the
current fifo test to use it.

Signed-off-by: David Disseldorp <[email protected]>
(cherry picked from commit 80e70f7)
This tests dracut-cpio's handling of rmajor / rminor values compared to
GNU cpio. The test requires root, due to mknod invocation for block
device node creation.

Signed-off-by: David Disseldorp <[email protected]>
(cherry picked from commit 8bd7ddf)
dev_t -> major/minor number mapping is more complicated than the
incorrect major=(dev_t >> 8) minor=(dev_t & 0xff) mapping that we
currently perform. Fix mapping to match Linux / glibc behaviour.

Fixes: dracutdevs/dracut#1695
Reported-by: Ethan Wu <[email protected]>
Signed-off-by: David Disseldorp <[email protected]>
(cherry picked from commit acc629a)
fix(cpio): test and fix dev_t -> rmajor / rminor mapping (bsc#1195808)
Fixes the regression introduced by systemd/systemd#20056
As discussed in #1656 and #1657

(cherry picked from commit fec93bb)
fix(systemd-sysusers): use split systemd sysuser configs (bsc#1196223) (SLE15-SP4:GA)
fix(multipath): align multipathd.service type with upstream (bsc#1196958) (SLE15-SP4:GA)
fix(resume): only exclude this module when swap is netdev (bsc#1194915) (SLE15-SP4:GA)
@r-richardson r-richardson force-pushed the add_tests branch 3 times, most recently from ebd0f46 to c294760 Compare August 5, 2022 13:31
@r-richardson r-richardson force-pushed the add_tests branch 3 times, most recently from 7e4c57f to 2fd7b1a Compare August 29, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants