Skip to content

PeterDaveHello/deb-auto-build

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

This is a beta verion

No dangerous and harm, but it's not complete!

deb-auto-build

Try to build deb packages and handle dependencies automatically.

Because we use Debian-wheezy on a sh4 platform, there is no official binary repository and support, we need to build the packages from source by ourselves, but the dependencies of packages make people crazy, we need a solution to handle it, so I an writing this shell script for a practice.

Required

Package and it's dependencies:
devscripts bash tmux

And you need to be root!

Before use it

varible REPO in the script is a local apt repo's path

You need to check the path in the script is correct for you.

I will show you my directory structure here:

/root
|----/temp
Building packages here!so the script will be here!
|----/apt-repo/dists/wheezy-sh4/main/binary-sh4
Local apt repo

It's very simple!

Usage

start a tmux session and run(you MUST start a tmux session and run this script in it):
./build.sh Package1 Package2 ... Package-N

or you can run this command for build dep only:
./build.sh --build-dep-only Package1 Package2 ... Package-N

Notes

I am doing thins on a NextVodBox, but it may works on other platform.

About

a shell script to build deb packages and handle their dependencies automatically!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages