Re: [arch-general] Can't SSH into Arch VM until login screen is viewed

2014-07-07 Thread Ben Booth
On Jul 7, 2014, at 12:27 PM, LoneVVolf lonew...@xs4all.nl wrote: Try adding console=ttyS0 as kernel parameter to the boot command. see http://0pointer.de/blog/projects/serial-console.html for details Thanks for the link! I did the following and that fixed the problem for me: # systemctl

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-23 Thread Ben Booth
In case anyone's still interested in this, I found a pacman.conf option called NoExtract, which lets you tell pacman not to overwrite certain files and directories in the filesystem. So you could add the following line to /etc/pacman.conf: NoExtract = /usr/bin/python which would prevent

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-23 Thread Ben Booth
Ben Booth wrote: In case anyone's still interested in this, I found a pacman.conf option called NoExtract, which lets you tell pacman not to overwrite certain files and directories in the filesystem. So you could add the following line to /etc/pacman.conf: NoExtract = /usr/bin/python

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-18 Thread Ben Booth
Matthew Monaco dgbale...@0x01b.net wrote: On 08/17/2012 04:14 PM, Ben Booth wrote: Don't know if you did this by accident -- and not a huge deal -- but you shouldn't have included the vote action in the link. Oops, my mistake. In any case, the request was rejected. :(

[arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-17 Thread Ben Booth
Lots of python scripts still use #!/usr/bin/python instead of explicitly stating which version of python to use. Here's quick trick to make running various python version 2 or 3 scripts easier: remove the /usr/bin/python symlink and replace with this shell script: #!/usr/bin/env bash exec

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-17 Thread Ben Booth
Damjan wrote: The only problem with this approach is that /usr/bin/python is owned by the python package, so if you upgrade the python package it might create problems. Any one know of some way to work around this problem? Just put your script in /usr/local/bin But then some scripts use

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-17 Thread Ben Booth
Ben Booth wrote: Damjan wrote: The only problem with this approach is that /usr/bin/python is owned by the python package, so if you upgrade the python package it might create problems. Any one know of some way to work around this problem? Just put your script in /usr/local/bin

Re: [arch-general] simple trick to make dealing with python 2/3 scripts easier

2012-08-17 Thread Ben Booth
Ben Booth wrote: Maybe I'll submit a feature request to the python package maintainer to see if they think it's a good idea. I submitted a feature request in case anyone's interested: https://bugs.archlinux.org/index.php?do=detailsaction=details.addvotetask_id=31179