summaryrefslogtreecommitdiffstats
path: root/remote/setup_core
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-13 17:33:57 +0100
committerJonathan Bauer2013-03-13 17:33:57 +0100
commit1efcd9ce0605ed8694f621b9889843ceca673b10 (patch)
tree92890797e88f3f4e7153811f800b3acf87aa62be /remote/setup_core
parentstage3.1 'debug' to drop a shell (diff)
downloadtm-scripts-1efcd9ce0605ed8694f621b9889843ceca673b10.tar.gz
tm-scripts-1efcd9ce0605ed8694f621b9889843ceca673b10.tar.xz
tm-scripts-1efcd9ce0605ed8694f621b9889843ceca673b10.zip
plymouth for stage3.1
Diffstat (limited to 'remote/setup_core')
-rwxr-xr-xremote/setup_core25
1 files changed, 24 insertions, 1 deletions
diff --git a/remote/setup_core b/remote/setup_core
index 4f809968..31854db6 100755
--- a/remote/setup_core
+++ b/remote/setup_core
@@ -132,7 +132,30 @@ install_basic_tools() {
# get busybox from tools/ we checked earlier if its there.
pinfo "Copying busybox to ${STAGE31_DIR}."
cp -r "${MODULE_DIR}"/tools/busybox/build/openslx/* "${STAGE31_DIR}"
-
+
+ # install plymouth
+ pinfo "Copying plymouth to ${STAGE31_DIR}."
+ rm -f list.ply
+ cd "${MODULE_DIR}"/tools/plymouth/build
+ echo ./bin/plymouth >> list.ply
+ echo ./sbin/plymouthd >> list.ply
+ get_dynamic_dependencies -l "${MODULE_DIR}"/tools/plymouth/build ./bin/plymouth >> list.ply
+ get_dynamic_dependencies -l "${MODULE_DIR}"/tools/plymouth/build ./sbin/plymouthd >> list.ply
+ for i in $(find lib/plymouth -name \*.so); do
+ get_link_chain "${MODULE_DIR}"/tools/plymouth/build/"$i" "${MODULE_DIR}"/tools/plymouth/build >> list.ply
+ get_dynamic_dependencies -l "${MODULE_DIR}"/tools/plymouth/build $i >> list.ply
+ done
+ tarcopy "$(cat list.ply | sort -u)" "${STAGE31_DIR}"
+ cd - &> /dev/null
+ cp -r "${MODULE_DIR}"/tools/plymouth/data/* "${STAGE31_DIR}"
+
+ # copy debugging tools
+ STRACE=$(which strace)
+ [ "x${STRACE}" != "x" ] && tarcopy "$(get_link_chain ${STRACE})" "${STAGE31_DIR}"
+
+ LDD=$(which ldd)
+ [ "x${LDD}" != "x" ] && tarcopy "$(get_link_chain ${LDD})" "${STAGE31_DIR}"
+
# get hwinfo and the required libx86emu
[ ! -d "${MODULE_DIR}"/core/src ] && mkdir -p "${MODULE_DIR}"/core/src
cd "${MODULE_DIR}"/core/src