summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2007-04-03 05:47:24 +0000
committerMike Westerhof <mwester@dls.net>2007-04-03 05:47:24 +0000
commit3a9793e23c465a603fddfb8201c617aa7d5eefab (patch)
treea4d21b1dfb6986cb5150d2c6598cb9161126e3de /packages/slugos-init/files
parentb88d329c6442e6a68edae9f3c094ae9ca5b51c52 (diff)
slugos-init: change find option -mount to -xdev in turnup (so that turnup
can work with either busybox find or with the full find utility).
Diffstat (limited to 'packages/slugos-init/files')
-rw-r--r--packages/slugos-init/files/turnup2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup
index 556d942e26..c852f911c8 100644
--- a/packages/slugos-init/files/turnup
+++ b/packages/slugos-init/files/turnup
@@ -153,7 +153,7 @@ copy_rootfs() {
# /var/*
echo "turnup: copying root file system" >&2
( cd "$1"
- find . -mount -print |
+ find . -xdev -print |
sed '\@^./dev/@d;\@^./boot/@d;\@^./boot$@d;\@^./linuxrc@d;\@^./var/@d' |
cpio -p -d -m -u "$2"
) || {