GithubHelp home page GithubHelp logo

paxillusit / build-subscription-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from djelibeybi/build-subscription-manager

0.0 0.0 0.0 26 KB

Build subscription-manager RPMs for Oracle Linux in a container

Home Page: https://omg.dje.li/2021/01/building-subscription-manager-rpms-for-oracle-linux/

License: Universal Permissive License v1.0

Shell 79.82% Dockerfile 20.18%

build-subscription-manager's Introduction

Building subscription-manager RPMs on Oracle Linux

This repository contains the Dockerfile and build-rshm.sh files to automatically build the appropriate subscription-manager RPMs for Oracle Linux 7, 8 and 9.

Requirements

A host machine that has a relatively recent version of Docker installed. I've tested this on Oracle Linux, macOS and Windows (using Docker Desktop).

If you want to use GPG to sign the binary RPMs, export your public and private keys and concatenate them into ./gpg/key.asc under each of ./oraclelinux7, ./oraclelinux8 and ./oraclelinux9. You will also need to place your key passphrase in ./gpg/passphrase.

NOTE: remember to delete these files afterwards!

Building the RPMs

To build the RPMs, replace Jane Builder and [email protected] in the example below with your actual name and email address as stored in your GPG key. If GPG_NAME_EMAIL doesn't match your key, the packages will not be signed.

export GPG_NAME_EMAIL="Jane Builder <[email protected]>

Oracle Linux 7

cd oraclelinux7
./build-rhsm-ol7.sh

Note: The RPMs for Oracle Linux 7 are renamed slightly from upstream because Oracle obsoletes subscription-manager. In this case, the main RPM is named subscription-manager-el7 and it obsoletes all the packages that provide Spacewalk and ULN support.

Oracle Linux 8

cd oraclelinux8
./build-rhsm-ol8.sh

Oracle Linux 9

cd oraclelinux9
./build-rhsm-ol9.sh

License

Copyright (c) 2021, 2023 Avi Miller.

Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/

build-subscription-manager's People

Contributors

djelibeybi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.