Files
.infineon/_-Review/snapcraft.md
2024-11-06 12:39:13 -07:00

1.5 KiB

type, created, updated
type created updated
note 2024-06-14T04:44:54.000Z 2024-06-14T04:44:54.000Z

snapcraft

sudo -i
snap install snapcraft --classic
snap install lxd
exit
sudo usermod -a -G lxd $USER
lxd init --minimal
mkdir phares-odoo
cd phares-odoo
snapcraft init
nano snap/snapcraft.yaml
name: phares-odoo # you probably want to 'snapcraft register <name>'
base: core22 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Odoo-All your business on one platform. Simple, efficient, yet affordable!  # 79 char long summary
description: All your business on one platform. Simple, efficient, yet affordable! #
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots

parts:
  my-part:
    # See 'snapcraft plugins'
    plugin: python
    source-type: git
    source: https://github.com/liquidctl/liquidctl
# snapcraft register phares-odoo
snapcraft
snapcraft --debug
sudo snap install phares-odoo_0.1_amd64.snap --dangerous --devmode
mount | grep phares-odoo
snap list
snap info phares-odoo_0.1_amd64.snap
sudo apt install python3-pip -y
sudo apt install liquidctl -y