Implementation of pkgfs for dpkg.
./dpkg-fs /path/to/mount
- Mountpoint features both
index/
andinstalled/
! - Each package has a description, version and size files.
- Packages have a
dependencies
folder with symlinks to their dependencies. - Install packages via
/pkg/index/name/install
- And uninstall via
/pkg/installed/name/uninstall
- Sync to remote with
/pkg/sync
- Installed packages have a
files/
directory, which contains the tree of files the package installed on the filesystem.
Since this is still in development, no package is provided yet.
SBCL and quicklisp are build dependencies.
$ git clone https://github.com/ralt/dpkg-fs ~/common-lisp/dpkg-fs
$ cd ~/common-lisp/dpkg-fs
$ make
$ ./dpkg-fs /pkg
Here is a dpkgfs.service
file you can put in /etc/systemd/system/
to have systemctl enable dpkgfs
available:
[Unit]
Description=dpkg as filesystem
[Service]
ExecStart=/home/$USER/common-lisp/dpkg-fs/dpkg-fs /pkg
Type=simple
[Install]
WantedBy=multi-user.target