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 support for Debian 12 and Fedora 40 #101

Merged
merged 9 commits into from
Apr 1, 2024
Merged

Commits on Mar 30, 2024

  1. workflows: Skip Deploy step if secrets are not set

    Skips the deployment step if we do not have the write credentials.
    
    This ensures that forks can still run the workflow successfully
    without publishing any container images.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    31fc737 View commit details
    Browse the repository at this point in the history
  2. build-install-dumb-init: Do not remove python3-pip

    All the distros explicitly install python3-pip in their Dockerfile.
    Installing python3-pip in build-install-dumb-init.sh is redundant.
    
    However, since only Debian, Ubuntu, and openSUSE remove python3-pip
    in build-install-dumb-init.sh this makes the container images
    inconsistent.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    459b4c0 View commit details
    Browse the repository at this point in the history
  3. debian: Clean up package lists

    This sorts the list of packages and replaces tabs with spaces to
    make it consistent between the two Debian releases.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    e723553 View commit details
    Browse the repository at this point in the history
  4. all: Install Python virtualenv package from distro

    The Python virtualenv package is provided by all distros.  We were
    installing it with pip, however recent changes in Python produce
    an error message:
    
      error: externally-managed-environment
    
    This uses the package provided by the distro instead.
    
    CentOS 7 calls the package python-virtualenv, but the virtualenv
    command functions correctly with python3.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    0dfacfe View commit details
    Browse the repository at this point in the history
  5. build-install-dumb-init: Do not source pokysdk for dumb-init

    The buildtools environment is intended for running the poky builds.
    
    It was sourced to provide Python3 to create a virtualenv for building
    dumb-init.  However, dumb-init is not related to Poky.  The Python
    interpreter and necessary tools should come from the distro.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    59399df View commit details
    Browse the repository at this point in the history
  6. ubuntu/debian: Add python-virtualenv for old releases

    The virtualenv script is provided by the python-virtualenv package
    in the older Debian and Ubuntu releases.
    
    This means that we need to install both python-virtualenv and
    python3-virtualenv in order to use the virtualenv command with
    Python3 and the Python3 version of the virtualenv module.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    cba1f36 View commit details
    Browse the repository at this point in the history
  7. debian: Add Debian 12

    This is based on Debian 11 with the addition of the file package.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    2d5cd3a View commit details
    Browse the repository at this point in the history
  8. fedora: Add Fedora 40

    Based on the Fedora 39 Dockerfile.
    
    Fedora 40 replaces wget with the re-write wget2.  This drop-in
    replacement does not yet have support for FTP. As a result the
    bitbake fetcher fails when it uses the wget provided by Fedora
    with --passive-ftp.
    
    The workaround is to use the poky build tools to use the
    wget-native provided by the Yocto Project.
    
    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    8fc6fc8 View commit details
    Browse the repository at this point in the history
  9. workflows: Add Debian 12 and Fedora 40

    Signed-off-by: Rob Woolley <[email protected]>
    robwoolley committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    bdf255d View commit details
    Browse the repository at this point in the history