From 6f0f5d34b522c08a04c642039b08fc2b47d47ef8 Mon Sep 17 00:00:00 2001 From: thelamer Date: Wed, 5 May 2021 20:18:23 -0700 Subject: [PATCH] modify the base packages to line up with flavor defaults --- Dockerfile | 1 + Dockerfile.aarch64 | 1 + Dockerfile.armhf | 1 + root/defaults/menu.xml | 10 ++++++++++ root/etc/cont-init.d/56-openboxcopy | 7 +++++++ 5 files changed, 20 insertions(+) create mode 100644 root/defaults/menu.xml create mode 100644 root/etc/cont-init.d/56-openboxcopy diff --git a/Dockerfile b/Dockerfile index 5ea5965c..51ed1d3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN \ apt-get update && \ DEBIAN_FRONTEND=noninteractive \ apt-get install --no-install-recommends -y \ + featherpad \ firefox \ obconf \ openbox \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index ce0f9967..4e84ca2f 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,6 +11,7 @@ RUN \ apt-get update && \ DEBIAN_FRONTEND=noninteractive \ apt-get install --no-install-recommends -y \ + featherpad \ firefox \ obconf \ openbox \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 3495d050..1a530596 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -11,6 +11,7 @@ RUN \ apt-get update && \ DEBIAN_FRONTEND=noninteractive \ apt-get install --no-install-recommends -y \ + featherpad \ firefox \ obconf \ openbox \ diff --git a/root/defaults/menu.xml b/root/defaults/menu.xml new file mode 100644 index 00000000..7a193ac5 --- /dev/null +++ b/root/defaults/menu.xml @@ -0,0 +1,10 @@ + + + +/usr/bin/xterm +/usr/bin/featherpad +/usr/bin/firefox +/usr/bin/obconf + + + diff --git a/root/etc/cont-init.d/56-openboxcopy b/root/etc/cont-init.d/56-openboxcopy new file mode 100644 index 00000000..f22df658 --- /dev/null +++ b/root/etc/cont-init.d/56-openboxcopy @@ -0,0 +1,7 @@ +#!/usr/bin/with-contenv bash + +# default file copies first run +[[ ! -f /config/.config/openbox/menu.xml ]] && \ + mkdir -p /config/.config/openbox && \ + cp /defaults/menu.xml /config/.config/openbox/menu.xml && \ + chown -R abc:abc /config/.config