Writing to Newtwork share via slkbuild script

Other talk about Salix
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Writing to Newtwork share via slkbuild script

Post by gapan »

Spaces in paths is an abomination and should be banned from existence. :twisted: :mrgreen:
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Writing to Newtwork share via slkbuild script

Post by laprjns »

Shador wrote:Change slkbuild (and possibly any other shell script) to always use quotes.
JRD wrote:For me, it's a bug (minor) in slkbuild script which should always use double quotes in pathes.
We should be able to use spaces in our pathes if we want/should. Unfortunately, there are a lot of scripts (including mine, I sometimes forget) that do not protect pathes.
Double quotes do work:

Code: Select all

rich[pysolfc]$ ls
./  ../
rich[pysolfc]$ startdir="$(pwd)"
rich[pysolfc]$ cp /etc/slkbuild/SLKBUILD.perl "$startdir"/
rich[pysolfc]$ ls
./  ../  SLKBUILD.perl*
but now I have to consider:
gapan wrote:I'm not sure how smart it is to build packages in a network share, especially a samba share. All sorts of trouble could potentially come up.
Thanks
Rich
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Writing to Newtwork share via slkbuild script

Post by thenktor »

gapan wrote:I'm not sure how smart it is to build packages in a network share, especially a samba share. All sorts of trouble could potentially come up.
I'm using NFS for this task (exporting my build dir to a i486 build host) and I strongly recommend not to use Samba for this. With NFS nothing bad will happen.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Writing to Newtwork share via slkbuild script

Post by JRD »

I'm using VirtualBox + vbsf for sharing my SLKBUILD and packages.
This way I can easily compile on any version and any architecture supported by VirtualBox (32 and 64 bits for me).
Image
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Writing to Newtwork share via slkbuild script

Post by laprjns »

JRD wrote:I'm using VirtualBox + vbsf for sharing my SLKBUILD and packages.
This way I can easily compile on any version and any architecture supported by VirtualBox (32 and 64 bits for me).
Yes, I abandon the idea of building in a network shared directory and now am also using VirtualBox . Building both 32 and 64 packages running Salix 32 and 64 as VMs on my Salix 32 host using shared files. I can actually have both vm running at the same time, although I haven't try compiling simultaneously yet.
I think this Slkbuild tool is just brilliant and can't understand why ZW is discouraging building packages with buildpkg, :roll: especilly when there is a shortage of people willing to help to build packages.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Writing to Newtwork share via slkbuild script

Post by thenktor »

JRD wrote:I'm using VirtualBox + vbsf for sharing my SLKBUILD and packages.
This way I can easily compile on any version and any architecture supported by VirtualBox (32 and 64 bits for me).
But building on my old 32 bit machine still is so much faster than using Virtualbox on my more modern 64 bit host... ;)
I think this Slkbuild tool is just brilliant and can't understand why ZW is discouraging building packages with buildpkg,
Without buildpkg I would not have started packaging for Zenwalk. So if they don't want such tools they will lose many possible packagers.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Writing to Newtwork share via slkbuild script

Post by Shador »

thenktor wrote:But building on my old 32 bit machine still is so much faster than using Virtualbox on my more modern 64 bit host... ;)
I guess a cpu with virtualizsation extension could offset that a bit. Anybody giving them away for free? :mrgreen:
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Writing to Newtwork share via slkbuild script

Post by thenktor »

Shador wrote:Anybody giving them away for free? :mrgreen:
Anybody is willing to pay 8-core build server for us? :)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Writing to Newtwork share via slkbuild script

Post by laprjns »

thenktor wrote:But building on my old 32 bit machine still is so much faster than using Virtualbox on my more modern 64 bit host... ;)
I am running it on a 32 bit host that supports visualization. http://www.newegg.com/Product/Product.a ... 6819103698. Only running one core thought, couldn't get the second core to unlock.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Post Reply