FreeBSD Bugzilla – Attachment 170272 Details for
Bug 207965
[nanobsd] regression during disk image build after CVE-2015-2304 fix/libarchive 3.2.0 update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add --insecure to cpio calls
nanobsd-cpio-insecure.diff (text/plain), 1.43 KB, created by
Jason Unovitch
on 2016-05-14 12:50:08 UTC
(
hide
)
Description:
add --insecure to cpio calls
Filename:
MIME Type:
Creator:
Jason Unovitch
Created:
2016-05-14 12:50:08 UTC
Size:
1.43 KB
patch
obsolete
>Index: tools/tools/nanobsd/defaults.sh >=================================================================== >--- tools/tools/nanobsd/defaults.sh (revision 299575) >+++ tools/tools/nanobsd/defaults.sh (working copy) >@@ -546,7 +546,7 @@ > ( > mkdir -p etc/local > cd usr/local/etc >- find . -print | cpio -dumpl ../../../etc/local >+ find . -print | cpio --insecure -dumpl ../../../etc/local > cd .. > rm -rf etc > ln -s ../../etc/local etc >@@ -559,7 +559,7 @@ > # we use hard links so we have them both places. > # the files in /$d will be hidden by the mount. > mkdir -p conf/base/$d conf/default/$d >- find $d -print | cpio -dumpl conf/base/ >+ find $d -print | cpio --insecure -dumpl conf/base/ > done > > echo "$NANO_RAM_ETCSIZE" > conf/base/etc/md_size >@@ -638,7 +638,7 @@ > if [ -n "${dir}" -a -d "${dir}" ]; then > echo "Populating ${lbl} from ${dir}" > cd "${dir}" >- find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -dumpv ${mnt} >+ find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio --insecure -dumpv ${mnt} > fi > df -i ${mnt} > nano_umount ${mnt} >@@ -913,7 +913,7 @@ > > cust_install_files ( ) ( > cd "${NANO_TOOLS}/Files" >- find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio -Ldumpv ${NANO_WORLDDIR} >+ find . -print | grep -Ev '/(CVS|\.svn|\.hg|\.git)' | cpio --insecure -Ldumpv ${NANO_WORLDDIR} > > if [ -n "${NANO_CUST_FILES_MTREE}" -a -f ${NANO_CUST_FILES_MTREE} ]; then > CR "mtree -eiU -p /" <${NANO_CUST_FILES_MTREE}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207965
: 170272