-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
41 lines (32 loc) · 1.02 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: list-filesystem
adopt-info: lfs
summary: lsf - A linux utility listing your filesystems.
description: |
Besides traditional columns, the disk column helps you identify your "disk" (or the mapping standing between your filesystem and the physical device)
All sizes are normally based on the current SI recommendations (1M is one million bytes) but can be changed with --units binary (then 1M is 1,048,576 bytes).
base: core20
grade: stable
confinement: strict
license: MIT
architectures:
- build-on: amd64
apps:
lfs:
command: bin/lfs
command-chain:
- local/lfs-wrapper
plugs:
- block-devices # Needed by lfs to read block devices
- mount-observe # Needed by lfs to read block devices
lfs-wrapper:
plugin: dump
source: snap/local/
organize: bin/
parts:
lfs:
source: https://github.com/Canop/lfs
source-type: git
plugin: rust
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags `git rev-list --tags --max-count=1`)"