summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2011-05-13 18:28:25 +0000
committerimp <imp@FreeBSD.org>2011-05-13 18:28:25 +0000
commit6fa2130df3462d64f97645eadb8e538f67b22956 (patch)
treea1c5a71cec833cf4a43f32d62ff68071501f6ee2 /tools
parentd1dccbde28767a3eff00f192591d303e5f40e12b (diff)
downloadFreeBSD-src-6fa2130df3462d64f97645eadb8e538f67b22956.zip
FreeBSD-src-6fa2130df3462d64f97645eadb8e538f67b22956.tar.gz
Copy symbolic links as files rather than recreating the links.
PR: misc/151697 Submitted by: lev@ MFC after: 2 weeks
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/nanobsd/nanobsd.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh
index 8078d11..2944e53 100644
--- a/tools/tools/nanobsd/nanobsd.sh
+++ b/tools/tools/nanobsd/nanobsd.sh
@@ -418,7 +418,7 @@ populate_slice ( ) (
echo "Creating ${dev} with ${dir} (mounting on ${mnt})"
newfs_part $dev $mnt $lbl
cd ${dir}
- find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${mnt}
+ find . -print | grep -Ev '/(CVS|\.svn)' | cpio -Ldumpv ${mnt}
df -i ${mnt}
umount ${mnt}
)
@@ -674,7 +674,7 @@ cust_allow_ssh_root () (
cust_install_files () (
cd ${NANO_TOOLS}/Files
- find . -print | grep -Ev '/(CVS|\.svn)' | cpio -dumpv ${NANO_WORLDDIR}
+ find . -print | grep -Ev '/(CVS|\.svn)' | cpio -Ldumpv ${NANO_WORLDDIR}
)
#######################################################################
@@ -687,7 +687,7 @@ cust_pkg () (
(
cd ${NANO_PACKAGE_DIR}
find ${NANO_PACKAGE_LIST} -print |
- cpio -dumpv ${NANO_WORLDDIR}/Pkg
+ cpio -Ldumpv ${NANO_WORLDDIR}/Pkg
)
# Count & report how many we have to install
OpenPOWER on IntegriCloud