Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
smolt
smolt-1.1.1.1-uuidfile_path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smolt-1.1.1.1-uuidfile_path.patch of Package smolt
--- client/config.py +++ client/config.py @@ -16,7 +16,7 @@ except IOError: OS = "Shadowman!" -HW_UUID = "/etc/sysconfig/hw-uuid" +HW_UUID = "/etc/smolt/uuid" #These are the defaults taken from the source code. #fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"]) --- client/makeuuid.py +++ client/makeuuid.py @@ -23,7 +23,7 @@ help=_('force makeuuid to generate a new UUID even when one exists')) parser.add_option('-o', '--output', dest='uuid_file', - default='/etc/sysconfig/hw-uuid', + default='/etc/smolt/uuid', help=_('the uuid file')) parser.add_option('-s', '--secure', dest='secure', --- client/po/bg.po +++ client/po/bg.po @@ -178,7 +178,7 @@ msgstr "" "Данните бяха успешно изпратени. Ако Ви дотрябва справка за вашия хардуерен профил за рапорт за грешка вашия UUID е \n" "%s\n" -"записан в /etc/sysconfig/hw-uuid" +"записан в /etc/smolt/uuid" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/hr.po +++ client/po/hr.po @@ -177,7 +177,7 @@ msgstr "" "Podaci su uspješno poslati. Ako vam tijekom izrade prijave o nedostatku zatreba pozivanje na vaš profil hardvera, vaš UUID je \n" "%s,\n" -"a pohranjen je u datoteci /etc/sysconfig/hw-uuid" +"a pohranjen je u datoteci /etc/smolt/uuid" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/hu.po +++ client/po/hu.po @@ -178,7 +178,7 @@ msgstr "" "Az adatokat sikerült elküldeni. Ha utalni kell az ön hardverprofiljára egy hibabejelentéskor, az ön UUID-je:\n" "%s\n" -"eltárolva /etc/sysconfig/hw-uuid fájlban" +"eltárolva /etc/smolt/uuid fájlban" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/it.po +++ client/po/it.po @@ -179,7 +179,7 @@ msgstr "" "I dati sono stati inviati con successo. Se si desidera fare riferimento al proprio profilo hardware per una segnalazione d'errore il vostro UUID è \n" "%s\n" -"salvato in /etc/sysconfig/hw-uuid" +"salvato in /etc/smolt/uuid" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/or.po +++ client/po/or.po @@ -180,7 +180,7 @@ msgstr "" "ତଥ୍ଯକୁ ସଫଳତାର ସହିତ ପଠାଗଲା। ଯଦି ଆପଣ ଗୋଟିଏ ତୃଟି ବିବରଣୀ ପାଇଁ ଆପଣଙ୍କ ହାର୍ଡୱେର ରୂପରେଖକୁ ଦେଖିବା ପାଇଁ ଚାହୁଁଛନ୍ତି ତାହାହେଲେ \n" "ଆପଣଙ୍କ UUID ଟି ହେଲା %s\n" -"ଏହାକୁ /etc/sysconfig/hw-uuid ରେ ରଖାଯାଇଛି" +"ଏହାକୁ /e/etc/smolt.u/uid ରେ ରଖାଯାଇଛି" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/ru.po +++ client/po/ru.po @@ -179,7 +179,7 @@ msgstr "" "Данные успешно отправлены. Для ссылки на свой профиль оборудования при сообщении об ошибках используйте UUID\n" "%s,\n" -"он сохранен в /etc/sysconfig/hw-uuid" +"он сохранен в /etc/smolt/uuid" #: smoltGui.py:166 msgid "Smolt Privacy Policy" --- client/po/zh_CN.po +++ client/po/zh_CN.po @@ -179,7 +179,7 @@ "%s\n" "stored in %s" msgstr "" -"数据被成功地发送了。如果您需要为 bug 报告而引用您的硬件配置,存放在 /etc/sysconfig/hw-uuid 的 UUID 是\n" +"数据被成功地发送了。如果您需要为 bug 报告而引用您的硬件配置,存放在 /etc/smolt/uuid 的 UUID 是\n" "%s\n" "。" --- client/smolt.py +++ client/smolt.py @@ -58,7 +58,7 @@ smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/") secure = get_config_attr("SECURE", 0) -hw_uuid_file = get_config_attr("HW_UUID", "/etc/sysconfig/hw-uuid") +hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/uuid") smoltProtocol = '0.97' supported_protocols = ['0.97',] user_agent = 'smolt/%s' % smoltProtocol --- client/smoltFirstBoot.py +++ client/smoltFirstBoot.py @@ -102,9 +102,9 @@ iter = text_buffer.get_iter_at_offset(0) # Generate the UUID if it does not exist yet - if not os.path.exists('/etc/sysconfig/hw-uuid'): + if not os.path.exists('/etc/smolt/uuid'): s=open('/proc/sys/kernel/random/uuid', 'r') - d=open('/etc/sysconfig/hw-uuid','w') + d=open('/etc/smolt/uuid','w') d.write(s.read()) s.close() d.close()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor