Giter Club home page Giter Club logo

brave-release's Introduction

Brave-release

This repository contains files that will build the packages that we use to enable our distribution on Linux platforms.

Dependencies

  1. To build RPMs you'll need the 'mock' package installed, as well as 'rpm-sign' if you plan on signing packages: dnf install mock rpm-sign on fedora, mock rpmsign on debian/ubuntu

  2. To build debs you'll need the 'debhelper' and 'build-essential' packages installed: apt install debhelper build-essential on ubuntu/debian, dpkg on fedora.

Instructions

RPM

Build the RPM. Note this will take a while the first time as it needs to create each dist's chroot:

$ cd rpm
$ make

Resulting packages will be placed in brave-release/rpm/output

deb
$ cd deb
$ make

Resulting packages will be placed in brave-release/deb/output

Things likely to need updates

  • Certificates. These change, and when these change we'll need to update this package to include new certificates and to revoke old ones.

  • New dists. When a new EL, Fedora, Ubuntu, or Debian come about we'll need to build packages for them.

Usage and testing

RPM
$ sudo rpm --import file.asc
$ sudo dnf install rpm/output/brave-release-1.0-1.fc29.x86_64.rpm
$ sudo dnf config-manager --set-enabled brave-release # (or brave-beta or brave-nightly)
$ sudo dnf install brave-browser
deb
$ cat deb/brave.asc | sudo apt-key add - # TODO: put real key here
$ sudo dpkg -i deb/output/brave-release-xenial.deb
$ sudo sed -i 's/Enabled: false/Enabled: true/' /etc/apt/sources.list.d/brave-release.sources
$ sudo apt-get update && sudo apt-get install brave-browser

Improvements

  • We should decide how we'll handle certificates. Should local copies live in here, or should we fetch them from somewhere known beforehand?

brave-release's People

Contributors

bkero avatar ckujau avatar fmarier avatar gw0 avatar mbacchi avatar oajara avatar thypon avatar wknapik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.