summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-18 12:02:16 +0200
committerSimon Rettberg2020-08-18 12:02:16 +0200
commit4f5048a324d672daf6ea586df68e8ac44d326724 (patch)
tree27c90b1306b0e101f04db66389350683bd1da7b5 /core
parent[run-virt] Fix: Don't make RUNVIRT_DM readonly (diff)
downloadmltk-4f5048a324d672daf6ea586df68e8ac44d326724.tar.gz
mltk-4f5048a324d672daf6ea586df68e8ac44d326724.tar.xz
mltk-4f5048a324d672daf6ea586df68e8ac44d326724.zip
[blackbox] Add module, use for bwlp
Diffstat (limited to 'core')
-rw-r--r--core/modules/blackbox/data/opt/openslx/vmchooser/config/blackbox.rc2
-rw-r--r--core/modules/blackbox/module.build18
-rw-r--r--core/modules/blackbox/module.conf9
-rw-r--r--core/modules/blackbox/module.conf.debian4
-rw-r--r--core/modules/blackbox/module.conf.ubuntu4
l---------core/targets/bwlp/blackbox1
l---------core/targets/stage32-bwlp/blackbox1
7 files changed, 39 insertions, 0 deletions
diff --git a/core/modules/blackbox/data/opt/openslx/vmchooser/config/blackbox.rc b/core/modules/blackbox/data/opt/openslx/vmchooser/config/blackbox.rc
new file mode 100644
index 00000000..8cac244b
--- /dev/null
+++ b/core/modules/blackbox/data/opt/openslx/vmchooser/config/blackbox.rc
@@ -0,0 +1,2 @@
+rootCommand: true
+toolbar.onTop: false
diff --git a/core/modules/blackbox/module.build b/core/modules/blackbox/module.build
new file mode 100644
index 00000000..d7b9b209
--- /dev/null
+++ b/core/modules/blackbox/module.build
@@ -0,0 +1,18 @@
+#!/bin/bash
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ rm -f -- "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$( < "$COPYLIST" sort -u )" "${MODULE_BUILD_DIR}"
+
+ return 0
+}
+
+post_copy() {
+ :
+}
diff --git a/core/modules/blackbox/module.conf b/core/modules/blackbox/module.conf
new file mode 100644
index 00000000..29489edf
--- /dev/null
+++ b/core/modules/blackbox/module.conf
@@ -0,0 +1,9 @@
+#!/bin/bash
+REQUIRED_BINARIES="
+ blackbox
+"
+REQUIRED_FILES="
+ /usr/share/blackbox/styles/Gray
+ /usr/share/menu/blackbox
+ /usr/share/xsessions/blackbox.desktop
+"
diff --git a/core/modules/blackbox/module.conf.debian b/core/modules/blackbox/module.conf.debian
new file mode 100644
index 00000000..0cc82595
--- /dev/null
+++ b/core/modules/blackbox/module.conf.debian
@@ -0,0 +1,4 @@
+#!/bin/bash
+REQUIRED_CONTENT_PACKAGES="
+ blackbox
+"
diff --git a/core/modules/blackbox/module.conf.ubuntu b/core/modules/blackbox/module.conf.ubuntu
new file mode 100644
index 00000000..0cc82595
--- /dev/null
+++ b/core/modules/blackbox/module.conf.ubuntu
@@ -0,0 +1,4 @@
+#!/bin/bash
+REQUIRED_CONTENT_PACKAGES="
+ blackbox
+"
diff --git a/core/targets/bwlp/blackbox b/core/targets/bwlp/blackbox
new file mode 120000
index 00000000..b055d69d
--- /dev/null
+++ b/core/targets/bwlp/blackbox
@@ -0,0 +1 @@
+../../modules/blackbox \ No newline at end of file
diff --git a/core/targets/stage32-bwlp/blackbox b/core/targets/stage32-bwlp/blackbox
new file mode 120000
index 00000000..b055d69d
--- /dev/null
+++ b/core/targets/stage32-bwlp/blackbox
@@ -0,0 +1 @@
+../../modules/blackbox \ No newline at end of file