From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Wed, 21 Oct 2020 17:58:47 +0000 (UTC) [thread overview]
Message-ID: <1603177803.0fe50361b38be1f7ad67d4172962c4d2f4adb453.mattst88@gentoo> (raw)
Message-ID: <20201021175847.MWvMD26jT5L1bi8Tx3Gfqfx20rfp7hm9GRVFBgdcysU@z> (raw)
commit: 0fe50361b38be1f7ad67d4172962c4d2f4adb453
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 22:08:28 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Oct 20 07:10:03 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=0fe50361
targets: Use USE=symlink when emerging kernel sources
Just use the thing that exists instead of rolling our own...
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
targets/support/kmerge.sh | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
index 1209e330..7eb18313 100755
--- a/targets/support/kmerge.sh
+++ b/targets/support/kmerge.sh
@@ -193,9 +193,7 @@ then
rm -f ${clst_port_conf}/profile/package.provided
fi
- [ -L /usr/src/linux ] && rm -f /usr/src/linux
-
- run_merge "${ksource}"
+ USE=symlink run_merge "${ksource}"
SOURCESDIR="/tmp/kerncache/${kname}/sources"
if [ -L /usr/src/linux ]
@@ -225,12 +223,8 @@ then
fi
fi
else
- run_merge "${ksource}"
- #ensure that there is a /usr/src/linux symlink and it points to the sources we just installed
- echo "Adjusting /usr/src/linux to point to \
-$(portageq contents / $(portageq best_visible / "${ksource}" 2>/dev/null) 2>/dev/null | grep --color=never '/usr/src/' | head -n1 2>/dev/null)"
- ln -snf $(portageq contents / $(portageq best_visible / "${ksource}" 2>/dev/null) 2>/dev/null | grep --color=never '/usr/src/' | head -n1 2>/dev/null) \
- /usr/src/linux
+ USE=symlink run_merge "${ksource}"
+
if [ ! "${clst_kextraversion}" = "" ]
then
echo "Setting extraversion to ${clst_kextraversion}"
next reply other threads:[~2020-10-21 17:58 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-20 8:30 Matt Turner [this message]
2020-10-21 17:58 ` [gentoo-commits] proj/catalyst:master commit in: targets/support/ Matt Turner
-- strict thread matches above, loose matches on Subject: below --
2020-12-19 19:56 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2021-01-18 19:53 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-29 21:00 [gentoo-commits] proj/catalyst:wip/mattst88 " Matt Turner
2020-10-22 18:06 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-28 20:51 Matt Turner
2020-10-28 20:51 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-22 18:06 Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-21 17:58 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-10-20 8:30 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 23:20 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 19:59 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 8:30 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 4:31 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-10-20 2:50 Matt Turner
2020-05-21 20:25 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-20 3:39 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-05-20 3:39 Matt Turner
2020-05-17 3:26 [gentoo-commits] proj/catalyst:master " Matt Turner
2020-05-16 6:54 ` [gentoo-commits] proj/catalyst:pending/mattst88 " Matt Turner
2020-05-16 6:54 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:58 Matt Turner
2020-05-03 22:04 Matt Turner
2020-05-03 22:04 Matt Turner
2020-05-03 22:04 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1603177803.0fe50361b38be1f7ad67d4172962c4d2f4adb453.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox