[ALL] First step in splitting containers pre-installed system
This commit is contained in:
parent
f435366d6a
commit
e43faa65d6
|
@ -306,7 +306,7 @@ BR2_PACKAGE_HOSTNAME_SERVICE=y
|
|||
BR2_PACKAGE_NCPAMIXER=y
|
||||
BR2_PACKAGE_OVOS_CONTAINERS=y
|
||||
BR2_PACKAGE_OVOS_CONTAINERS_ARCH="arm64"
|
||||
BR2_PACKAGE_OVOS_CONTAINERS_IMAGES="ovos-messagebus"
|
||||
BR2_PACKAGE_OVOS_CONTAINERS_GUI=y
|
||||
BR2_PACKAGE_OVOS_SPLASH=y
|
||||
BR2_PACKAGE_RESPEAKER=y
|
||||
BR2_PACKAGE_RPI_EEPROM=y
|
||||
|
|
|
@ -13,9 +13,41 @@ config BR2_PACKAGE_OVOS_CONTAINERS_ARCH
|
|||
help
|
||||
Architecture for which we should be pull.
|
||||
|
||||
config BR2_PACKAGE_OVOS_CONTAINERS_IMAGES
|
||||
string "Images"
|
||||
choice
|
||||
prompt "Containers to pre-install"
|
||||
default BR2_PACKAGE_OVOS_CONTAINERS_HEADLESS
|
||||
|
||||
config BR2_PACKAGE_OVOS_CONTAINERS_HEADLESS
|
||||
bool "Headless"
|
||||
help
|
||||
Space separated list of images to pull.
|
||||
This install all minimal required containers
|
||||
to run the OVOS framework headless.
|
||||
|
||||
Install: - ovos -messagebus
|
||||
- ovos-phal
|
||||
- ovos-phal-admin
|
||||
- ovos-listener-dinkum
|
||||
- ovos-audio
|
||||
- ovos-core
|
||||
- ovos-cli
|
||||
|
||||
config BR2_PACKAGE_OVOS_CONTAINERS_GUI
|
||||
bool "Graphical User Interface"
|
||||
help
|
||||
This install all required containers
|
||||
to run the OVOS framework with the QT5
|
||||
Graphical User Interface enabled.
|
||||
|
||||
Install: - ovos -messagebus
|
||||
- ovos-phal
|
||||
- ovos-phal-admin
|
||||
- ovos-listener-dinkum
|
||||
- ovos-audio
|
||||
- ovos-core
|
||||
- ovos-cli
|
||||
- ovos-gui-websocket
|
||||
- ovos-gui-shell
|
||||
|
||||
endchoice
|
||||
|
||||
endif
|
||||
|
|
|
@ -10,8 +10,20 @@ OVOS_CONTAINERS_LICENSE_FILES = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/../LICENSE
|
|||
OVOS_CONTAINERS_SITE = $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/ovos-containers
|
||||
OVOS_CONTAINERS_SITE_METHOD = local
|
||||
|
||||
#OVOS_CONTAINERS_IMAGES = $(call qstrip, $(BR2_PACKAGE_OVOS_CONTAINERS))
|
||||
OVOS_CONTAINERS_IMAGES = ovos-messagebus ovos-phal ovos-phal-admin ovos-listener-dinkum ovos-audio ovos-core ovos-cli ovos-gui-websocket ovos-gui-shell
|
||||
OVOS_CONTAINERS_IMAGES = ovos-messagebus \
|
||||
ovos-phal \
|
||||
ovos-phal-admin \
|
||||
ovos-listener-dinkum \
|
||||
ovos-audio \
|
||||
ovos-core \
|
||||
ovos-cli
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OVOS_CONTAINERS_GUI),y)
|
||||
OVOS_CONTAINERS_IMAGES += ovos-gui-websocket \
|
||||
ovos-gui-shell
|
||||
|
||||
OVOS_CONTAINERS_INSTALL_GUI = YES
|
||||
endif
|
||||
|
||||
define OVOS_CONTAINERS_BUILD_CMDS
|
||||
$(Q)mkdir -p $(@D)/images
|
||||
|
@ -31,4 +43,11 @@ define OVOS_CONTAINERS_INSTALL_IMAGES_CMDS
|
|||
rm -rf $(TARGET_DIR)/home/ovos/.local/share/containers/storage/libpod
|
||||
endef
|
||||
|
||||
define OVOS_CONTAINERS_INSTALL_GUI
|
||||
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/ovos-containers/ovos_gui_websocket.container \
|
||||
$(TARGET_DIR)/home/ovos/.config/containers/systemd/ovos_gui_websocket.container
|
||||
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/ovos-containers/ovos_gui.container \
|
||||
$(TARGET_DIR)/home/ovos/.config/containers/systemd/ovos_gui.container
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in New Issue