summaryrefslogtreecommitdiffstats
path: root/release/picobsd/qemu/config
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/qemu/config')
-rw-r--r--release/picobsd/qemu/config22
1 files changed, 21 insertions, 1 deletions
diff --git a/release/picobsd/qemu/config b/release/picobsd/qemu/config
index af409a1..88f1954 100644
--- a/release/picobsd/qemu/config
+++ b/release/picobsd/qemu/config
@@ -3,4 +3,24 @@
# it should only contain variable definitions -- it is sourced
# by the shell much like rc.conf* files
-fd_size="4096"
+fd_size="8192"
+
+# To copy individual files you can use the function do_copyfiles_user
+# as below (find_progs locates the programs and their libraries,
+# then you manually copy them.
+#copy_files="
+#"
+do_copyfiles_user() {
+ local dst=$1 # the destination root
+ log "--- put the libraries in /usr/lib to avoid conflicts"
+ mkdir -p ${dst}/usr/lib
+ log "-- import dropbear from its build directory --"
+ find_progs -L / -P /usr/ports/security/dropbear/work/dropbear-0.52 \
+ dbclient dropbear
+ cp -p ${u_progs} ${dst}/bin
+ cp -p ${u_libs} ${dst}/usr/lib
+ log "--- also import ssh, scp and sshd ---"
+ find_progs -L / /usr/bin/ssh /usr/bin/scp /usr/sbin/sshd
+ cp -p ${u_progs} ${dst}/bin
+ cp -p ${u_libs} ${dst}/usr/lib
+}
OpenPOWER on IntegriCloud