diff --git a/Changelog b/Changelog index 732d60ba..88efc142 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,8 @@ +* Mon Jan 29 2007 Jesse Keating +- Update the comps file again from F7 +- Fix the ppc boot flags +- Clean up SRPM-disc junk + * Thu Jan 25 2007 Jesse Keating - Update the comps file from F7 diff --git a/config/comps-fc7.xml b/config/comps-fc7.xml index 37863f70..67446942 100644 --- a/config/comps-fc7.xml +++ b/config/comps-fc7.xml @@ -2634,80 +2634,8 @@ rp-pppoe wvdial efax - statserial - - - - dialup - Dialup Networking Support - Inbelnetwerksteun - የመረቡ ደጋፊ ጋር ደውል - دعم شبكات الاتصال الهاتفي - ডাইল্ কৰা জালপ্ৰসাৰৰ সমৰ্থন - Падтрымка камутуемых злучэньняў - Поддръжка на Dailup мрежи - টেলিফোনের মাধ্যমে নেটওয়ার্কিং-এর ব্যবস্থা - ডায়াল-আপ নেটওয়ার্কিং ব্যবস্থা - Suport per a la connexió a la xarxa - Podpora vytáčeného připojení k síti - Cynhaliaeth Rhwydweithio Cyswllt Ffôn - Understøttelse for opkaldt opkobling - Einwahl-Netzwerk Unterstützung - Υποστήριξη δικτύωσης μέσω τηλεφώνου - Dial-up Networking Support - Soporte de red mediante discado - Sissehelistamise võrgu toetus - پشتیبانی از کار با شبکه از طریق خط تلفن - Tuki puhelinverkkoyhteyksille - Support d'accès distant au réseau - ડાયલઅપ નેટવર્કનો આધાર - ड़ायलअप संजालन समर्थन - Podrška za telefoniranje - Telefonos hálózati támogatás - Հեռախոսային միացման հնարավորություն - Dukungan Dialup Networking - Upphringinetsstuðningur - Supporto di networking dialup - ダイヤルアップネットワークサポート - ದೂರವಾಣಿ ಮೂಲಕ ಜಾಲವ್ಯವಸ್ಥೆಯ ಸಮರ್ಥನೆ - 전화연결 네트워킹 지원 - Iezvanpiekļuve datortīkliem - Поддршка за модемска (dial-up) мрежа - ഡൈലപ്പ് നെറ്റ്വറ്‍ക്കിംഗ് സപ്പോറ്‍ട്ട് - डायलअप संजालन समर्थन - Sokongan Rangkaian Dailup - Støtte for oppringt nettverk - Inbelnetwerk ondersteuning - Støtte for oppringt nettverk - Thekgo ya Neteweke ya go Taela - ଡାଏଲ-ଅପ ନେଟୱାର୍କ ସହାୟତା - ਡਾਇਲਅੱਪ ਨੈੱਟਵਰਕ ਸਹਿਯੋਗ - Obsługa sieci dial-up - Suporte a Ligações Telefónicas - Suporte à Rede Dialup - Suport pentru acces la reţea prin telefon - Удалённый доступ к сети - ඩයල්අප් ජාල පහසුකම - Podpora telefonického pripojenia - Podpora telefonske priključitve - Подршка за телефонско умрежавање - Podrška za telefonsko umrežavanje - Stöd för uppringd uppkoppling - டயல்அப் பிணைய துணை - Dialup Networking మద్దతు - ระบบสนับสนุนการเชื่อมต่ออินเทอร์เน็ตด้วยสายโทรศัพท์ - Çevirmeli Ağ Desteği - Віддалений доступ до мережі - ڈاليپ نیٹ وارک ساتھ - Hỗ trợ mạng quay số - 拨号联网支持 - 撥號網路支援 - Ukuxhasa Kokuxhumanisa Kokufona - - true - false - pptp + statserial @@ -13202,4 +13130,4 @@ virtualization - \ No newline at end of file + diff --git a/pypungi/pungi.py b/pypungi/pungi.py index 7852425f..464f3b54 100755 --- a/pypungi/pungi.py +++ b/pypungi/pungi.py @@ -163,7 +163,7 @@ class Pungi: bootargs = '' x86bootargs = '-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table' ia64bootargs = '-b images/boot.img -no-emul-boot' - ppcbootargs = '-part -hfs -r -l -sysid PPC -hfs-bless "./ppc/mac" -map %s -magic %s -no-desktop -allow-multidot -chrp-boot' % (os.path.join(anaruntime, 'mapping'), os.path.join(anaruntime, 'magic')) + ppcbootargs = '-part -hfs -r -l -sysid PPC -map %s -magic %s -no-desktop -allow-multidot -chrp-boot -hfs-bless' % (os.path.join(anaruntime, 'mapping'), os.path.join(anaruntime, 'magic')) isodir = os.path.join(self.config.get('default', 'destdir'), self.config.get('default', 'version'), self.config.get('default', 'flavor'), self.config.get('default', 'arch'), self.config.get('default', 'isodir')) os.makedirs(isodir) @@ -178,7 +178,7 @@ class Pungi: elif self.config.get('default', 'arch') == 'ia64': bootargs = ia64bootargs elif self.config.get('default', 'arch') == 'ppc': - bootargs = ppcbootargs + bootargs = "%s %s" % (ppcbootargs, os.path.join('%s-disc%s' % (self.topdir, disc), "ppc/mac")) else: bootargs = '' # clear out any existing bootargs @@ -217,7 +217,7 @@ class Pungi: elif self.config.get('default', 'arch') == 'ia64': bootargs = ia64bootargs elif self.config.get('default', 'arch') == 'ppc': - bootargs = ppcbootargs + bootargs = "%s %s" % (ppcbootargs, os.path.join(self.topdir, "ppc/mac")) else: bootargs = '' # clear out any existing bootargs @@ -237,39 +237,40 @@ class Pungi: 'repodata-%s' % self.config.get('default', 'arch')), os.path.join(self.topdir, 'repodata')) # Now make rescue images - os.system('/usr/lib/anaconda-runtime/mk-rescueimage.%s %s %s %s %s' % ( - self.config.get('default', 'arch'), - self.topdir, - self.workdir, - self.config.get('default', 'iso_basename'), - self.config.get('default', 'product_path'))) + if not self.config.get('default', 'arch') == 'source': + os.system('/usr/lib/anaconda-runtime/mk-rescueimage.%s %s %s %s %s' % ( + self.config.get('default', 'arch'), + self.topdir, + self.workdir, + self.config.get('default', 'iso_basename'), + self.config.get('default', 'product_path'))) - # write the iso - volname = '"%s %s %s Rescue"' % (self.config.get('default', 'product_name'), self.config.get('default', 'version'), - self.config.get('default', 'arch')) # hacky :/ - isoname = '%s-%s-%s-rescuecd.iso' % (self.config.get('default', 'iso_basename'), self.config.get('default', 'version'), - self.config.get('default', 'arch')) - if self.config.get('default', 'arch') == 'i386' or self.config.get('default', 'arch') == 'x86_64': - bootargs = x86bootargs - elif self.config.get('default', 'arch') == 'ia64': - bootargs = ia64bootargs - elif self.config.get('default', 'arch') == 'ppc': - bootargs = ppcbootargs - else: - bootargs = '' # clear out any existing bootargs + # write the iso + volname = '"%s %s %s Rescue"' % (self.config.get('default', 'product_name'), self.config.get('default', 'version'), + self.config.get('default', 'arch')) # hacky :/ + isoname = '%s-%s-%s-rescuecd.iso' % (self.config.get('default', 'iso_basename'), self.config.get('default', 'version'), + self.config.get('default', 'arch')) + if self.config.get('default', 'arch') == 'i386' or self.config.get('default', 'arch') == 'x86_64': + bootargs = x86bootargs + elif self.config.get('default', 'arch') == 'ia64': + bootargs = ia64bootargs + elif self.config.get('default', 'arch') == 'ppc': + bootargs = "%s %s" % (ppcbootargs, os.path.join(self.workdir, "%s-rescueimage" % self.config.get('default', 'arch'), "ppc/mac")) + else: + bootargs = '' # clear out any existing bootargs - os.system('mkisofs %s %s %s -o %s/%s %s' % (mkisofsargs, - volname, - bootargs, - isodir, - isoname, - os.path.join(self.workdir, "%s-rescueimage" % self.config.get('default', 'arch')))) + os.system('mkisofs %s %s %s -o %s/%s %s' % (mkisofsargs, + volname, + bootargs, + isodir, + isoname, + os.path.join(self.workdir, "%s-rescueimage" % self.config.get('default', 'arch')))) - os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname)) + os.system('cd %s; sha1sum %s >> SHA1SUM' % (isodir, isoname)) # Do some clean up dirs = os.listdir(self.archdir) for dir in dirs: - if dir.startswith('os-disc'): + if dir.startswith('os-disc') or dir.startswith('SRPM-disc'): shutil.move(os.path.join(self.archdir, dir), os.path.join(self.workdir, dir))