Skip to content

devfilipe/elbe-demo-pkg-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elbe-demo-pkg-hello

Debian packaging for elbe-demo-app-hello. This repository provides the debian/ directory that turns the hello C application into an installable .deb package for use in ELBE-built root filesystems.

Contents

elbe-demo-pkg-hello/
├── debian/
│   ├── changelog        # Package version history
│   ├── control          # Package metadata (name, dependencies, architecture)
│   ├── rules            # Build rules (calls the app's Makefile)
│   └── source/
│       └── format       # Source package format (3.0 native)
└── dist/                # Build artifacts (.deb, .dsc, .tar.*) — generated

Build

The package must be built inside the ELBE dev container (or any environment with dpkg-buildpackage and debhelper available).

# From inside the container
cd /workspace/packages/elbe-demo-pkg-hello
dpkg-buildpackage -us -uc -b

Build artifacts (.deb, .buildinfo, .changes) are placed in dist/.

Alternatively, use the elbe-ui web interface: navigate to the Packages page, select elbe-demo-pkg-hello, and click Build.

Adding to the local APT repository

After building, copy the .deb into the local APT repository and rebuild the index:

cp dist/elbe-demo-pkg-hello_*.deb \
   /workspace/tools/elbe-demo-apt-repository/repo/
cd /workspace/tools/elbe-demo-apt-repository
bash build-repo.sh

Or use the APT Repository page in elbe-ui to upload and rebuild in one step.

Package details

Field Value
Source elbe-demo-pkg-hello
Binary elbe-demo-pkg-hello
Architecture amd64
Section misc
Build dependencies debhelper-compat (= 13), gcc, make

License

See the LICENSE file.

About

Debian packaging for elbe-demo-app-hello. This repository provides the debian/ directory that turns the hello C application into an installable .deb package for use in ELBE-built root filesystems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors