PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/release/picobsd/qemu/config

https://bitbucket.org/freebsd/freebsd-head/
#! | 26 lines | 24 code | 2 blank | 0 comment | 0 complexity | db868479331f329385c87595ae412df6 MD5 | raw file
 1# configuration for picobsd build script.
 2# $FreeBSD$
 3# it should only contain variable definitions -- it is sourced
 4# by the shell much like rc.conf* files
 5
 6fd_size="8192"
 7
 8# To copy individual files you can use the function  do_copyfiles_user
 9# as below (find_progs locates the programs and their libraries,
10# then you manually copy them.
11#copy_files="
12#"
13do_copyfiles_user() {
14	local dst=$1 # the destination root
15	log "--- put the libraries in /usr/lib to avoid conflicts"
16	mkdir -p ${dst}/usr/lib
17	log "-- import dropbear from its build directory --"
18	find_progs -L / -P /usr/ports/security/dropbear/work/dropbear-0.52 \
19		dbclient dropbear
20	cp -p ${u_progs} ${dst}/bin
21	cp -p ${u_libs} ${dst}/usr/lib
22	log "--- also import ssh, scp and sshd ---"
23	find_progs -L / /usr/bin/ssh /usr/bin/scp /usr/sbin/sshd
24	cp -p ${u_progs} ${dst}/bin
25	cp -p ${u_libs} ${dst}/usr/lib
26}