Removed mklink for git
This commit is contained in:
51
_-Review/snapcraft.md
Normal file
51
_-Review/snapcraft.md
Normal file
@ -0,0 +1,51 @@
|
||||
---
|
||||
type: "note"
|
||||
created: "2024-06-14T04:44:54.000Z"
|
||||
updated: "2024-06-14T04:44:54.000Z"
|
||||
---
|
||||
|
||||
# snapcraft
|
||||
|
||||
- [create-a-new-snap](https://snapcraft.io/docs/create-a-new-snap)
|
||||
|
||||
```bash Thu Jun 13 2024 18:36:16 GMT-0700 (Mountain Standard Time)
|
||||
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
|
||||
```
|
||||
|
||||
```yml Thu Jun 13 2024 18:58:40 GMT-0700 (Mountain Standard Time)
|
||||
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
|
||||
```
|
||||
|
||||
```bash Thu Jun 13 2024 18:59:10 GMT-0700 (Mountain Standard Time)
|
||||
# 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
|
||||
```
|
Reference in New Issue
Block a user