Debian packaging repository for cockpit-package-manager.
Repository: https://github.com/hatlabs/cockpit-package-manager
Cockpit-based package manager using PackageKit, inspired by Raspberry Pi's Add/Remove Software.
This repository contains only Debian packaging files for building .deb packages of cockpit-package-manager. The upstream source is maintained at hatlabs/cockpit-package-manager.
debian/- Standard Debian packaging directorycontrol- Package metadata and dependenciesrules- Build instructions (builds with npm)changelog- Version history in Debian formatcopyright- License information (LGPL-2.1+)install- File installation mappingscompat- Debhelper compatibility level (13)source/format- Source package format (3.0 native)
The build process expects the upstream source to be available as cockpit-package-manager/ (either a symlink or cloned repository):
# Clone the upstream repository (if not already present)
git clone https://github.com/hatlabs/cockpit-package-manager.git
# Or create a symlink to an existing checkout
# ln -s ../cockpit-package-manager cockpit-package-manager
# Build using Docker (recommended)
./run package:deb:docker
# Or build natively (requires Debian/Ubuntu with build dependencies)
dpkg-buildpackage -us -uc -b
# Package will be created in parent directory
ls ../*.deb- debhelper-compat (= 13)
- nodejs (>= 18)
- npm
- Package name: cockpit-package-manager
- Architecture: all (JavaScript/TypeScript, platform independent)
- Dependencies:
- cockpit (>= 276)
- packagekit
- Installation path: /usr/share/cockpit/packagemanager/
index.html- Main HTML entry pointmanifest.json- Cockpit manifestpackagemanager.js- Bundled application JavaScriptpackagemanager.js.map- Source map for debuggingpackagemanager.scss- Styles (included in build)
Follow semantic versioning:
- 0.1.0: Initial release
- 0.2.0: First feature additions
- Use Debian revision -1 for initial packaging of each upstream version (e.g., 0.1.0-1)
# Install the package
sudo dpkg -i cockpit-package-manager_0.1.0-1_all.deb
# If dependencies are missing, fix with:
sudo apt-get install -f
# Test in Cockpit
# Open http://localhost:9090 and look for "Package Manager" in the menu
# Remove the package
sudo apt-get remove cockpit-package-managerThis package is designed to be included in HaLOS images. To add to pi-gen builds:
- Build the .deb package
- Copy to the APT repository in
apt.hatlabs.fi/ - Update the repository index
- Add to the package list in the appropriate pi-gen stage
Matti Airas matti.airas@hatlabs.fi
LGPL-2.1-or-later (same as Cockpit and upstream source)