From a0aba11e772a9e8dbef645f91fb12b1a5844c0b0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 5 May 2015 13:53:19 +0200 Subject: [PATCH] +some tools / updates for preos Signed-off-by: Nico Schottelius --- hacking/README | 3 +++ hacking/bin_to_pkg.sh | 4 ++++ hacking/recursive-ldd.sh | 7 +++++-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 hacking/README create mode 100755 hacking/bin_to_pkg.sh diff --git a/hacking/README b/hacking/README new file mode 100644 index 00000000..f675f106 --- /dev/null +++ b/hacking/README @@ -0,0 +1,3 @@ +- Target: + - get working iso + - have it configured and gathered by cdist? diff --git a/hacking/bin_to_pkg.sh b/hacking/bin_to_pkg.sh new file mode 100755 index 00000000..111b1fa9 --- /dev/null +++ b/hacking/bin_to_pkg.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +abspath=$(command -v "$1") +pacman -Qoq "$abspath" diff --git a/hacking/recursive-ldd.sh b/hacking/recursive-ldd.sh index 8093145d..d66d2b0e 100644 --- a/hacking/recursive-ldd.sh +++ b/hacking/recursive-ldd.sh @@ -6,10 +6,13 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin -bin_list="fdisk +pkg=" -for command in command_list; +bin_list="fdisk mount" +for bin in command_list; do + +done exit 0