View previous topic :: View next topic |
Author |
Message |
pingtoo Veteran


Joined: 10 Sep 2021 Posts: 1528 Location: Richmond Hill, Canada
|
Posted: Wed Mar 12, 2025 2:03 pm Post subject: |
|
|
I am no portage expert so may be I am wrong about this Code: | src_unpack () {
unpack ${A}
cd ${WORKDIR}
mv linux-amd64/* ${DISTDIR}
rm -rf *
mkdir ${S}
cd ${S}
SUFF="${PV}-7"
... |
Why you are moving everything in to $DISTDIR, I think it is wrong. because $DISTDIR is used for store download file (fetch phase) but you are doing this inside unpack.
If you really want to store content of linux-amd64.tgz into $DISTDIR I think you need to do it outside of ebuild/emerge. |
|
Back to top |
|
 |
soustan n00b

Joined: 12 Apr 2020 Posts: 30
|
Posted: Wed Mar 12, 2025 2:19 pm Post subject: |
|
|
Hu wrote: | Also, when someone provides advice, either try it or explain why not. I posted a proposed solution above. soustan responded asking "Can anyone help me?" I thought that is what I just did. I am not going to suggest other solutions until I see whether the one I posted above is viable. |
Good afternoon, HU!
The thing is, I didn't see your last post. Therefore, please accept my sincere apologies. As soon as I do as you wrote. In the very near future, I will be able to provide the result, according to your recommendations. Please understand me correctly, you are not the only one answering my questions! But, and other forum participants!! Therefore, I ask you to understand me correctly!! I didn't notice your post! I'm so sorry! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|