commit:     cf5d45a5f9070910d8060100403567f367c729bf
Author:     Matthew Thode <mthode <AT> mthode <DOT> org>
AuthorDate: Fri Jan 22 07:53:00 2016 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 07:53:00 2016 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=cf5d45a5

try to migrate to xattr pax markings for our stage4

 releases/weekly/scripts/cloud-prep.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/releases/weekly/scripts/cloud-prep.sh 
b/releases/weekly/scripts/cloud-prep.sh
index 577af84..3d60ca9 100644
--- a/releases/weekly/scripts/cloud-prep.sh
+++ b/releases/weekly/scripts/cloud-prep.sh
@@ -71,3 +71,7 @@ passwd -l root
 for i in $(find /var/log -type f); do truncate -s 0 $i; done
 # remove foreign manpages
 find /usr/share/man/ -mindepth 1  -maxdepth 1 -path "/usr/share/man/man*" 
-prune -o -exec rm -rf {} \;
+
+# fine if this fails, aka non-hardened
+echo 'migraging pax'
+/usr/sbin/migrate-pax -m

Reply via email to