Walter Hieber
2006-03-16 03:00:08 UTC
Okay so I'm trying to setup mach again on the new system and here is
what I keep getting:
mach
Could not read location file /etc/mach/location: EOL while scanning
single-quoted string (location, line 14)
***@Yoper ~ $
Below is my conf.
See if you can spot the bug. Thanks
I know it must be a quotation mark or something.
# mach system configuration file -*-
python -*-
# These configuration options can be overridden on per-root basis in
# /etc/mach/dist
# Spinner theme
config['spinner'] = {
'wheel': '/-\|',
'text': '<-WORKING->',
'point': ".:':",
}
# Directories
config['dirs'] = {
'states': '/var/lib/mach/states',
'roots': '/var/lib/mach/roots',
'results': '/var/lib/mach/results',
'tmps': '/var/cache/mach/tmp',
'packages': '/var/cache/mach/packages',
'archives': '/var/cache/mach/archives',
}
# Default root
config['defaultroot'] = 'yoper-2.2-testing'
# Files created in the root
config['files'] = {
'/etc/resolv.conf': '''
#nameserver 215.237.151.97
#nameserver 215.237.150.33
nameserver 4.2.2.1
''',
'/etc/hosts': '''
127.0.0.1 localhost localhost.localdomain
''',
'/usr/bin/apt-sigchecker': '''#!/bin/bash
while read p; do
/bin/true
done
'''
}
config['script-success'] = "echo Results:"
# Additional macros
config['macros'] = {
'Packager': 'Walter C. Hieber <notfilled for post-odAbcf0Mc9JJm/Hvfsr4+***@public.gmane.org>',
'vendor': 'Yoper Ltd.',
}
what I keep getting:
mach
Could not read location file /etc/mach/location: EOL while scanning
single-quoted string (location, line 14)
***@Yoper ~ $
Below is my conf.
See if you can spot the bug. Thanks
I know it must be a quotation mark or something.
# mach system configuration file -*-
python -*-
# These configuration options can be overridden on per-root basis in
# /etc/mach/dist
# Spinner theme
config['spinner'] = {
'wheel': '/-\|',
'text': '<-WORKING->',
'point': ".:':",
}
# Directories
config['dirs'] = {
'states': '/var/lib/mach/states',
'roots': '/var/lib/mach/roots',
'results': '/var/lib/mach/results',
'tmps': '/var/cache/mach/tmp',
'packages': '/var/cache/mach/packages',
'archives': '/var/cache/mach/archives',
}
# Default root
config['defaultroot'] = 'yoper-2.2-testing'
# Files created in the root
config['files'] = {
'/etc/resolv.conf': '''
#nameserver 215.237.151.97
#nameserver 215.237.150.33
nameserver 4.2.2.1
''',
'/etc/hosts': '''
127.0.0.1 localhost localhost.localdomain
''',
'/usr/bin/apt-sigchecker': '''#!/bin/bash
while read p; do
/bin/true
done
'''
}
config['script-success'] = "echo Results:"
# Additional macros
config['macros'] = {
'Packager': 'Walter C. Hieber <notfilled for post-odAbcf0Mc9JJm/Hvfsr4+***@public.gmane.org>',
'vendor': 'Yoper Ltd.',
}