WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Feature request: linux-kernel-sources-env.sh & mirrors  (Read 2042 times)

Offline MSumulong

  • Newbie
  • *
  • Posts: 25
Feature request: linux-kernel-sources-env.sh & mirrors
« on: October 07, 2015, 10:07:36 AM »
Would it be possible to modify the linux-kernel-sources-env.sh to use the /opt/tcemirror value instead of always using http://www.tinycorelinux.net? Might be helpful in offloading tinycorelinux.net...

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Feature request: linux-kernel-sources-env.sh & mirrors
« Reply #1 on: October 07, 2015, 10:16:20 AM »
You are assuming it is always being built on a TC machine.
If not, there will be no /opt/tcemirror.
--- edit ---
It could be conditional on the existence of /opt/tcemirror.
« Last Edit: October 07, 2015, 10:19:24 AM by gerald_clark »

Offline MSumulong

  • Newbie
  • *
  • Posts: 25
Re: Feature request: linux-kernel-sources-env.sh & mirrors
« Reply #2 on: October 07, 2015, 10:32:43 AM »
I didn't realize this script is used outside of TC. I'm referring to the script that's included in the linux-kernel-sources-env.tcz. But yes, a conditional checking for /opt/tcemirror would be ideal.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Feature request: linux-kernel-sources-env.sh & mirrors
« Reply #3 on: October 07, 2015, 02:37:12 PM »
Sounds good, I'll get to work on it thanks


Sent from my iPhone using Tapatalk