commit:     5295ec128ea4e588322240c97a650a4394508e2e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 25 09:36:33 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 09:37:31 2019 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=5295ec12

crossdev: add a comment into revdep-rebuild entry where is comes from.

Bug: https://bugs.gentoo.org/692844
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 crossdev | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/crossdev b/crossdev
index 5e31e7b..6d61f1c 100755
--- a/crossdev
+++ b/crossdev
@@ -1250,9 +1250,12 @@ done
 for_each_extra_pkg set_portage X
 set_metadata
 
-# filter out revdep rebuild stuff #182601
 xmkdir -p "${EPREFIX}"/etc/revdep-rebuild
-echo "SEARCH_DIRS_MASK=${EPREFIX}/usr/${CTARGET}" > 
"${EPREFIX}"/etc/revdep-rebuild/05cross-${CTARGET}
+cat > "${EPREFIX}"/etc/revdep-rebuild/05cross-${CTARGET} << EOF
+# Generated by crossdev-${CROSSDEV_VER}
+# Ignore ${CTARGET} root, https://bugs.gentoo.org/182601.
+SEARCH_DIRS_MASK="${EPREFIX}/usr/${CTARGET}"
+EOF
 
 hr
 

Reply via email to