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.
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
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 -bBuild 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.
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.shOr use the APT Repository page in elbe-ui to upload and rebuild in one
step.
| Field | Value |
|---|---|
| Source | elbe-demo-pkg-hello |
| Binary | elbe-demo-pkg-hello |
| Architecture | amd64 |
| Section | misc |
| Build dependencies | debhelper-compat (= 13), gcc, make |
See the LICENSE file.