public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/catalyst:pending/mattst88 commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage1/
  2020-05-19 22:55 [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner
@ 2020-05-16 23:28 ` Matt Turner
  2020-05-17  3:26 ` [gentoo-commits] proj/catalyst:master commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Turner @ 2020-05-16 23:28 UTC (permalink / raw
  To: gentoo-commits

commit:     ed82ff53408f1e3edb342f16c739c3c2b4012cb0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 23:24:09 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May 16 23:24:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ed82ff53

targets: Don't delete pyc/pyo files

These files are actually owned by their packages now, and removing them
can break subsequent builds.

See https://archives.gentoo.org/gentoo-releng-autobuilds/message/a115781f8e7fb4bd5adfb94a7f2e63b4

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/livecd-stage1/controller.sh | 4 ----
 targets/livecd-stage2/controller.sh | 2 --
 targets/stage1/preclean-chroot.sh   | 2 --
 3 files changed, 8 deletions(-)

diff --git a/targets/livecd-stage1/controller.sh b/targets/livecd-stage1/controller.sh
index ced2634e..c4572ff9 100755
--- a/targets/livecd-stage1/controller.sh
+++ b/targets/livecd-stage1/controller.sh
@@ -13,9 +13,5 @@ case $1 in
 			${clst_shdir}/${clst_target}/chroot.sh
 		echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
 		;;
-
-	clean)
-		find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
-		;;
 esac
 exit $?

diff --git a/targets/livecd-stage2/controller.sh b/targets/livecd-stage2/controller.sh
index 8ee46d7c..0701a26b 100755
--- a/targets/livecd-stage2/controller.sh
+++ b/targets/livecd-stage2/controller.sh
@@ -85,8 +85,6 @@ case $1 in
 		then
 			# Clean out man, info and doc files
 			rm -rf ${clst_chroot_path}/usr/share/{man,doc,info}/*
-			# Zap all .pyc and .pyo files
-			find ${clst_chroot_path}/usr/lib* -iname "*.py[co]" -exec rm -f {} \;
 		fi
 		rm -f ${clst_chroot_path}/tmp/packages.txt
 		;;

diff --git a/targets/stage1/preclean-chroot.sh b/targets/stage1/preclean-chroot.sh
index ea9056e8..2dc761e9 100755
--- a/targets/stage1/preclean-chroot.sh
+++ b/targets/stage1/preclean-chroot.sh
@@ -22,8 +22,6 @@ fi
 
 # Clean out man, info and doc files
 rm -rf "${ROOT}"/usr/share/{man,doc,info}/*
-# Zap all .pyc and .pyo files
-find "${ROOT}"/ -iname "*.py[co]" -exec rm -f {} \;
 
 # unset ROOT for safety (even though cleanup_stages doesn't use it)
 unset ROOT


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/catalyst:master commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/
  2020-05-19 22:55 [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner
  2020-05-16 23:28 ` [gentoo-commits] proj/catalyst:pending/mattst88 commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage1/ Matt Turner
@ 2020-05-17  3:26 ` Matt Turner
  1 sibling, 0 replies; 3+ messages in thread
From: Matt Turner @ 2020-05-17  3:26 UTC (permalink / raw
  To: gentoo-commits

commit:     ed82ff53408f1e3edb342f16c739c3c2b4012cb0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 23:24:09 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May 16 23:24:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ed82ff53

targets: Don't delete pyc/pyo files

These files are actually owned by their packages now, and removing them
can break subsequent builds.

See https://archives.gentoo.org/gentoo-releng-autobuilds/message/a115781f8e7fb4bd5adfb94a7f2e63b4

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/livecd-stage1/controller.sh | 4 ----
 targets/livecd-stage2/controller.sh | 2 --
 targets/stage1/preclean-chroot.sh   | 2 --
 3 files changed, 8 deletions(-)

diff --git a/targets/livecd-stage1/controller.sh b/targets/livecd-stage1/controller.sh
index ced2634e..c4572ff9 100755
--- a/targets/livecd-stage1/controller.sh
+++ b/targets/livecd-stage1/controller.sh
@@ -13,9 +13,5 @@ case $1 in
 			${clst_shdir}/${clst_target}/chroot.sh
 		echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
 		;;
-
-	clean)
-		find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
-		;;
 esac
 exit $?

diff --git a/targets/livecd-stage2/controller.sh b/targets/livecd-stage2/controller.sh
index 8ee46d7c..0701a26b 100755
--- a/targets/livecd-stage2/controller.sh
+++ b/targets/livecd-stage2/controller.sh
@@ -85,8 +85,6 @@ case $1 in
 		then
 			# Clean out man, info and doc files
 			rm -rf ${clst_chroot_path}/usr/share/{man,doc,info}/*
-			# Zap all .pyc and .pyo files
-			find ${clst_chroot_path}/usr/lib* -iname "*.py[co]" -exec rm -f {} \;
 		fi
 		rm -f ${clst_chroot_path}/tmp/packages.txt
 		;;

diff --git a/targets/stage1/preclean-chroot.sh b/targets/stage1/preclean-chroot.sh
index ea9056e8..2dc761e9 100755
--- a/targets/stage1/preclean-chroot.sh
+++ b/targets/stage1/preclean-chroot.sh
@@ -22,8 +22,6 @@ fi
 
 # Clean out man, info and doc files
 rm -rf "${ROOT}"/usr/share/{man,doc,info}/*
-# Zap all .pyc and .pyo files
-find "${ROOT}"/ -iname "*.py[co]" -exec rm -f {} \;
 
 # unset ROOT for safety (even though cleanup_stages doesn't use it)
 unset ROOT


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/
@ 2020-05-19 22:55 Matt Turner
  2020-05-16 23:28 ` [gentoo-commits] proj/catalyst:pending/mattst88 commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage1/ Matt Turner
  2020-05-17  3:26 ` [gentoo-commits] proj/catalyst:master commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Turner @ 2020-05-19 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ed82ff53408f1e3edb342f16c739c3c2b4012cb0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 23:24:09 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat May 16 23:24:09 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ed82ff53

targets: Don't delete pyc/pyo files

These files are actually owned by their packages now, and removing them
can break subsequent builds.

See https://archives.gentoo.org/gentoo-releng-autobuilds/message/a115781f8e7fb4bd5adfb94a7f2e63b4

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/livecd-stage1/controller.sh | 4 ----
 targets/livecd-stage2/controller.sh | 2 --
 targets/stage1/preclean-chroot.sh   | 2 --
 3 files changed, 8 deletions(-)

diff --git a/targets/livecd-stage1/controller.sh b/targets/livecd-stage1/controller.sh
index ced2634e..c4572ff9 100755
--- a/targets/livecd-stage1/controller.sh
+++ b/targets/livecd-stage1/controller.sh
@@ -13,9 +13,5 @@ case $1 in
 			${clst_shdir}/${clst_target}/chroot.sh
 		echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
 		;;
-
-	clean)
-		find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
-		;;
 esac
 exit $?

diff --git a/targets/livecd-stage2/controller.sh b/targets/livecd-stage2/controller.sh
index 8ee46d7c..0701a26b 100755
--- a/targets/livecd-stage2/controller.sh
+++ b/targets/livecd-stage2/controller.sh
@@ -85,8 +85,6 @@ case $1 in
 		then
 			# Clean out man, info and doc files
 			rm -rf ${clst_chroot_path}/usr/share/{man,doc,info}/*
-			# Zap all .pyc and .pyo files
-			find ${clst_chroot_path}/usr/lib* -iname "*.py[co]" -exec rm -f {} \;
 		fi
 		rm -f ${clst_chroot_path}/tmp/packages.txt
 		;;

diff --git a/targets/stage1/preclean-chroot.sh b/targets/stage1/preclean-chroot.sh
index ea9056e8..2dc761e9 100755
--- a/targets/stage1/preclean-chroot.sh
+++ b/targets/stage1/preclean-chroot.sh
@@ -22,8 +22,6 @@ fi
 
 # Clean out man, info and doc files
 rm -rf "${ROOT}"/usr/share/{man,doc,info}/*
-# Zap all .pyc and .pyo files
-find "${ROOT}"/ -iname "*.py[co]" -exec rm -f {} \;
 
 # unset ROOT for safety (even though cleanup_stages doesn't use it)
 unset ROOT


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-19 22:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-19 22:55 [gentoo-commits] proj/catalyst:wip/mattst88 commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner
2020-05-16 23:28 ` [gentoo-commits] proj/catalyst:pending/mattst88 commit in: targets/livecd-stage2/, targets/livecd-stage1/, targets/stage1/ Matt Turner
2020-05-17  3:26 ` [gentoo-commits] proj/catalyst:master commit in: targets/livecd-stage1/, targets/stage1/, targets/livecd-stage2/ Matt Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox