summaryrefslogtreecommitdiffstats
path: root/remote/modules/gdisk/module.build
diff options
context:
space:
mode:
authorJonathan Bauer2014-11-12 13:59:24 +0100
committerJonathan Bauer2014-11-12 13:59:24 +0100
commita305659134d7a58b86fa1203bf599ee8c1e96007 (patch)
treebf250910379de903379cd032e0f7ba642e9bfb3c /remote/modules/gdisk/module.build
parent[systemd-distro] simple module to copy systemd from the running system (diff)
downloadtm-scripts-a305659134d7a58b86fa1203bf599ee8c1e96007.tar.gz
tm-scripts-a305659134d7a58b86fa1203bf599ee8c1e96007.tar.xz
tm-scripts-a305659134d7a58b86fa1203bf599ee8c1e96007.zip
[gdisk] prototyp module for gdisk to handle GPT partitions
Diffstat (limited to 'remote/modules/gdisk/module.build')
-rw-r--r--remote/modules/gdisk/module.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/remote/modules/gdisk/module.build b/remote/modules/gdisk/module.build
new file mode 100644
index 00000000..59356ded
--- /dev/null
+++ b/remote/modules/gdisk/module.build
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+fetch_source() {
+ :
+}
+
+build() {
+ COPYLIST="list_dpkg_output"
+ [ -e "$COPYLIST" ] && rm "$COPYLIST"
+
+ list_packet_files >> "$COPYLIST"
+ tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
+
+}
+
+post_copy() {
+ copy_kernel_modules
+}
+