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 tool for building DEB/RPM packages #3781

Merged
merged 6 commits into from
May 3, 2022

Commits on May 3, 2022

  1. Import script for building Linux binaries

    The tools/make-binaries script creates self-contained OTP releases for
    Linux/x64 and Linux/arm64 systems.  All optional ejabberd features are
    supported.  Erlang/OTP, Elixir, and all dependencies are downloaded and
    built from source (using crosstool-NG).  The generated binaries depend
    on glibc 2.17 or later, all other external libraries are linked
    statically.
    
    The script should work on any non-ancient Linux/x64 system and requires
    just a few common development tools (to bootstrap crosstool-NG).
    
    The release is installed by creating an "ejabberd" user, extracting the
    archive into /opt, and moving the systemd unit (or init script) into
    place.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    b2eb494 View commit details
    Browse the repository at this point in the history
  2. Import script for building DEB and RPM packages

    The tools/make-packages script creates DEB and RPM packages for
    Linux/x64 and Linux/arm64 systems using the archives built by the
    tools/make-binaries script.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    ec73475 View commit details
    Browse the repository at this point in the history
  3. Import script for building command line installers

    The tools/make-installers script creates command line installers for
    Linux/x64 and Linux/arm64 systems using the archives built by the
    tools/make-binaries script.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    698c855 View commit details
    Browse the repository at this point in the history
  4. make-binaries: Try to avoid rebuilding deps

    Don't rebuild external dependencies if all of them are up to date.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    7689ce1 View commit details
    Browse the repository at this point in the history
  5. Add GitHub Action to build binary packages

    Publish DEB and RPM packages as well as binary installers for each
    commit that modifies source code.  This allows for testing development
    code, and makes sure that problems with building binary packages are
    noticed early on.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    57c26bd View commit details
    Browse the repository at this point in the history
  6. make-binaries: Update to Crosstool-NG 1.25.0-RC2

    Update Crosstool-NG to the current release candidate, and use much
    shorter "defconfig" files for specifying the configuration.
    weiss committed May 3, 2022
    Configuration menu
    Copy the full SHA
    0924415 View commit details
    Browse the repository at this point in the history