Lines 546-552
Link Here
|
546 |
( |
546 |
( |
547 |
mkdir -p etc/local |
547 |
mkdir -p etc/local |
548 |
cd usr/local/etc |
548 |
cd usr/local/etc |
549 |
find . -print | cpio -dumpl ../../../etc/local |
549 |
find . -print | cpio --insecure -dumpl ../../../etc/local |
550 |
cd .. |
550 |
cd .. |
551 |
rm -rf etc |
551 |
rm -rf etc |
552 |
ln -s ../../etc/local etc |
552 |
ln -s ../../etc/local etc |
Lines 559-565
Link Here
|
559 |
# we use hard links so we have them both places. |
559 |
# we use hard links so we have them both places. |
560 |
# the files in /$d will be hidden by the mount. |
560 |
# the files in /$d will be hidden by the mount. |
561 |
mkdir -p conf/base/$d conf/default/$d |
561 |
mkdir -p conf/base/$d conf/default/$d |
562 |
find $d -print | cpio -dumpl conf/base/ |
562 |
find $d -print | cpio --insecure -dumpl conf/base/ |
563 |
done |
563 |
done |
564 |
|
564 |
|
565 |
echo "$NANO_RAM_ETCSIZE" > conf/base/etc/md_size |
565 |
echo "$NANO_RAM_ETCSIZE" > conf/base/etc/md_size |
Lines 638-644
Link Here
|
638 |
if [ -n "${dir}" -a -d "${dir}" ]; then |
638 |
if [ -n "${dir}" -a -d "${dir}" ]; then |
639 |
echo "Populating ${lbl} from ${dir}" |
639 |
echo "Populating ${lbl} from ${dir}" |
640 |
cd "${dir}" |
640 |
cd "${dir}" |
641 |
find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -dumpv ${mnt} |
641 |
find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio --insecure -dumpv ${mnt} |
642 |
fi |
642 |
fi |
643 |
df -i ${mnt} |
643 |
df -i ${mnt} |
644 |
nano_umount ${mnt} |
644 |
nano_umount ${mnt} |
Lines 913-919
Link Here
|
913 |
|
913 |
|
914 |
cust_install_files ( ) ( |
914 |
cust_install_files ( ) ( |
915 |
cd "${NANO_TOOLS}/Files" |
915 |
cd "${NANO_TOOLS}/Files" |
916 |
find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -Ldumpv ${NANO_WORLDDIR} |
916 |
find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio --insecure -Ldumpv ${NANO_WORLDDIR} |
917 |
|
917 |
|
918 |
if [ -n "${NANO_CUST_FILES_MTREE}" -a -f ${NANO_CUST_FILES_MTREE} ]; then |
918 |
if [ -n "${NANO_CUST_FILES_MTREE}" -a -f ${NANO_CUST_FILES_MTREE} ]; then |
919 |
CR "mtree -eiU -p /" <${NANO_CUST_FILES_MTREE} |
919 |
CR "mtree -eiU -p /" <${NANO_CUST_FILES_MTREE} |