You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Create package dir (when dpkg -b blikvm-1.5.5 will create blikvm-1.5.5.deb package)
VERSION="1.5.5"
mkdir -p blikvm-$VERSION
cd blikvm-$VERSION
mkdir -p DEBIAN
cat < CONTROL > DEBIAN/control
Package: blikvm
Version: $VERSION
Architecture: arm64
Maintainer: [email protected]
Depends: libconfig-dev
Description: Installs blikvm-$VERSION-alpha on the BliKVM
CONTROL
### add the files you want to add to the package
tar cf - /usr/local/bin/ | tar xf -
tar cf - /mnt/upload/ | tar xf -
tar cf - /mnt/exec/ | tar xf -
tar cf - /mnt/msd/ | tar xf -
tar cf - /usr/bin/blikvm | tar xf -
tar cf - /lib/systemd/system/kvmd* | tar xf -
tar cf - /opt/janus/ | tar xf -
### create deb package using the contents of blikvm-$VERSION directory
cd ..
dpkg -b blikvm-$VERSION
# show contents of the deb package and make sure this is what you want
dpkg -c blikvm-$VERSION.deb
# when ready, copy the blikvm-$VERSION.deb package to new blikvm v4 package, and run `dpkg -i blikvm-$VERSION.deb` to install it
# verify that blikvm works properly by enabling/starting kvmd-web.service
systemctl enable --now kvmd-web
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: