123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- name: home-assistant-toolbox
- base: core20
- version: '0.3'
- summary: "Extend your Home Assistant (home-assistant-snap)"
- description: |
- Toolbox contains executables that extends functionality
- to you home-assistant-snap installation.
- The following tools are included:
- - cURL
- - build-essential: make, gcc etc
- + More to come, and feel free to come up with suggestions!
- This snap is required to enable some integrations in Home Assistant.
-
- These are known:
- - Bluetooth Tracker
- - Bluetooth LE Tracker
-
- Please report «none working» integrations as an issue
- at [github](https://github.com/home-assistant-snap/home-assistant-toolbox),
- so support can be added.
- Requires home-assistant-snap revision 71 or later!
- grade: stable
- confinement: strict
- architectures:
- - build-on: amd64
- - build-on: arm64
- - build-on: armhf
- #- build-on: ppc64el
- slots:
- bin:
- interface: content
- content: executables
- source:
- read:
- - $SNAP/bin
- - $SNAP/etc
- - $SNAP/lib
- - $SNAP/usr
- layout:
- /usr/lib:
- bind: $SNAP/usr/lib
- parts:
- home-assistant-toolbox:
- plugin: dump
- source: ./src
- source-type: local
- dependencies: # Split this from hat, to prevent pulling it for each change
- plugin: nil
- stage-packages:
- - binutils
- - build-essential
- - curl
- - libc6-dev
- - linux-libc-dev
- override-stage: |
- snapcraftctl stage
- sed -i 's#/usr/lib#/snap/home-assistant-snap/current/shared-bin/usr/lib#g' ${SNAPCRAFT_STAGE}/usr/lib/${SNAPCRAFT_ARCH_TRIPLET}/libc.so
- # organize:
- # '*': shared-bin
|