diff --git a/example/build.yaml b/example/build.yaml deleted file mode 100644 index cdca316..0000000 --- a/example/build.yaml +++ /dev/null @@ -1,14 +0,0 @@ -# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile -build_from: - aarch64: "ghcr.io/home-assistant/aarch64-base:3.15" - amd64: "ghcr.io/home-assistant/amd64-base:3.15" - armhf: "ghcr.io/home-assistant/armhf-base:3.15" - armv7: "ghcr.io/home-assistant/armv7-base:3.15" - i386: "ghcr.io/home-assistant/i386-base:3.15" -labels: - org.opencontainers.image.title: "Home Assistant Add-on: Example add-on" - org.opencontainers.image.description: "Example add-on to use as a blueprint for new add-ons." - org.opencontainers.image.source: "https://github.com/home-assistant/addons-example" - org.opencontainers.image.licenses: "Apache License 2.0" -args: - TEMPIO_VERSION: "2021.09.0" diff --git a/example/config.yaml b/example/config.yaml index b6ff869..b085650 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -1,6 +1,6 @@ # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config name: Example add-on -version: "1.2.6" +version: "1.2.7" slug: example description: Example add-on url: "https://github.com/home-assistant/addons-example/tree/main/example" @@ -13,17 +13,22 @@ arch: init: false kernel_modules: true full_access: true +host_network: true +apparmor: false devices: - - /sys/devices/platform - - /dev + - /dev/mem privileged: + - NET_ADMIN - SYS_ADMIN - SYS_MODULE - SYS_RAWIO - SYS_RESOURCE + - SYS_TIME + - SYS_NICE #devicetree: true host_dbus: true usb: true +usbip: true udev: true map: - share:rw diff --git a/example/rootfs/etc/services.d/example/run b/example/rootfs/etc/services.d/example/run index 6c329bd..95d510f 100755 --- a/example/rootfs/etc/services.d/example/run +++ b/example/rootfs/etc/services.d/example/run @@ -17,3 +17,4 @@ bashio::log.info "${message:="Hello World..."}" ## Run your program exec /usr/bin/my_program +exec mount -o remount -t sysfs sysfs /sys