Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-819

Check TPM image mode compliance

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-kernel-livepatching
    • CK-March-2025
    • 1

      Compliance source:

      • Considerations for kernel test case adaptation.
        • No dnf/yum install allowed in scripts
        • /mnt/testarea will not be writable; only /etc and /var
          • So no support for Beaker task rpms in ImageMode
          • Cases that hard-code this path will need update
        • New home dirs -  /var/home, /var/roothome (/root symlinked to /var/roothome)
        • Tests that update kernel/configs not allowed
          • grub2-mkconfig / grubby - won’t work
          • /boot/vmlinuz-* does not exist; moved to /boot/ostree/default-###/vmlinuz-*
          • Need: best practice for updating the kernel, params, using modules
        • mktemp does still work (/tmp as /var/tmp)
        • .bashrc not sourced automatically
          • Set up /root/.bashrc; when SSH into qemu image, it was not sourced automatically
            • To quote Luis: “it is BootC, not RunC or RuntimeC. Has it booted? The work is done
          • Might be important for teams that rely on putting vars there and expect tests to have them available
          • Alternative: put custom script in /etc/profile.d/, this appears to work for SSH login at least

              rh-ee-daleksan Denis Aleksandrov
              rh-ee-daleksan Denis Aleksandrov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: