diff --git a/buildroot-external/busybox.config b/buildroot-external/busybox.config index a867d39f0..c4a156b3a 100644 --- a/buildroot-external/busybox.config +++ b/buildroot-external/busybox.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit # Busybox version: 1.27.2 -# Fri Apr 27 16:47:10 2018 +# Sun Apr 29 21:50:21 2018 # CONFIG_HAVE_DOT_CONFIG=y @@ -452,7 +452,7 @@ CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 # CONFIG_FEATURE_FIND_CONTEXT is not set # CONFIG_FEATURE_FIND_LINKS is not set CONFIG_GREP=y -# CONFIG_EGREP is not set +CONFIG_EGREP=y # CONFIG_FGREP is not set # CONFIG_FEATURE_GREP_CONTEXT is not set # CONFIG_XARGS is not set diff --git a/buildroot-external/configs/ova_defconfig b/buildroot-external/configs/ova_defconfig index 9d6db2837..1e3020268 100644 --- a/buildroot-external/configs/ova_defconfig +++ b/buildroot-external/configs/ova_defconfig @@ -32,6 +32,7 @@ BR2_PACKAGE_GPTFDISK_SGDISK=y BR2_PACKAGE_CA_CERTIFICATES=y BR2_PACKAGE_LIBCGROUP=y BR2_PACKAGE_LIBCGROUP_TOOLS=y +BR2_PACKAGE_LIBSECCOMP=y BR2_PACKAGE_AVAHI=y BR2_PACKAGE_AVAHI_DAEMON=y BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y @@ -69,5 +70,5 @@ BR2_PACKAGE_HASSIO_SUPERVISOR_VERSION="0.101" BR2_PACKAGE_HASSIO_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant" BR2_PACKAGE_HASSIO_CLI="homeassistant/amd64-hassio-cli" BR2_PACKAGE_HASSIO_CLI_VERSION="0.1" -BR2_PACKAGE_APPARMOR=y BR2_PACKAGE_LIBAPPARMOR=y +BR2_PACKAGE_APPARMOR=y diff --git a/buildroot-external/package/hassio/builder/hostapp.sh b/buildroot-external/package/hassio/builder/hostapp.sh index 2a7806624..3609a184a 100755 --- a/buildroot-external/package/hassio/builder/hostapp.sh +++ b/buildroot-external/package/hassio/builder/hostapp.sh @@ -53,6 +53,7 @@ mount -o loop ${DATA_IMG} /mnt mkdir -p /mnt/docker mkdir -p /mnt/supervisor mkdir -p /mnt/cli +mkdir -p /mnt/apparmor # Run dockerd dockerd -s overlay2 -g /mnt/docker & diff --git a/buildroot-external/rootfs-overlay/etc/apparmor/parser.conf b/buildroot-external/rootfs-overlay/etc/apparmor/parser.conf new file mode 100644 index 000000000..fde0152ad --- /dev/null +++ b/buildroot-external/rootfs-overlay/etc/apparmor/parser.conf @@ -0,0 +1,2 @@ +Include /etc/apparmor.d/ +Include /mnt/data/apparmor/ diff --git a/buildroot-external/rootfs-overlay/etc/systemd/system/multi-user.target.wants/apparmor.service b/buildroot-external/rootfs-overlay/etc/systemd/system/multi-user.target.wants/apparmor.service new file mode 120000 index 000000000..f9a498ed8 --- /dev/null +++ b/buildroot-external/rootfs-overlay/etc/systemd/system/multi-user.target.wants/apparmor.service @@ -0,0 +1 @@ +/usr/lib/systemd/system/apparmor.service \ No newline at end of file