Giter VIP home page Giter VIP logo

debian-repos's Introduction

Debian-Repos

Debian-Repos is a set of scripts to build TI's Debian packages with a single command.

The generation of a Debian package (binary and source) involves many steps, such as obtaining the tar of the source code, generating template files, modifying template files and the build system, setting environment variables etc. The run.sh script handles these steps, thus the building of a deb package for TI's packages is as simple as running run.sh with the desired package's name.

This repository is useful to the following audience:

  1. Potential package contributors who want to fix bugs or add enhancements to TI packages
  2. Users who want a package with the latest changes to the master branch
  3. Anyone who wants to study Debian packaging

Structure and HowTo Use:

The run.sh file is the "main" script that should be run. It takes as argument the name of the package to be built.

Each TI package has a corresponding directory, named after its source package. Within this directory exists the suite/<distro-variant>/debian/ path. All Debian related files (control, rules, man pages etc) for the package are located here.

There also exists a <package-name>/version.sh file. This file is sourced by run.sh. It exports a bunch of variables for run.sh to use. It also contains a run_prep function, which run.sh calls. run_prep carries out all package-specific operations needed to build the deb files.

To build a package, the syntax is:

./run.sh <package-name>

This command carries out all necessary steps to build the package. The package and all related files are then stored in build/<package-name>. Note that certain packages may require root privileges.

For example: to build ti-linux-kernel, the command is:

./run.sh ti-linux-kernel

The output is then found in build/ti-linux-kernel/.

debian-repos's People

Contributors

glneo avatar sskartheekadivi avatar jsuhaas22 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.