Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Add podman #155

Closed
wants to merge 2 commits into from
Closed

Add podman #155

wants to merge 2 commits into from

Commits on Mar 15, 2021

  1. Import podman related ebuilds

    Import them from Gentoo upstream with adjusted `PYTHON_COMPAT`.
    Like stated in [1] I used `python3_7` instead of the higher versions.
    
    1: https://kinvolk.io/docs/flatcar-container-linux/latest/reference/developer-guides/sdk-modifying-flatcar/
    jubalh committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    6425784 View commit details
    Browse the repository at this point in the history
  2. app-crypt/gpgme: disable tests

    The tests fail in our case because they try to run gpg-agent:
    ```
    F: mkdir
    S: deny
    P: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    A: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    R: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    C: gpg-agent --homedir
    /build/amd64-usr/var/tmp/portage/app-crypt/gpgme-1.15.1/work/b/tests/json
    --use-standard-socket --daemon
    
    F: mkdir
    S: deny
    P: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    A: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    R: /run/user/1000/gnupg/d.ph5m99dhy9r3j8bfqigd5zhz
    C: gpg --batch --no-permission-warning --import
    ../../tests/gpg/secdemo.asc
    
    F: mkdir
    S: deny
    P: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    A: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    R: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    C: gpg-connect-agent --no-autostart --dirmngr KILLDIRMNGR
    
    F: mkdir
    S: deny
    P: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    A: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    R: /run/user/1000/gnupg/d.tsrkj355xodiytsa45prsa8p
    C: gpg-connect-agent -s --no-autostart GETINFO scd_running /if ${! $?}
    scd killscd /end
    ```
    
    At first I wanted to use `RESTRICT="test` to omit them.
    But we need to omit the actual run of gnupg too and according to [1]
    `RESTRICT` doesn't work on `src_setup()`.
    
    So I figured like this it's the least intrusive change to stay similar
    to the gentoo ebuild.
    
    1: https://devmanual.gentoo.org/ebuild-writing/variables/index.html
    jubalh committed Mar 15, 2021
    Configuration menu
    Copy the full SHA
    142f6cf View commit details
    Browse the repository at this point in the history