rinse-1.7-git.patch 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393
  1. diff -ruN rinse-1.7.orig/bin/rinse rinse-1.7/bin/rinse
  2. --- rinse-1.7.orig/bin/rinse 2009-04-22 03:38:40.000000000 +0900
  3. +++ rinse-1.7/bin/rinse 2011-02-23 01:31:09.000000000 +0900
  4. @@ -868,6 +868,12 @@
  5. $arch = 'x86_64';
  6. }
  7. + # 32bit packages come in a variety of specific formats now
  8. + if ( $CONFIG{ 'arch' } eq 'i386' )
  9. + {
  10. + $arch = 'i386|i586|i686';
  11. + }
  12. +
  13. if ( $#remainder_parts != 2 ||
  14. $remainder_parts[0] ne '' ||
  15. $remainder_parts[1] !~ /^[\d\w][\d\w.+]*$/ ||
  16. diff -ruN rinse-1.7.orig/etc/fedora-10.packages rinse-1.7/etc/fedora-10.packages
  17. --- rinse-1.7.orig/etc/fedora-10.packages 1970-01-01 09:00:00.000000000 +0900
  18. +++ rinse-1.7/etc/fedora-10.packages 2011-02-23 01:04:31.000000000 +0900
  19. @@ -0,0 +1,106 @@
  20. +audit-libs
  21. +basesystem
  22. +bash
  23. +bzip2-libs
  24. +chkconfig
  25. +compat-db45
  26. +ConsoleKit-libs
  27. +coreutils
  28. +cpio
  29. +cracklib
  30. +cracklib-dicts
  31. +crontabs
  32. +cyrus-sasl-lib
  33. +db4
  34. +dbus
  35. +dbus-libs
  36. +device-mapper
  37. +device-mapper-libs
  38. +dhclient
  39. +dirmngr
  40. +e2fsprogs
  41. +e2fsprogs-libs
  42. +elfutils-libelf
  43. +ethtool
  44. +expat
  45. +fedora-release
  46. +fedora-release-notes
  47. +file
  48. +file-libs
  49. +filesystem
  50. +findutils
  51. +gamin
  52. +gawk
  53. +gdbm
  54. +glib2
  55. +glibc
  56. +glibc-common
  57. +gnupg2
  58. +gpgme
  59. +grep
  60. +info
  61. +initscripts
  62. +iproute
  63. +iputils
  64. +keyutils-libs
  65. +krb5-libs
  66. +libacl
  67. +libattr
  68. +libcap
  69. +libcurl
  70. +libgcc
  71. +libgcrypt
  72. +libgpg-error
  73. +libidn
  74. +libksba
  75. +libselinux
  76. +libsepol
  77. +libstdc++
  78. +libusb
  79. +libvolume_id
  80. +libxml2
  81. +linux-atm-libs
  82. +logrotate
  83. +lua
  84. +MAKEDEV
  85. +mingetty
  86. +module-init-tools
  87. +ncurses
  88. +ncurses-base
  89. +ncurses-libs
  90. +net-tools
  91. +nspr
  92. +nss
  93. +openldap
  94. +openssl
  95. +pam
  96. +passwd
  97. +pcre
  98. +pinentry
  99. +popt
  100. +procps
  101. +psmisc
  102. +pth
  103. +pygpgme
  104. +python
  105. +python-iniparse
  106. +python-libs
  107. +python-urlgrabber
  108. +readline
  109. +rpm
  110. +rpm-libs
  111. +rpm-python
  112. +rsyslog
  113. +sed
  114. +setup
  115. +shadow-utils
  116. +sqlite
  117. +sysvinit-tools
  118. +tzdata
  119. +udev
  120. +upstart
  121. +util-linux-ng
  122. +vim-minimal
  123. +yum
  124. +yum-metadata-parser
  125. +zlib
  126. diff -ruN rinse-1.7.orig/etc/fedora-11.packages rinse-1.7/etc/fedora-11.packages
  127. --- rinse-1.7.orig/etc/fedora-11.packages 1970-01-01 09:00:00.000000000 +0900
  128. +++ rinse-1.7/etc/fedora-11.packages 2011-02-23 01:11:57.000000000 +0900
  129. @@ -0,0 +1,106 @@
  130. +audit-libs
  131. +basesystem
  132. +bash
  133. +bzip2-libs
  134. +chkconfig
  135. +compat-db45
  136. +ConsoleKit-libs
  137. +coreutils
  138. +cpio
  139. +cracklib
  140. +cracklib-dicts
  141. +crontabs
  142. +cyrus-sasl-lib
  143. +db4
  144. +dbus
  145. +dbus-libs
  146. +device-mapper
  147. +device-mapper-libs
  148. +dhclient
  149. +dirmngr
  150. +e2fsprogs
  151. +e2fsprogs-libs
  152. +elfutils-libelf
  153. +ethtool
  154. +expat
  155. +fedora-release
  156. +fedora-release-notes
  157. +file
  158. +file-libs
  159. +filesystem
  160. +findutils
  161. +gamin
  162. +gawk
  163. +gdbm
  164. +glib2
  165. +glibc
  166. +glibc-common
  167. +gnupg2
  168. +gpgme
  169. +grep
  170. +info
  171. +initscripts
  172. +iproute
  173. +iputils
  174. +keyutils-libs
  175. +krb5-libs
  176. +libacl
  177. +libattr
  178. +libcap
  179. +libcurl
  180. +libgcc
  181. +libgcrypt
  182. +libgpg-error
  183. +libidn
  184. +libksba
  185. +libselinux
  186. +libsepol
  187. +libstdc++
  188. +libusb
  189. +libvolume_id
  190. +libxml2
  191. +linux-atm-libs
  192. +logrotate
  193. +lua
  194. +MAKEDEV
  195. +mingetty
  196. +module-init-tools
  197. +ncurses
  198. +ncurses-base
  199. +ncurses-libs
  200. +net-tools
  201. +nspr
  202. +nss
  203. +openldap
  204. +openssl
  205. +pam
  206. +passwd
  207. +pcre
  208. +pinentry
  209. +popt
  210. +procps
  211. +psmisc
  212. +pth
  213. +pygpgme
  214. +python
  215. +python-iniparse
  216. +python-libs
  217. +python-urlgrabber
  218. +readline
  219. +rpm
  220. +rpm-libs
  221. +rpm-python
  222. +rsyslog
  223. +sed
  224. +setup
  225. +shadow-utils
  226. +sqlite
  227. +sysvinit-tools
  228. +tzdata
  229. +udev
  230. +upstart
  231. +util-linux-ng
  232. +vim-minimal
  233. +yum
  234. +yum-metadata-parser
  235. +zlib
  236. diff -ruN rinse-1.7.orig/etc/fedora-12.packages rinse-1.7/etc/fedora-12.packages
  237. --- rinse-1.7.orig/etc/fedora-12.packages 1970-01-01 09:00:00.000000000 +0900
  238. +++ rinse-1.7/etc/fedora-12.packages 2011-02-23 01:04:31.000000000 +0900
  239. @@ -0,0 +1,115 @@
  240. +audit-libs
  241. +basesystem
  242. +bash
  243. +bzip2-libs
  244. +chkconfig
  245. +ConsoleKit-libs
  246. +coreutils
  247. +cpio
  248. +cracklib
  249. +cracklib-dicts
  250. +crontabs
  251. +cyrus-sasl-lib
  252. +db4
  253. +dbus
  254. +dbus-libs
  255. +device-mapper
  256. +device-mapper-libs
  257. +dhclient
  258. +dirmngr
  259. +e2fsprogs
  260. +e2fsprogs-libs
  261. +elfutils-libelf
  262. +ethtool
  263. +expat
  264. +fedora-release
  265. +fedora-release-notes
  266. +file
  267. +file-libs
  268. +filesystem
  269. +findutils
  270. +gamin
  271. +gawk
  272. +gdbm
  273. +glib2
  274. +glibc
  275. +glibc-common
  276. +gnupg2
  277. +gpgme
  278. +grep
  279. +info
  280. +initscripts
  281. +iproute
  282. +iputils
  283. +keyutils-libs
  284. +krb5-libs
  285. +libacl
  286. +libattr
  287. +libcap
  288. +libcurl
  289. +libgcc
  290. +libgcrypt
  291. +libgpg-error
  292. +libidn
  293. +libksba
  294. +libselinux
  295. +libsepol
  296. +libstdc++
  297. +libusb
  298. +libxml2
  299. +linux-atm-libs
  300. +logrotate
  301. +lua
  302. +MAKEDEV
  303. +mingetty
  304. +module-init-tools
  305. +ncurses
  306. +ncurses-base
  307. +ncurses-libs
  308. +net-tools
  309. +nspr
  310. +nss
  311. +openldap
  312. +openssl
  313. +pam
  314. +passwd
  315. +pcre
  316. +pinentry
  317. +popt
  318. +procps
  319. +psmisc
  320. +pth
  321. +pygpgme
  322. +python
  323. +python-iniparse
  324. +python-libs
  325. +python-urlgrabber
  326. +readline
  327. +rpm
  328. +rpm-libs
  329. +rpm-python
  330. +rsyslog
  331. +sed
  332. +setup
  333. +shadow-utils
  334. +sqlite
  335. +sysvinit-tools
  336. +tzdata
  337. +udev
  338. +upstart
  339. +util-linux-ng
  340. +vim-minimal
  341. +yum
  342. +yum-metadata-parser
  343. +zlib
  344. +
  345. +# New to v12
  346. +xz-libs
  347. +nss-util
  348. +python-pycurl
  349. +libssh2
  350. +libcom_err
  351. +nss-softokn-freebl
  352. +nss-softokn
  353. +# Required or else login failse
  354. +libcap-ng
  355. diff -ruN rinse-1.7.orig/etc/fedora-13.packages rinse-1.7/etc/fedora-13.packages
  356. --- rinse-1.7.orig/etc/fedora-13.packages 1970-01-01 09:00:00.000000000 +0900
  357. +++ rinse-1.7/etc/fedora-13.packages 2011-02-23 01:04:31.000000000 +0900
  358. @@ -0,0 +1,118 @@
  359. +audit-libs
  360. +basesystem
  361. +bash
  362. +bzip2-libs
  363. +chkconfig
  364. +ConsoleKit-libs
  365. +coreutils
  366. +cpio
  367. +cracklib
  368. +cracklib-dicts
  369. +crontabs
  370. +cyrus-sasl-lib
  371. +db4
  372. +dbus
  373. +dbus-libs
  374. +device-mapper
  375. +device-mapper-libs
  376. +dhclient
  377. +dirmngr
  378. +e2fsprogs
  379. +e2fsprogs-libs
  380. +elfutils-libelf
  381. +ethtool
  382. +expat
  383. +fedora-release
  384. +fedora-release-notes
  385. +file
  386. +file-libs
  387. +filesystem
  388. +findutils
  389. +gamin
  390. +gawk
  391. +gdbm
  392. +glib2
  393. +glibc
  394. +glibc-common
  395. +gnupg2
  396. +gpgme
  397. +grep
  398. +info
  399. +initscripts
  400. +iproute
  401. +iputils
  402. +keyutils-libs
  403. +krb5-libs
  404. +libacl
  405. +libattr
  406. +libcap
  407. +libcurl
  408. +libgcc
  409. +libgcrypt
  410. +libgpg-error
  411. +libidn
  412. +libksba
  413. +libselinux
  414. +libsepol
  415. +libstdc++
  416. +libusb
  417. +libxml2
  418. +linux-atm-libs
  419. +logrotate
  420. +lua
  421. +MAKEDEV
  422. +mingetty
  423. +module-init-tools
  424. +ncurses
  425. +ncurses-base
  426. +ncurses-libs
  427. +net-tools
  428. +nspr
  429. +nss
  430. +openldap
  431. +openssl
  432. +pam
  433. +passwd
  434. +pcre
  435. +pinentry
  436. +popt
  437. +procps
  438. +psmisc
  439. +pth
  440. +pygpgme
  441. +python
  442. +python-iniparse
  443. +python-libs
  444. +python-urlgrabber
  445. +readline
  446. +rpm
  447. +rpm-libs
  448. +rpm-python
  449. +rsyslog
  450. +sed
  451. +setup
  452. +shadow-utils
  453. +sqlite
  454. +sysvinit-tools
  455. +tzdata
  456. +udev
  457. +upstart
  458. +util-linux-ng
  459. +vim-minimal
  460. +yum
  461. +yum-metadata-parser
  462. +zlib
  463. +
  464. +# New to v12
  465. +xz-libs
  466. +nss-util
  467. +python-pycurl
  468. +libssh2
  469. +libcom_err
  470. +nss-softokn-freebl
  471. +nss-softokn
  472. +# Required or else login failse
  473. +libcap-ng
  474. +
  475. +# New to v13
  476. +c-ares
  477. diff -ruN rinse-1.7.orig/etc/fedora-14.packages rinse-1.7/etc/fedora-14.packages
  478. --- rinse-1.7.orig/etc/fedora-14.packages 1970-01-01 09:00:00.000000000 +0900
  479. +++ rinse-1.7/etc/fedora-14.packages 2011-02-23 01:21:35.000000000 +0900
  480. @@ -0,0 +1,114 @@
  481. +audit-libs
  482. +basesystem
  483. +bash
  484. +bzip2-libs
  485. +chkconfig
  486. +ConsoleKit-libs
  487. +coreutils
  488. +cpio
  489. +cracklib
  490. +cracklib-dicts
  491. +crontabs
  492. +cyrus-sasl-lib
  493. +db4
  494. +dbus
  495. +dbus-libs
  496. +device-mapper
  497. +device-mapper-libs
  498. +dhclient
  499. +e2fsprogs
  500. +e2fsprogs-libs
  501. +elfutils-libelf
  502. +expat
  503. +fedora-release
  504. +fedora-release-notes
  505. +file
  506. +file-libs
  507. +filesystem
  508. +findutils
  509. +gamin
  510. +gawk
  511. +gdbm
  512. +glib2
  513. +glibc
  514. +glibc-common
  515. +gnupg2
  516. +gpgme
  517. +grep
  518. +info
  519. +initscripts
  520. +iproute
  521. +iputils
  522. +keyutils-libs
  523. +krb5-libs
  524. +libacl
  525. +libattr
  526. +libcap
  527. +libcurl
  528. +libgcc
  529. +libgcrypt
  530. +libgpg-error
  531. +libidn
  532. +libselinux
  533. +libsepol
  534. +libstdc++
  535. +libusb
  536. +libxml2
  537. +linux-atm-libs
  538. +logrotate
  539. +lua
  540. +mingetty
  541. +module-init-tools
  542. +ncurses
  543. +ncurses-base
  544. +ncurses-libs
  545. +net-tools
  546. +nspr
  547. +nss
  548. +openldap
  549. +openssl
  550. +pam
  551. +passwd
  552. +pcre
  553. +pinentry
  554. +popt
  555. +procps
  556. +psmisc
  557. +pth
  558. +pygpgme
  559. +python
  560. +python-iniparse
  561. +python-libs
  562. +python-urlgrabber
  563. +readline
  564. +rpm
  565. +rpm-libs
  566. +rpm-python
  567. +rsyslog
  568. +sed
  569. +setup
  570. +shadow-utils
  571. +sqlite
  572. +sysvinit-tools
  573. +tzdata
  574. +udev
  575. +upstart
  576. +util-linux-ng
  577. +vim-minimal
  578. +yum
  579. +yum-metadata-parser
  580. +zlib
  581. +
  582. +# New to v12
  583. +xz-libs
  584. +nss-util
  585. +python-pycurl
  586. +libssh2
  587. +libcom_err
  588. +nss-softokn-freebl
  589. +nss-softokn
  590. +# Required or else login failse
  591. +libcap-ng
  592. +
  593. +# New to v13
  594. +c-ares
  595. diff -ruN rinse-1.7.orig/etc/fedora-7.packages rinse-1.7/etc/fedora-7.packages
  596. --- rinse-1.7.orig/etc/fedora-7.packages 1970-01-01 09:00:00.000000000 +0900
  597. +++ rinse-1.7/etc/fedora-7.packages 2011-02-23 01:04:31.000000000 +0900
  598. @@ -0,0 +1,85 @@
  599. +#
  600. +# Packages which we'll need to download for a minimal installation
  601. +# of Fedora Core 7.
  602. +#
  603. +
  604. +
  605. +MAKEDEV
  606. +SysVinit
  607. +audit-libs
  608. +basesystem
  609. +bash
  610. +beecrypt
  611. +bzip2-libs
  612. +chkconfig
  613. +coreutils
  614. +cracklib
  615. +cracklib-dicts
  616. +db4
  617. +device-mapper
  618. +e2fsprogs
  619. +e2fsprogs-libs
  620. +elfutils-libelf
  621. +ethtool
  622. +expat
  623. +filesystem
  624. +findutils
  625. +gawk
  626. +gdbm
  627. +glib2
  628. +glibc
  629. +glibc-common
  630. +grep
  631. +info
  632. +initscripts
  633. +iproute
  634. +iputils
  635. +krb5-libs
  636. +libacl
  637. +libattr
  638. +libcap
  639. +libgcc
  640. +libidn
  641. +keyutils-libs
  642. +libselinux
  643. +libsepol
  644. +libstdc++
  645. +libsysfs
  646. +libtermcap
  647. +libxml2
  648. +libxml2-python
  649. +mcstrans
  650. +mingetty
  651. +mktemp
  652. +module-init-tools
  653. +ncurses
  654. +neon
  655. +net-tools
  656. +openssl
  657. +pam
  658. +pcre
  659. +popt
  660. +procps
  661. +psmisc
  662. +python
  663. +python-elementtree
  664. +python-libs
  665. +python-numeric
  666. +python-sqlite
  667. +python-urlgrabber
  668. +readline
  669. +rpm
  670. +rpm-libs
  671. +rpm-python
  672. +sed
  673. +setup
  674. +shadow-utils
  675. +sqlite
  676. +sysklogd
  677. +termcap
  678. +tzdata
  679. +udev
  680. +util-linux
  681. +yum
  682. +yum-metadata-parser
  683. +zlib
  684. diff -ruN rinse-1.7.orig/etc/fedora-8.packages rinse-1.7/etc/fedora-8.packages
  685. --- rinse-1.7.orig/etc/fedora-8.packages 1970-01-01 09:00:00.000000000 +0900
  686. +++ rinse-1.7/etc/fedora-8.packages 2011-02-23 01:04:31.000000000 +0900
  687. @@ -0,0 +1,85 @@
  688. +#
  689. +# Packages which we'll need to download for a minimal installation
  690. +# of Fedora Core 8.
  691. +#
  692. +
  693. +
  694. +MAKEDEV
  695. +SysVinit
  696. +audit-libs
  697. +basesystem
  698. +bash
  699. +beecrypt
  700. +bzip2-libs
  701. +chkconfig
  702. +coreutils
  703. +cracklib
  704. +cracklib-dicts
  705. +db4
  706. +device-mapper
  707. +e2fsprogs
  708. +e2fsprogs-libs
  709. +elfutils-libelf
  710. +ethtool
  711. +expat
  712. +filesystem
  713. +findutils
  714. +gawk
  715. +gdbm
  716. +glib2
  717. +glibc
  718. +glibc-common
  719. +grep
  720. +info
  721. +initscripts
  722. +iproute
  723. +iputils
  724. +krb5-libs
  725. +libacl
  726. +libattr
  727. +libcap
  728. +libgcc
  729. +libidn
  730. +keyutils-libs
  731. +libselinux
  732. +libsepol
  733. +libstdc++
  734. +libsysfs
  735. +libtermcap
  736. +libxml2
  737. +libxml2-python
  738. +mcstrans
  739. +mingetty
  740. +mktemp
  741. +module-init-tools
  742. +ncurses
  743. +neon
  744. +net-tools
  745. +openssl
  746. +pam
  747. +pcre
  748. +popt
  749. +procps
  750. +psmisc
  751. +python
  752. +python-elementtree
  753. +python-libs
  754. +python-numeric
  755. +python-sqlite
  756. +python-urlgrabber
  757. +readline
  758. +rpm
  759. +rpm-libs
  760. +rpm-python
  761. +sed
  762. +setup
  763. +shadow-utils
  764. +sqlite
  765. +sysklogd
  766. +termcap
  767. +tzdata
  768. +udev
  769. +util-linux
  770. +yum
  771. +yum-metadata-parser
  772. +zlib
  773. diff -ruN rinse-1.7.orig/etc/fedora-9.packages rinse-1.7/etc/fedora-9.packages
  774. --- rinse-1.7.orig/etc/fedora-9.packages 1970-01-01 09:00:00.000000000 +0900
  775. +++ rinse-1.7/etc/fedora-9.packages 2011-02-23 01:04:31.000000000 +0900
  776. @@ -0,0 +1,103 @@
  777. +audit-libs
  778. +basesystem
  779. +bash
  780. +bzip2-libs
  781. +chkconfig
  782. +ConsoleKit-libs
  783. +coreutils
  784. +cpio
  785. +cracklib
  786. +cracklib-dicts
  787. +crontabs
  788. +cyrus-sasl-lib
  789. +db4
  790. +dbus
  791. +dbus-libs
  792. +device-mapper
  793. +device-mapper-libs
  794. +dhclient
  795. +dirmngr
  796. +e2fsprogs
  797. +e2fsprogs-libs
  798. +elfutils-libelf
  799. +ethtool
  800. +event-compat-sysv
  801. +expat
  802. +fedora-release
  803. +fedora-release-notes
  804. +filesystem
  805. +findutils
  806. +gamin
  807. +gawk
  808. +gdbm
  809. +glib2
  810. +glibc
  811. +glibc-common
  812. +gnupg2
  813. +gpgme
  814. +grep
  815. +info
  816. +initscripts
  817. +iproute
  818. +iputils
  819. +keyutils-libs
  820. +krb5-libs
  821. +libacl
  822. +libattr
  823. +libcap
  824. +libcurl
  825. +libgcc
  826. +libgcrypt
  827. +libgpg-error
  828. +libidn
  829. +libksba
  830. +libselinux
  831. +libsepol
  832. +libstdc++
  833. +libsysfs
  834. +libusb
  835. +libvolume_id
  836. +libxml2
  837. +linux-atm-libs
  838. +logrotate
  839. +MAKEDEV
  840. +mingetty
  841. +module-init-tools
  842. +ncurses
  843. +ncurses-base
  844. +ncurses-libs
  845. +net-tools
  846. +nspr
  847. +nss
  848. +openldap
  849. +openssl
  850. +pam
  851. +pcre
  852. +pinentry
  853. +popt
  854. +procps
  855. +psmisc
  856. +pth
  857. +pygpgme
  858. +python
  859. +python-iniparse
  860. +python-libs
  861. +python-urlgrabber
  862. +readline
  863. +rpm
  864. +rpm-libs
  865. +rpm-python
  866. +rsyslog
  867. +sed
  868. +setup
  869. +shadow-utils
  870. +sqlite
  871. +sysvinit-tools
  872. +tzdata
  873. +udev
  874. +upstart
  875. +util-linux-ng
  876. +vim-minimal
  877. +yum
  878. +yum-metadata-parser
  879. +zlib
  880. diff -ruN rinse-1.7.orig/etc/fedora-core-10.packages rinse-1.7/etc/fedora-core-10.packages
  881. --- rinse-1.7.orig/etc/fedora-core-10.packages 2009-04-22 03:38:40.000000000 +0900
  882. +++ rinse-1.7/etc/fedora-core-10.packages 1970-01-01 09:00:00.000000000 +0900
  883. @@ -1,106 +0,0 @@
  884. -audit-libs
  885. -basesystem
  886. -bash
  887. -bzip2-libs
  888. -chkconfig
  889. -compat-db45
  890. -ConsoleKit-libs
  891. -coreutils
  892. -cpio
  893. -cracklib
  894. -cracklib-dicts
  895. -crontabs
  896. -cyrus-sasl-lib
  897. -db4
  898. -dbus
  899. -dbus-libs
  900. -device-mapper
  901. -device-mapper-libs
  902. -dhclient
  903. -dirmngr
  904. -e2fsprogs
  905. -e2fsprogs-libs
  906. -elfutils-libelf
  907. -ethtool
  908. -expat
  909. -fedora-release
  910. -fedora-release-notes
  911. -file
  912. -file-libs
  913. -filesystem
  914. -findutils
  915. -gamin
  916. -gawk
  917. -gdbm
  918. -glib2
  919. -glibc
  920. -glibc-common
  921. -gnupg2
  922. -gpgme
  923. -grep
  924. -info
  925. -initscripts
  926. -iproute
  927. -iputils
  928. -keyutils-libs
  929. -krb5-libs
  930. -libacl
  931. -libattr
  932. -libcap
  933. -libcurl
  934. -libgcc
  935. -libgcrypt
  936. -libgpg-error
  937. -libidn
  938. -libksba
  939. -libselinux
  940. -libsepol
  941. -libstdc++
  942. -libusb
  943. -libvolume_id
  944. -libxml2
  945. -linux-atm-libs
  946. -logrotate
  947. -lua
  948. -MAKEDEV
  949. -mingetty
  950. -module-init-tools
  951. -ncurses
  952. -ncurses-base
  953. -ncurses-libs
  954. -net-tools
  955. -nspr
  956. -nss
  957. -openldap
  958. -openssl
  959. -pam
  960. -passwd
  961. -pcre
  962. -pinentry
  963. -popt
  964. -procps
  965. -psmisc
  966. -pth
  967. -pygpgme
  968. -python
  969. -python-iniparse
  970. -python-libs
  971. -python-urlgrabber
  972. -readline
  973. -rpm
  974. -rpm-libs
  975. -rpm-python
  976. -rsyslog
  977. -sed
  978. -setup
  979. -shadow-utils
  980. -sqlite
  981. -sysvinit-tools
  982. -tzdata
  983. -udev
  984. -upstart
  985. -util-linux-ng
  986. -vim-minimal
  987. -yum
  988. -yum-metadata-parser
  989. -zlib
  990. diff -ruN rinse-1.7.orig/etc/fedora-core-7.packages rinse-1.7/etc/fedora-core-7.packages
  991. --- rinse-1.7.orig/etc/fedora-core-7.packages 2009-04-22 03:38:40.000000000 +0900
  992. +++ rinse-1.7/etc/fedora-core-7.packages 1970-01-01 09:00:00.000000000 +0900
  993. @@ -1,85 +0,0 @@
  994. -#
  995. -# Packages which we'll need to download for a minimal installation
  996. -# of Fedora Core 7.
  997. -#
  998. -
  999. -
  1000. -MAKEDEV
  1001. -SysVinit
  1002. -audit-libs
  1003. -basesystem
  1004. -bash
  1005. -beecrypt
  1006. -bzip2-libs
  1007. -chkconfig
  1008. -coreutils
  1009. -cracklib
  1010. -cracklib-dicts
  1011. -db4
  1012. -device-mapper
  1013. -e2fsprogs
  1014. -e2fsprogs-libs
  1015. -elfutils-libelf
  1016. -ethtool
  1017. -expat
  1018. -filesystem
  1019. -findutils
  1020. -gawk
  1021. -gdbm
  1022. -glib2
  1023. -glibc
  1024. -glibc-common
  1025. -grep
  1026. -info
  1027. -initscripts
  1028. -iproute
  1029. -iputils
  1030. -krb5-libs
  1031. -libacl
  1032. -libattr
  1033. -libcap
  1034. -libgcc
  1035. -libidn
  1036. -keyutils-libs
  1037. -libselinux
  1038. -libsepol
  1039. -libstdc++
  1040. -libsysfs
  1041. -libtermcap
  1042. -libxml2
  1043. -libxml2-python
  1044. -mcstrans
  1045. -mingetty
  1046. -mktemp
  1047. -module-init-tools
  1048. -ncurses
  1049. -neon
  1050. -net-tools
  1051. -openssl
  1052. -pam
  1053. -pcre
  1054. -popt
  1055. -procps
  1056. -psmisc
  1057. -python
  1058. -python-elementtree
  1059. -python-libs
  1060. -python-numeric
  1061. -python-sqlite
  1062. -python-urlgrabber
  1063. -readline
  1064. -rpm
  1065. -rpm-libs
  1066. -rpm-python
  1067. -sed
  1068. -setup
  1069. -shadow-utils
  1070. -sqlite
  1071. -sysklogd
  1072. -termcap
  1073. -tzdata
  1074. -udev
  1075. -util-linux
  1076. -yum
  1077. -yum-metadata-parser
  1078. -zlib
  1079. diff -ruN rinse-1.7.orig/etc/fedora-core-8.packages rinse-1.7/etc/fedora-core-8.packages
  1080. --- rinse-1.7.orig/etc/fedora-core-8.packages 2009-04-22 03:38:40.000000000 +0900
  1081. +++ rinse-1.7/etc/fedora-core-8.packages 1970-01-01 09:00:00.000000000 +0900
  1082. @@ -1,85 +0,0 @@
  1083. -#
  1084. -# Packages which we'll need to download for a minimal installation
  1085. -# of Fedora Core 8.
  1086. -#
  1087. -
  1088. -
  1089. -MAKEDEV
  1090. -SysVinit
  1091. -audit-libs
  1092. -basesystem
  1093. -bash
  1094. -beecrypt
  1095. -bzip2-libs
  1096. -chkconfig
  1097. -coreutils
  1098. -cracklib
  1099. -cracklib-dicts
  1100. -db4
  1101. -device-mapper
  1102. -e2fsprogs
  1103. -e2fsprogs-libs
  1104. -elfutils-libelf
  1105. -ethtool
  1106. -expat
  1107. -filesystem
  1108. -findutils
  1109. -gawk
  1110. -gdbm
  1111. -glib2
  1112. -glibc
  1113. -glibc-common
  1114. -grep
  1115. -info
  1116. -initscripts
  1117. -iproute
  1118. -iputils
  1119. -krb5-libs
  1120. -libacl
  1121. -libattr
  1122. -libcap
  1123. -libgcc
  1124. -libidn
  1125. -keyutils-libs
  1126. -libselinux
  1127. -libsepol
  1128. -libstdc++
  1129. -libsysfs
  1130. -libtermcap
  1131. -libxml2
  1132. -libxml2-python
  1133. -mcstrans
  1134. -mingetty
  1135. -mktemp
  1136. -module-init-tools
  1137. -ncurses
  1138. -neon
  1139. -net-tools
  1140. -openssl
  1141. -pam
  1142. -pcre
  1143. -popt
  1144. -procps
  1145. -psmisc
  1146. -python
  1147. -python-elementtree
  1148. -python-libs
  1149. -python-numeric
  1150. -python-sqlite
  1151. -python-urlgrabber
  1152. -readline
  1153. -rpm
  1154. -rpm-libs
  1155. -rpm-python
  1156. -sed
  1157. -setup
  1158. -shadow-utils
  1159. -sqlite
  1160. -sysklogd
  1161. -termcap
  1162. -tzdata
  1163. -udev
  1164. -util-linux
  1165. -yum
  1166. -yum-metadata-parser
  1167. -zlib
  1168. diff -ruN rinse-1.7.orig/etc/fedora-core-9.packages rinse-1.7/etc/fedora-core-9.packages
  1169. --- rinse-1.7.orig/etc/fedora-core-9.packages 2009-04-22 03:38:40.000000000 +0900
  1170. +++ rinse-1.7/etc/fedora-core-9.packages 1970-01-01 09:00:00.000000000 +0900
  1171. @@ -1,103 +0,0 @@
  1172. -audit-libs
  1173. -basesystem
  1174. -bash
  1175. -bzip2-libs
  1176. -chkconfig
  1177. -ConsoleKit-libs
  1178. -coreutils
  1179. -cpio
  1180. -cracklib
  1181. -cracklib-dicts
  1182. -crontabs
  1183. -cyrus-sasl-lib
  1184. -db4
  1185. -dbus
  1186. -dbus-libs
  1187. -device-mapper
  1188. -device-mapper-libs
  1189. -dhclient
  1190. -dirmngr
  1191. -e2fsprogs
  1192. -e2fsprogs-libs
  1193. -elfutils-libelf
  1194. -ethtool
  1195. -event-compat-sysv
  1196. -expat
  1197. -fedora-release
  1198. -fedora-release-notes
  1199. -filesystem
  1200. -findutils
  1201. -gamin
  1202. -gawk
  1203. -gdbm
  1204. -glib2
  1205. -glibc
  1206. -glibc-common
  1207. -gnupg2
  1208. -gpgme
  1209. -grep
  1210. -info
  1211. -initscripts
  1212. -iproute
  1213. -iputils
  1214. -keyutils-libs
  1215. -krb5-libs
  1216. -libacl
  1217. -libattr
  1218. -libcap
  1219. -libcurl
  1220. -libgcc
  1221. -libgcrypt
  1222. -libgpg-error
  1223. -libidn
  1224. -libksba
  1225. -libselinux
  1226. -libsepol
  1227. -libstdc++
  1228. -libsysfs
  1229. -libusb
  1230. -libvolume_id
  1231. -libxml2
  1232. -linux-atm-libs
  1233. -logrotate
  1234. -MAKEDEV
  1235. -mingetty
  1236. -module-init-tools
  1237. -ncurses
  1238. -ncurses-base
  1239. -ncurses-libs
  1240. -net-tools
  1241. -nspr
  1242. -nss
  1243. -openldap
  1244. -openssl
  1245. -pam
  1246. -pcre
  1247. -pinentry
  1248. -popt
  1249. -procps
  1250. -psmisc
  1251. -pth
  1252. -pygpgme
  1253. -python
  1254. -python-iniparse
  1255. -python-libs
  1256. -python-urlgrabber
  1257. -readline
  1258. -rpm
  1259. -rpm-libs
  1260. -rpm-python
  1261. -rsyslog
  1262. -sed
  1263. -setup
  1264. -shadow-utils
  1265. -sqlite
  1266. -sysvinit-tools
  1267. -tzdata
  1268. -udev
  1269. -upstart
  1270. -util-linux-ng
  1271. -vim-minimal
  1272. -yum
  1273. -yum-metadata-parser
  1274. -zlib
  1275. diff -ruN rinse-1.7.orig/etc/opensuse-11.0.packages rinse-1.7/etc/opensuse-11.0.packages
  1276. --- rinse-1.7.orig/etc/opensuse-11.0.packages 2009-04-22 03:38:40.000000000 +0900
  1277. +++ rinse-1.7/etc/opensuse-11.0.packages 2011-02-23 01:32:13.000000000 +0900
  1278. @@ -72,6 +72,7 @@
  1279. libzio
  1280. libzypp
  1281. login
  1282. +makedev
  1283. mingetty
  1284. module-init-tools
  1285. ncurses-utils
  1286. diff -ruN rinse-1.7.orig/etc/opensuse-11.1.packages rinse-1.7/etc/opensuse-11.1.packages
  1287. --- rinse-1.7.orig/etc/opensuse-11.1.packages 2009-04-22 03:38:40.000000000 +0900
  1288. +++ rinse-1.7/etc/opensuse-11.1.packages 2011-02-23 01:32:15.000000000 +0900
  1289. @@ -78,6 +78,7 @@
  1290. libzio
  1291. libzypp
  1292. login
  1293. +makedev
  1294. mingetty
  1295. module-init-tools
  1296. ncurses-utils
  1297. diff -ruN rinse-1.7.orig/etc/opensuse-11.2.packages rinse-1.7/etc/opensuse-11.2.packages
  1298. --- rinse-1.7.orig/etc/opensuse-11.2.packages 1970-01-01 09:00:00.000000000 +0900
  1299. +++ rinse-1.7/etc/opensuse-11.2.packages 2011-02-23 01:22:03.000000000 +0900
  1300. @@ -0,0 +1,131 @@
  1301. +#
  1302. +# Packages which we'll need to download for a minimal installation
  1303. +# OpenSuSE 11.1
  1304. +#
  1305. +
  1306. +
  1307. +aaa_base
  1308. +audit-libs
  1309. +bash
  1310. +boost-license
  1311. +bzip2
  1312. +ConsoleKit
  1313. +coreutils
  1314. +coreutils-lang
  1315. +cpio
  1316. +cpio-lang
  1317. +cracklib
  1318. +cracklib-dict-small
  1319. +cyrus-sasl
  1320. +dbus-1
  1321. +dbus-1-glib
  1322. +device-mapper
  1323. +diffutils
  1324. +dirmngr
  1325. +e2fsprogs
  1326. +ethtool
  1327. +expat
  1328. +filesystem
  1329. +fillup
  1330. +findutils
  1331. +gawk
  1332. +gdbm
  1333. +glib2
  1334. +glib2-lang
  1335. +glib2-branding-upstream
  1336. +glibc
  1337. +gpg2
  1338. +gpg2-lang
  1339. +grep
  1340. +gzip
  1341. +hal
  1342. +info
  1343. +insserv
  1344. +keyutils-libs
  1345. +krb5
  1346. +libacl
  1347. +libattr
  1348. +libboost_signals1_36_0
  1349. +libbz2-1
  1350. +libcom_err2
  1351. +libcurl4
  1352. +libdb-4_5
  1353. +libexpat1
  1354. +libgcc43
  1355. +libgcrypt11
  1356. +libglib-2_0-0
  1357. +libgobject-2_0-0
  1358. +libgthread-2_0-0
  1359. +libgpg-error0
  1360. +libidn
  1361. +libksba
  1362. +libldap-2_4-2
  1363. +libncurses5
  1364. +libnscd
  1365. +libopenssl0_9_8
  1366. +libreadline5
  1367. +libreiserfs
  1368. +libselinux1
  1369. +libsepol1
  1370. +libsmbios2
  1371. +libstdc++43
  1372. +libusb-0_1-4
  1373. +libuuid1
  1374. +libvolume_id1
  1375. +libxcrypt
  1376. +libxml2
  1377. +libxml2-python
  1378. +libzio
  1379. +libzypp
  1380. +login
  1381. +makedev
  1382. +mingetty
  1383. +module-init-tools
  1384. +ncurses-utils
  1385. +neon
  1386. +net-tools
  1387. +openSUSE-release
  1388. +openSUSE-release-ftp
  1389. +openslp
  1390. +pam
  1391. +pam-config
  1392. +pam-modules
  1393. +parted
  1394. +pciutils
  1395. +pcre
  1396. +perl-base
  1397. +permissions
  1398. +pinentry
  1399. +pm-utils
  1400. +pmtools
  1401. +PolicyKit
  1402. +popt
  1403. +procps
  1404. +psmisc
  1405. +pth
  1406. +pwdutils
  1407. +python
  1408. +python-urlgrabber
  1409. +rpm
  1410. +rpm-python
  1411. +satsolver-tools
  1412. +sed
  1413. +setserial
  1414. +sysvinit
  1415. +termcap
  1416. +terminfo-base
  1417. +udev
  1418. +util-linux
  1419. +uuid-runtime
  1420. +zlib
  1421. +zypper
  1422. +
  1423. +# New to 11.2
  1424. +libreadline6
  1425. +libaugeas0
  1426. +libstdc++44
  1427. +libgcc44
  1428. +liblua5_1
  1429. +libpopt0
  1430. +libelf1
  1431. +liblzma0
  1432. diff -ruN rinse-1.7.orig/etc/opensuse-11.3.packages rinse-1.7/etc/opensuse-11.3.packages
  1433. --- rinse-1.7.orig/etc/opensuse-11.3.packages 1970-01-01 09:00:00.000000000 +0900
  1434. +++ rinse-1.7/etc/opensuse-11.3.packages 2011-02-23 01:22:17.000000000 +0900
  1435. @@ -0,0 +1,136 @@
  1436. +#
  1437. +# Packages which we'll need to download for a minimal installation
  1438. +# OpenSuSE 11.1
  1439. +#
  1440. +
  1441. +
  1442. +aaa_base
  1443. +audit-libs
  1444. +bash
  1445. +boost-license
  1446. +bzip2
  1447. +ConsoleKit
  1448. +coreutils
  1449. +coreutils-lang
  1450. +cpio
  1451. +cpio-lang
  1452. +cracklib
  1453. +cracklib-dict-small
  1454. +cyrus-sasl
  1455. +dbus-1
  1456. +dbus-1-glib
  1457. +device-mapper
  1458. +diffutils
  1459. +dirmngr
  1460. +e2fsprogs
  1461. +ethtool
  1462. +expat
  1463. +filesystem
  1464. +fillup
  1465. +findutils
  1466. +gawk
  1467. +gdbm
  1468. +glib2
  1469. +glib2-lang
  1470. +glib2-branding-upstream
  1471. +glibc
  1472. +gpg2
  1473. +gpg2-lang
  1474. +grep
  1475. +gzip
  1476. +hal
  1477. +info
  1478. +insserv
  1479. +keyutils-libs
  1480. +krb5
  1481. +libacl
  1482. +libattr
  1483. +libboost_signals1_36_0
  1484. +libbz2-1
  1485. +libcom_err2
  1486. +libcurl4
  1487. +libdb-4_5
  1488. +libexpat1
  1489. +libgcc43
  1490. +libgcrypt11
  1491. +libglib-2_0-0
  1492. +libgobject-2_0-0
  1493. +libgthread-2_0-0
  1494. +libgpg-error0
  1495. +libidn
  1496. +libksba
  1497. +libldap-2_4-2
  1498. +libncurses5
  1499. +libnscd
  1500. +libopenssl0_9_8
  1501. +libreadline5
  1502. +libreiserfs
  1503. +libselinux1
  1504. +libsepol1
  1505. +libsmbios2
  1506. +libstdc++43
  1507. +libusb-0_1-4
  1508. +libuuid1
  1509. +libvolume_id1
  1510. +libxcrypt
  1511. +libxml2
  1512. +libxml2-python
  1513. +libzio
  1514. +libzypp
  1515. +login
  1516. +makedev
  1517. +mingetty
  1518. +module-init-tools
  1519. +ncurses-utils
  1520. +neon
  1521. +net-tools
  1522. +openSUSE-release
  1523. +openSUSE-release-ftp
  1524. +openslp
  1525. +pam
  1526. +pam-config
  1527. +pam-modules
  1528. +parted
  1529. +pciutils
  1530. +pcre
  1531. +perl-base
  1532. +permissions
  1533. +pinentry
  1534. +pm-utils
  1535. +pmtools
  1536. +popt
  1537. +procps
  1538. +psmisc
  1539. +pth
  1540. +pwdutils
  1541. +python
  1542. +python-urlgrabber
  1543. +rpm
  1544. +rpm-python
  1545. +satsolver-tools
  1546. +sed
  1547. +setserial
  1548. +sysvinit
  1549. +termcap
  1550. +terminfo-base
  1551. +udev
  1552. +util-linux
  1553. +uuid-runtime
  1554. +zlib
  1555. +zypper
  1556. +
  1557. +# New to 11.2
  1558. +libreadline6
  1559. +libaugeas0
  1560. +liblua5_1
  1561. +libpopt0
  1562. +libelf1
  1563. +liblzma0
  1564. +
  1565. +# New to 11.3
  1566. +libstdc++45
  1567. +libgcc45
  1568. +libopenssl1_0_0
  1569. +libassuan0
  1570. +libssh2-1
  1571. +libudev0
  1572. diff -ruN rinse-1.7.orig/etc/rinse.conf rinse-1.7/etc/rinse.conf
  1573. --- rinse-1.7.orig/etc/rinse.conf 2009-04-22 03:38:40.000000000 +0900
  1574. +++ rinse-1.7/etc/rinse.conf 2011-02-23 01:34:37.000000000 +0900
  1575. @@ -11,13 +11,13 @@
  1576. [centos-4]
  1577. -mirror = http://mirror.bytemark.co.uk/centos/4/os/i386/CentOS/RPMS/
  1578. -mirror.amd64 = http://mirror.bytemark.co.uk/centos/4/os/x86_64/CentOS/RPMS/
  1579. +mirror = http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/
  1580. +mirror.amd64 = http://mirror.centos.org/centos/4/os/x86_64/CentOS/RPMS/
  1581. [centos-5]
  1582. -mirror = http://mirror.bytemark.co.uk/centos/5/os/i386/CentOS/
  1583. -mirror.amd64 = http://mirror.bytemark.co.uk/centos/5/os/x86_64/CentOS/
  1584. +mirror = http://mirror.centos.org/centos/5/os/i386/CentOS/
  1585. +mirror.amd64 = http://mirror.centos.org/centos/5/os/x86_64/CentOS/
  1586. [fedora-core-4]
  1587. @@ -35,25 +35,38 @@
  1588. mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/
  1589. -[fedora-core-7]
  1590. -mirror = http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/i386/os/Fedora/
  1591. -mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/
  1592. +[fedora-7]
  1593. +mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/7/Fedora/i386/os/Fedora/
  1594. +mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/
  1595. -[fedora-core-8]
  1596. -mirror = http://mirror.bytemark.co.uk/fedora/linux/releases/8/Fedora/i386/os/Packages/
  1597. -mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/8/Fedora/x86_64/os/Packages/
  1598. +[fedora-8]
  1599. +mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Fedora/i386/os/Packages/
  1600. +mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/8/Fedora/x86_64/os/Packages/
  1601. +[fedora-9]
  1602. +mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/i386/os/Packages/
  1603. +mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/9/Fedora/x86_64/os/Packages/
  1604. -[fedora-core-9]
  1605. -mirror = http://mirror.bytemark.co.uk/fedora/linux/releases/9/Fedora/i386/os/Packages/
  1606. -mirror.amd64 = http://mirror.bytemark.co.uk/fedora/linux/releases/9/Fedora/x86_64/os/Packages/
  1607. +[fedora-10]
  1608. +mirror = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Fedora/i386/os/Packages/
  1609. +mirror.amd64 = http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/Fedora/x86_64/os/Packages/
  1610. -[fedora-core-10]
  1611. -mirror = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/
  1612. -mirror.amd64 = http://mirrors.vexs.net/pub/fedora/linux/releases/10/Fedora/x86_64/os/Packages/
  1613. +
  1614. +[fedora-12]
  1615. +mirror = http://mirrors.kernel.org/fedora/releases/12/Fedora/i386/os/Packages/
  1616. +mirror.amd64 = http://mirrors.kernel.org/fedora/releases/12/Fedora/x86_64/os/Packages/
  1617. +
  1618. +
  1619. +[fedora-13]
  1620. +mirror = http://mirrors.kernel.org/fedora/releases/13/Fedora/i386/os/Packages/
  1621. +mirror.amd64 = http://mirrors.kernel.org/fedora/releases/13/Fedora/x86_64/os/Packages/
  1622. +
  1623. +[fedora-14]
  1624. +mirror = http://mirrors.kernel.org/fedora/releases/14/Fedora/i386/os/Packages/
  1625. +mirror.amd64 = http://mirrors.kernel.org/fedora/releases/14/Fedora/x86_64/os/Packages/
  1626. [opensuse-10.1]
  1627. @@ -72,11 +85,19 @@
  1628. [opensuse-11.0]
  1629. -mirror = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i686/
  1630. +mirror = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i586/
  1631. mirror.amd64 = http://download.opensuse.org/distribution/11.0/repo/oss/suse/x86_64/
  1632. [opensuse-11.1]
  1633. -mirror = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i686/
  1634. +mirror = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i586/
  1635. mirror.amd64 = http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/
  1636. +
  1637. +[opensuse-11.2]
  1638. +mirror = http://download.opensuse.org/distribution/11.2/repo/oss/suse/i586/
  1639. +mirror.amd64 = http://download.opensuse.org/distribution/11.2/repo/oss/suse/x86_64/
  1640. +
  1641. +[opensuse-11.3]
  1642. +mirror = http://download.opensuse.org/distribution/11.3/repo/oss/suse/i586/
  1643. +mirror.amd64 = http://download.opensuse.org/distribution/11.3/repo/oss/suse/x86_64/
  1644. diff -ruN rinse-1.7.orig/scripts/centos-5/post-install.sh rinse-1.7/scripts/centos-5/post-install.sh
  1645. --- rinse-1.7.orig/scripts/centos-5/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  1646. +++ rinse-1.7/scripts/centos-5/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  1647. @@ -29,6 +29,19 @@
  1648. done
  1649. #
  1650. +# Record arch, if present.
  1651. +#
  1652. +if [ -d $prefix/etc/rpm ]; then
  1653. +
  1654. + #
  1655. + # If i386 then record this
  1656. + #
  1657. + if [ "$arch" = "i386" ]; then
  1658. + echo "i686-centos-linux-gnu" >> $prefix/etc/rpm/platform
  1659. + fi
  1660. +fi
  1661. +
  1662. +#
  1663. # 4. Run "yum install yum".
  1664. #
  1665. echo " Mounting /proc"
  1666. diff -ruN rinse-1.7.orig/scripts/fedora-10/post-install.sh rinse-1.7/scripts/fedora-10/post-install.sh
  1667. --- rinse-1.7.orig/scripts/fedora-10/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  1668. +++ rinse-1.7/scripts/fedora-10/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  1669. @@ -0,0 +1,115 @@
  1670. +#!/bin/sh
  1671. +#
  1672. +# Customise the distribution post-install.
  1673. +#
  1674. +
  1675. +
  1676. +
  1677. +prefix=$1
  1678. +
  1679. +if [ ! -d "${prefix}" ]; then
  1680. + echo "Serious error - the named directory doesn't exist."
  1681. + exit
  1682. +fi
  1683. +
  1684. +
  1685. +
  1686. +#
  1687. +# 1. Make sure there is a resolv.conf file present, such that
  1688. +# DNS lookups succeed.
  1689. +#
  1690. +echo " Creating resolv.conf"
  1691. +if [ ! -d "${prefix}/etc/" ]; then
  1692. + mkdir -p "${prefix}/etc/"
  1693. +fi
  1694. +cp /etc/resolv.conf "${prefix}/etc/"
  1695. +
  1696. +
  1697. +#
  1698. +# 2. Copy the cached .RPM files into the yum directory, so that
  1699. +# yum doesn't need to make them again.
  1700. +#
  1701. +echo " Setting up YUM cache"
  1702. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  1703. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  1704. +fi
  1705. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  1706. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  1707. +fi
  1708. +
  1709. +for i in ${prefix}/*.rpm ; do
  1710. + cp $i ${prefix}/var/cache/yum/core/packages/
  1711. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  1712. +done
  1713. +
  1714. +
  1715. +
  1716. +#
  1717. +# 3. Ensure that Yum has a working configuration file.
  1718. +#
  1719. +arch=i386
  1720. +if [ $ARCH = "amd64" ] ; then
  1721. + arch=x86_64
  1722. +fi
  1723. +
  1724. +echo " Creating yum.conf"
  1725. +cat > ${prefix}/etc/yum.conf <<EOF
  1726. +[main]
  1727. +cachedir=/var/cache/yum
  1728. +debuglevel=1
  1729. +reposdir=/dev/null
  1730. +logfile=/var/log/yum.log
  1731. +retries=20
  1732. +obsoletes=1
  1733. +gpgcheck=0
  1734. +assumeyes=1
  1735. +
  1736. +# repos
  1737. +
  1738. +[core]
  1739. +name=core
  1740. +baseurl=$mirror
  1741. +
  1742. +EOF
  1743. +
  1744. +
  1745. +#
  1746. +# 4. Run "yum install yum".
  1747. +#
  1748. +echo " Mounting /proc"
  1749. +if [ ! -d "${prefix}/proc" ]; then
  1750. + mkdir -p "${prefix}/proc"
  1751. +fi
  1752. +mount -o bind /proc ${prefix}/proc
  1753. +
  1754. +echo " Priming the yum cache"
  1755. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  1756. + mkdir -p ${prefix}/var/cache/yum/core/packages
  1757. +fi
  1758. +cp /var/cache/rinse/fedora-10.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  1759. +
  1760. +echo " Bootstrapping yum"
  1761. +chroot ${prefix} /sbin/ldconfig
  1762. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  1763. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  1764. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  1765. +
  1766. +
  1767. +#
  1768. +# 5. Clean up
  1769. +#
  1770. +echo " Cleaning up"
  1771. +chroot ${prefix} /usr/bin/yum clean all
  1772. +
  1773. +umount ${prefix}/proc
  1774. +
  1775. +
  1776. +#
  1777. +# 6. Remove the .rpm files from the prefix root.
  1778. +#
  1779. +echo " Final tidy..."
  1780. +for i in ${prefix}/*.rpm; do
  1781. + rm -f $i
  1782. +done
  1783. +find ${prefix} -name '*.rpmorig' -delete
  1784. +find ${prefix} -name '*.rpmnew' -delete
  1785. diff -ruN rinse-1.7.orig/scripts/fedora-11/post-install.sh rinse-1.7/scripts/fedora-11/post-install.sh
  1786. --- rinse-1.7.orig/scripts/fedora-11/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  1787. +++ rinse-1.7/scripts/fedora-11/post-install.sh 2011-02-23 01:24:38.000000000 +0900
  1788. @@ -0,0 +1,115 @@
  1789. +#!/bin/sh
  1790. +#
  1791. +# Customise the distribution post-install.
  1792. +#
  1793. +
  1794. +
  1795. +
  1796. +prefix=$1
  1797. +
  1798. +if [ ! -d "${prefix}" ]; then
  1799. + echo "Serious error - the named directory doesn't exist."
  1800. + exit
  1801. +fi
  1802. +
  1803. +
  1804. +
  1805. +#
  1806. +# 1. Make sure there is a resolv.conf file present, such that
  1807. +# DNS lookups succeed.
  1808. +#
  1809. +echo " Creating resolv.conf"
  1810. +if [ ! -d "${prefix}/etc/" ]; then
  1811. + mkdir -p "${prefix}/etc/"
  1812. +fi
  1813. +cp /etc/resolv.conf "${prefix}/etc/"
  1814. +
  1815. +
  1816. +#
  1817. +# 2. Copy the cached .RPM files into the yum directory, so that
  1818. +# yum doesn't need to make them again.
  1819. +#
  1820. +echo " Setting up YUM cache"
  1821. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  1822. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  1823. +fi
  1824. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  1825. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  1826. +fi
  1827. +
  1828. +for i in ${prefix}/*.rpm ; do
  1829. + cp $i ${prefix}/var/cache/yum/core/packages/
  1830. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  1831. +done
  1832. +
  1833. +
  1834. +
  1835. +#
  1836. +# 3. Ensure that Yum has a working configuration file.
  1837. +#
  1838. +arch=i386
  1839. +if [ $ARCH = "amd64" ] ; then
  1840. + arch=x86_64
  1841. +fi
  1842. +
  1843. +echo " Creating yum.conf"
  1844. +cat > ${prefix}/etc/yum.conf <<EOF
  1845. +[main]
  1846. +cachedir=/var/cache/yum
  1847. +debuglevel=1
  1848. +reposdir=/dev/null
  1849. +logfile=/var/log/yum.log
  1850. +retries=20
  1851. +obsoletes=1
  1852. +gpgcheck=0
  1853. +assumeyes=1
  1854. +
  1855. +# repos
  1856. +
  1857. +[core]
  1858. +name=core
  1859. +baseurl=$mirror
  1860. +
  1861. +EOF
  1862. +
  1863. +
  1864. +#
  1865. +# 4. Run "yum install yum".
  1866. +#
  1867. +echo " Mounting /proc"
  1868. +if [ ! -d "${prefix}/proc" ]; then
  1869. + mkdir -p "${prefix}/proc"
  1870. +fi
  1871. +mount -o bind /proc ${prefix}/proc
  1872. +
  1873. +echo " Priming the yum cache"
  1874. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  1875. + mkdir -p ${prefix}/var/cache/yum/core/packages
  1876. +fi
  1877. +cp /var/cache/rinse/fedora-11.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  1878. +
  1879. +echo " Bootstrapping yum"
  1880. +chroot ${prefix} /sbin/ldconfig
  1881. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  1882. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  1883. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  1884. +
  1885. +
  1886. +#
  1887. +# 5. Clean up
  1888. +#
  1889. +echo " Cleaning up"
  1890. +chroot ${prefix} /usr/bin/yum clean all
  1891. +
  1892. +umount ${prefix}/proc
  1893. +
  1894. +
  1895. +#
  1896. +# 6. Remove the .rpm files from the prefix root.
  1897. +#
  1898. +echo " Final tidy..."
  1899. +for i in ${prefix}/*.rpm; do
  1900. + rm -f $i
  1901. +done
  1902. +find ${prefix} -name '*.rpmorig' -delete
  1903. +find ${prefix} -name '*.rpmnew' -delete
  1904. diff -ruN rinse-1.7.orig/scripts/fedora-12/post-install.sh rinse-1.7/scripts/fedora-12/post-install.sh
  1905. --- rinse-1.7.orig/scripts/fedora-12/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  1906. +++ rinse-1.7/scripts/fedora-12/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  1907. @@ -0,0 +1,121 @@
  1908. +#!/bin/sh
  1909. +#
  1910. +# Customise the distribution post-install.
  1911. +#
  1912. +
  1913. +
  1914. +
  1915. +prefix=$1
  1916. +
  1917. +if [ ! -d "${prefix}" ]; then
  1918. + echo "Serious error - the named directory doesn't exist."
  1919. + exit
  1920. +fi
  1921. +
  1922. +
  1923. +
  1924. +#
  1925. +# 1. Make sure there is a resolv.conf file present, such that
  1926. +# DNS lookups succeed.
  1927. +#
  1928. +echo " Creating resolv.conf"
  1929. +if [ ! -d "${prefix}/etc/" ]; then
  1930. + mkdir -p "${prefix}/etc/"
  1931. +fi
  1932. +cp /etc/resolv.conf "${prefix}/etc/"
  1933. +
  1934. +
  1935. +#
  1936. +# 2. Copy the cached .RPM files into the yum directory, so that
  1937. +# yum doesn't need to make them again.
  1938. +#
  1939. +echo " Setting up YUM cache"
  1940. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  1941. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  1942. +fi
  1943. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  1944. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  1945. +fi
  1946. +
  1947. +for i in ${prefix}/*.rpm ; do
  1948. + cp $i ${prefix}/var/cache/yum/core/packages/
  1949. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  1950. +done
  1951. +
  1952. +
  1953. +
  1954. +#
  1955. +# 3. Ensure that Yum has a working configuration file.
  1956. +#
  1957. +arch=i386
  1958. +if [ $ARCH = "amd64" ] ; then
  1959. + arch=x86_64
  1960. +fi
  1961. +
  1962. +# A correct mirror URL does not contain /Packages on the end
  1963. +mirror=`dirname $mirror`
  1964. +
  1965. +echo " Creating initial yum.conf"
  1966. +cat > ${prefix}/etc/yum.conf <<EOF
  1967. +[main]
  1968. +reposdir=/dev/null
  1969. +logfile=/var/log/yum.log
  1970. +
  1971. +[core]
  1972. +name=core
  1973. +baseurl=$mirror
  1974. +EOF
  1975. +
  1976. +
  1977. +#
  1978. +# 4. Run "yum install yum".
  1979. +#
  1980. +echo " Mounting /proc"
  1981. +if [ ! -d "${prefix}/proc" ]; then
  1982. + mkdir -p "${prefix}/proc"
  1983. +fi
  1984. +mount -o bind /proc ${prefix}/proc
  1985. +
  1986. +echo " Priming the yum cache"
  1987. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  1988. + mkdir -p ${prefix}/var/cache/yum/core/packages
  1989. +fi
  1990. +cp /var/cache/rinse/fedora-12.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  1991. +
  1992. +echo " Bootstrapping yum"
  1993. +chroot ${prefix} /sbin/ldconfig
  1994. +chroot ${prefix} /sbin/MAKEDEV urandom
  1995. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  1996. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  1997. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  1998. +
  1999. +# Can use regular repositories now
  2000. +echo " Creating final yum.conf"
  2001. +cat > ${prefix}/etc/yum.conf <<EOF
  2002. +[main]
  2003. +logfile=/var/log/yum.log
  2004. +gpgcheck=1
  2005. +
  2006. +# PUT YOUR REPOS HERE OR IN separate files named file.repo
  2007. +# in /etc/yum.repos.d
  2008. +EOF
  2009. +
  2010. +
  2011. +#
  2012. +# 5. Clean up
  2013. +#
  2014. +echo " Cleaning up"
  2015. +chroot ${prefix} /usr/bin/yum clean all
  2016. +
  2017. +umount ${prefix}/proc
  2018. +
  2019. +
  2020. +#
  2021. +# 6. Remove the .rpm files from the prefix root.
  2022. +#
  2023. +echo " Final tidy..."
  2024. +for i in ${prefix}/*.rpm; do
  2025. + rm -f $i
  2026. +done
  2027. +find ${prefix} -name '*.rpmorig' -delete
  2028. +find ${prefix} -name '*.rpmnew' -delete
  2029. diff -ruN rinse-1.7.orig/scripts/fedora-13/post-install.sh rinse-1.7/scripts/fedora-13/post-install.sh
  2030. --- rinse-1.7.orig/scripts/fedora-13/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2031. +++ rinse-1.7/scripts/fedora-13/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  2032. @@ -0,0 +1,121 @@
  2033. +#!/bin/sh
  2034. +#
  2035. +# Customise the distribution post-install.
  2036. +#
  2037. +
  2038. +
  2039. +
  2040. +prefix=$1
  2041. +
  2042. +if [ ! -d "${prefix}" ]; then
  2043. + echo "Serious error - the named directory doesn't exist."
  2044. + exit
  2045. +fi
  2046. +
  2047. +
  2048. +
  2049. +#
  2050. +# 1. Make sure there is a resolv.conf file present, such that
  2051. +# DNS lookups succeed.
  2052. +#
  2053. +echo " Creating resolv.conf"
  2054. +if [ ! -d "${prefix}/etc/" ]; then
  2055. + mkdir -p "${prefix}/etc/"
  2056. +fi
  2057. +cp /etc/resolv.conf "${prefix}/etc/"
  2058. +
  2059. +
  2060. +#
  2061. +# 2. Copy the cached .RPM files into the yum directory, so that
  2062. +# yum doesn't need to make them again.
  2063. +#
  2064. +echo " Setting up YUM cache"
  2065. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2066. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  2067. +fi
  2068. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2069. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2070. +fi
  2071. +
  2072. +for i in ${prefix}/*.rpm ; do
  2073. + cp $i ${prefix}/var/cache/yum/core/packages/
  2074. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2075. +done
  2076. +
  2077. +
  2078. +
  2079. +#
  2080. +# 3. Ensure that Yum has a working configuration file.
  2081. +#
  2082. +arch=i386
  2083. +if [ $ARCH = "amd64" ] ; then
  2084. + arch=x86_64
  2085. +fi
  2086. +
  2087. +# A correct mirror URL does not contain /Packages on the end
  2088. +mirror=`dirname $mirror`
  2089. +
  2090. +echo " Creating initial yum.conf"
  2091. +cat > ${prefix}/etc/yum.conf <<EOF
  2092. +[main]
  2093. +reposdir=/dev/null
  2094. +logfile=/var/log/yum.log
  2095. +
  2096. +[core]
  2097. +name=core
  2098. +baseurl=$mirror
  2099. +EOF
  2100. +
  2101. +
  2102. +#
  2103. +# 4. Run "yum install yum".
  2104. +#
  2105. +echo " Mounting /proc"
  2106. +if [ ! -d "${prefix}/proc" ]; then
  2107. + mkdir -p "${prefix}/proc"
  2108. +fi
  2109. +mount -o bind /proc ${prefix}/proc
  2110. +
  2111. +echo " Priming the yum cache"
  2112. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2113. + mkdir -p ${prefix}/var/cache/yum/core/packages
  2114. +fi
  2115. +cp /var/cache/rinse/fedora-13.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2116. +
  2117. +echo " Bootstrapping yum"
  2118. +chroot ${prefix} /sbin/ldconfig
  2119. +chroot ${prefix} /sbin/MAKEDEV urandom
  2120. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2121. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2122. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2123. +
  2124. +# Can use regular repositories now
  2125. +echo " Creating final yum.conf"
  2126. +cat > ${prefix}/etc/yum.conf <<EOF
  2127. +[main]
  2128. +logfile=/var/log/yum.log
  2129. +gpgcheck=1
  2130. +
  2131. +# PUT YOUR REPOS HERE OR IN separate files named file.repo
  2132. +# in /etc/yum.repos.d
  2133. +EOF
  2134. +
  2135. +
  2136. +#
  2137. +# 5. Clean up
  2138. +#
  2139. +echo " Cleaning up"
  2140. +chroot ${prefix} /usr/bin/yum clean all
  2141. +
  2142. +umount ${prefix}/proc
  2143. +
  2144. +
  2145. +#
  2146. +# 6. Remove the .rpm files from the prefix root.
  2147. +#
  2148. +echo " Final tidy..."
  2149. +for i in ${prefix}/*.rpm; do
  2150. + rm -f $i
  2151. +done
  2152. +find ${prefix} -name '*.rpmorig' -delete
  2153. +find ${prefix} -name '*.rpmnew' -delete
  2154. diff -ruN rinse-1.7.orig/scripts/fedora-14/post-install.sh rinse-1.7/scripts/fedora-14/post-install.sh
  2155. --- rinse-1.7.orig/scripts/fedora-14/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2156. +++ rinse-1.7/scripts/fedora-14/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  2157. @@ -0,0 +1,120 @@
  2158. +#!/bin/sh
  2159. +#
  2160. +# Customise the distribution post-install.
  2161. +#
  2162. +
  2163. +
  2164. +
  2165. +prefix=$1
  2166. +
  2167. +if [ ! -d "${prefix}" ]; then
  2168. + echo "Serious error - the named directory doesn't exist."
  2169. + exit
  2170. +fi
  2171. +
  2172. +
  2173. +
  2174. +#
  2175. +# 1. Make sure there is a resolv.conf file present, such that
  2176. +# DNS lookups succeed.
  2177. +#
  2178. +echo " Creating resolv.conf"
  2179. +if [ ! -d "${prefix}/etc/" ]; then
  2180. + mkdir -p "${prefix}/etc/"
  2181. +fi
  2182. +cp /etc/resolv.conf "${prefix}/etc/"
  2183. +
  2184. +
  2185. +#
  2186. +# 2. Copy the cached .RPM files into the yum directory, so that
  2187. +# yum doesn't need to make them again.
  2188. +#
  2189. +echo " Setting up YUM cache"
  2190. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2191. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  2192. +fi
  2193. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2194. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2195. +fi
  2196. +
  2197. +for i in ${prefix}/*.rpm ; do
  2198. + cp $i ${prefix}/var/cache/yum/core/packages/
  2199. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2200. +done
  2201. +
  2202. +
  2203. +
  2204. +#
  2205. +# 3. Ensure that Yum has a working configuration file.
  2206. +#
  2207. +arch=i386
  2208. +if [ $ARCH = "amd64" ] ; then
  2209. + arch=x86_64
  2210. +fi
  2211. +
  2212. +# A correct mirror URL does not contain /Packages on the end
  2213. +mirror=`dirname $mirror`
  2214. +
  2215. +echo " Creating initial yum.conf"
  2216. +cat > ${prefix}/etc/yum.conf <<EOF
  2217. +[main]
  2218. +reposdir=/dev/null
  2219. +logfile=/var/log/yum.log
  2220. +
  2221. +[core]
  2222. +name=core
  2223. +baseurl=$mirror
  2224. +EOF
  2225. +
  2226. +
  2227. +#
  2228. +# 4. Run "yum install yum".
  2229. +#
  2230. +echo " Mounting /proc"
  2231. +if [ ! -d "${prefix}/proc" ]; then
  2232. + mkdir -p "${prefix}/proc"
  2233. +fi
  2234. +mount -o bind /proc ${prefix}/proc
  2235. +
  2236. +echo " Priming the yum cache"
  2237. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2238. + mkdir -p ${prefix}/var/cache/yum/core/packages
  2239. +fi
  2240. +cp /var/cache/rinse/fedora-14.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2241. +
  2242. +echo " Bootstrapping yum"
  2243. +chroot ${prefix} /sbin/ldconfig
  2244. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2245. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2246. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2247. +
  2248. +# Can use regular repositories now
  2249. +echo " Creating final yum.conf"
  2250. +cat > ${prefix}/etc/yum.conf <<EOF
  2251. +[main]
  2252. +logfile=/var/log/yum.log
  2253. +gpgcheck=1
  2254. +
  2255. +# PUT YOUR REPOS HERE OR IN separate files named file.repo
  2256. +# in /etc/yum.repos.d
  2257. +EOF
  2258. +
  2259. +
  2260. +#
  2261. +# 5. Clean up
  2262. +#
  2263. +echo " Cleaning up"
  2264. +chroot ${prefix} /usr/bin/yum clean all
  2265. +
  2266. +umount ${prefix}/proc
  2267. +
  2268. +
  2269. +#
  2270. +# 6. Remove the .rpm files from the prefix root.
  2271. +#
  2272. +echo " Final tidy..."
  2273. +for i in ${prefix}/*.rpm; do
  2274. + rm -f $i
  2275. +done
  2276. +find ${prefix} -name '*.rpmorig' -delete
  2277. +find ${prefix} -name '*.rpmnew' -delete
  2278. diff -ruN rinse-1.7.orig/scripts/fedora-7/post-install.sh rinse-1.7/scripts/fedora-7/post-install.sh
  2279. --- rinse-1.7.orig/scripts/fedora-7/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2280. +++ rinse-1.7/scripts/fedora-7/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  2281. @@ -0,0 +1,112 @@
  2282. +#!/bin/sh
  2283. +#
  2284. +# Customise the distribution post-install.
  2285. +#
  2286. +
  2287. +
  2288. +
  2289. +prefix=$1
  2290. +
  2291. +if [ ! -d "${prefix}" ]; then
  2292. + echo "Serious error - the named directory doesn't exist."
  2293. + exit
  2294. +fi
  2295. +
  2296. +
  2297. +
  2298. +#
  2299. +# 1. Make sure there is a resolv.conf file present, such that
  2300. +# DNS lookups succeed.
  2301. +#
  2302. +echo " Creating resolv.conf"
  2303. +if [ ! -d "${prefix}/etc/" ]; then
  2304. + mkdir -p "${prefix}/etc/"
  2305. +fi
  2306. +cp /etc/resolv.conf "${prefix}/etc/"
  2307. +
  2308. +
  2309. +#
  2310. +# 2. Copy the cached .RPM files into the yum directory, so that
  2311. +# yum doesn't need to make them again.
  2312. +#
  2313. +echo " Setting up YUM cache"
  2314. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2315. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  2316. +fi
  2317. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2318. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2319. +fi
  2320. +
  2321. +for i in ${prefix}/*.rpm ; do
  2322. + cp $i ${prefix}/var/cache/yum/core/packages/
  2323. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2324. +done
  2325. +
  2326. +
  2327. +
  2328. +#
  2329. +# 3. Ensure that Yum has a working configuration file.
  2330. +#
  2331. +arch=i386
  2332. +if [ $ARCH = "amd64" ] ; then
  2333. + arch=x86_64
  2334. +fi
  2335. +
  2336. +echo " Creating yum.conf"
  2337. +cat > ${prefix}/etc/yum.conf <<EOF
  2338. +[main]
  2339. +cachedir=/var/cache/yum
  2340. +debuglevel=1
  2341. +reposdir=/dev/null
  2342. +logfile=/var/log/yum.log
  2343. +retries=20
  2344. +obsoletes=1
  2345. +gpgcheck=0
  2346. +assumeyes=1
  2347. +
  2348. +# repos
  2349. +
  2350. +[core]
  2351. +name=core
  2352. +baseurl=$mirror
  2353. +
  2354. +[updates-released]
  2355. +name=updates
  2356. +baseurl=$mirror
  2357. +EOF
  2358. +
  2359. +
  2360. +#
  2361. +# 4. Run "yum install yum".
  2362. +#
  2363. +echo " Mounting /proc"
  2364. +if [ ! -d "${prefix}/proc" ]; then
  2365. + mkdir -p "${prefix}/proc"
  2366. +fi
  2367. +mount -o bind /proc ${prefix}/proc
  2368. +
  2369. +echo " Bootstrapping yum"
  2370. +chroot ${prefix} /sbin/ldconfig
  2371. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2372. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2373. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2374. +
  2375. +
  2376. +#
  2377. +# 5. Clean up
  2378. +#
  2379. +echo " Cleaning up"
  2380. +chroot ${prefix} /usr/bin/yum clean all
  2381. +
  2382. +umount ${prefix}/proc
  2383. +
  2384. +
  2385. +#
  2386. +# 6. Remove the .rpm files from the prefix root.
  2387. +#
  2388. +echo " Final tidy..."
  2389. +for i in ${prefix}/*.rpm; do
  2390. + rm -f $i
  2391. +done
  2392. +find ${prefix} -name '*.rpmorig' -delete
  2393. +find ${prefix} -name '*.rpmnew' -delete
  2394. diff -ruN rinse-1.7.orig/scripts/fedora-8/post-install.sh rinse-1.7/scripts/fedora-8/post-install.sh
  2395. --- rinse-1.7.orig/scripts/fedora-8/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2396. +++ rinse-1.7/scripts/fedora-8/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  2397. @@ -0,0 +1,118 @@
  2398. +#!/bin/sh
  2399. +#
  2400. +# Customise the distribution post-install.
  2401. +#
  2402. +
  2403. +
  2404. +
  2405. +prefix=$1
  2406. +
  2407. +if [ ! -d "${prefix}" ]; then
  2408. + echo "Serious error - the named directory doesn't exist."
  2409. + exit
  2410. +fi
  2411. +
  2412. +
  2413. +
  2414. +#
  2415. +# 1. Make sure there is a resolv.conf file present, such that
  2416. +# DNS lookups succeed.
  2417. +#
  2418. +echo " Creating resolv.conf"
  2419. +if [ ! -d "${prefix}/etc/" ]; then
  2420. + mkdir -p "${prefix}/etc/"
  2421. +fi
  2422. +cp /etc/resolv.conf "${prefix}/etc/"
  2423. +
  2424. +
  2425. +#
  2426. +# 2. Copy the cached .RPM files into the yum directory, so that
  2427. +# yum doesn't need to make them again.
  2428. +#
  2429. +echo " Setting up YUM cache"
  2430. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2431. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  2432. +fi
  2433. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2434. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2435. +fi
  2436. +
  2437. +for i in ${prefix}/*.rpm ; do
  2438. + cp $i ${prefix}/var/cache/yum/core/packages/
  2439. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2440. +done
  2441. +
  2442. +
  2443. +
  2444. +#
  2445. +# 3. Ensure that Yum has a working configuration file.
  2446. +#
  2447. +arch=i386
  2448. +if [ $ARCH = "amd64" ] ; then
  2449. + arch=x86_64
  2450. +fi
  2451. +
  2452. +echo " Creating yum.conf"
  2453. +cat > ${prefix}/etc/yum.conf <<EOF
  2454. +[main]
  2455. +cachedir=/var/cache/yum
  2456. +debuglevel=1
  2457. +reposdir=/dev/null
  2458. +logfile=/var/log/yum.log
  2459. +retries=20
  2460. +obsoletes=1
  2461. +gpgcheck=0
  2462. +assumeyes=1
  2463. +
  2464. +# repos
  2465. +
  2466. +[core]
  2467. +name=core
  2468. +baseurl=$mirror
  2469. +
  2470. +[updates-released]
  2471. +name=updates
  2472. +baseurl=$mirror
  2473. +EOF
  2474. +
  2475. +
  2476. +#
  2477. +# 4. Run "yum install yum".
  2478. +#
  2479. +echo " Mounting /proc"
  2480. +if [ ! -d "${prefix}/proc" ]; then
  2481. + mkdir -p "${prefix}/proc"
  2482. +fi
  2483. +mount -o bind /proc ${prefix}/proc
  2484. +
  2485. +echo " Priming the yum cache"
  2486. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2487. + mkdir -p ${prefix}/var/cache/yum/core/packages
  2488. +fi
  2489. +cp /var/cache/rinse/fedora-8.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2490. +
  2491. +echo " Bootstrapping yum"
  2492. +chroot ${prefix} /sbin/ldconfig
  2493. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2494. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2495. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2496. +
  2497. +
  2498. +#
  2499. +# 5. Clean up
  2500. +#
  2501. +echo " Cleaning up"
  2502. +chroot ${prefix} /usr/bin/yum clean all
  2503. +
  2504. +umount ${prefix}/proc
  2505. +
  2506. +
  2507. +#
  2508. +# 6. Remove the .rpm files from the prefix root.
  2509. +#
  2510. +echo " Final tidy..."
  2511. +for i in ${prefix}/*.rpm; do
  2512. + rm -f $i
  2513. +done
  2514. +find ${prefix} -name '*.rpmorig' -delete
  2515. +find ${prefix} -name '*.rpmnew' -delete
  2516. diff -ruN rinse-1.7.orig/scripts/fedora-9/post-install.sh rinse-1.7/scripts/fedora-9/post-install.sh
  2517. --- rinse-1.7.orig/scripts/fedora-9/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2518. +++ rinse-1.7/scripts/fedora-9/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  2519. @@ -0,0 +1,115 @@
  2520. +#!/bin/sh
  2521. +#
  2522. +# Customise the distribution post-install.
  2523. +#
  2524. +
  2525. +
  2526. +
  2527. +prefix=$1
  2528. +
  2529. +if [ ! -d "${prefix}" ]; then
  2530. + echo "Serious error - the named directory doesn't exist."
  2531. + exit
  2532. +fi
  2533. +
  2534. +
  2535. +
  2536. +#
  2537. +# 1. Make sure there is a resolv.conf file present, such that
  2538. +# DNS lookups succeed.
  2539. +#
  2540. +echo " Creating resolv.conf"
  2541. +if [ ! -d "${prefix}/etc/" ]; then
  2542. + mkdir -p "${prefix}/etc/"
  2543. +fi
  2544. +cp /etc/resolv.conf "${prefix}/etc/"
  2545. +
  2546. +
  2547. +#
  2548. +# 2. Copy the cached .RPM files into the yum directory, so that
  2549. +# yum doesn't need to make them again.
  2550. +#
  2551. +echo " Setting up YUM cache"
  2552. +if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2553. + mkdir -p ${prefix}/var/cache/yum/core/packages/
  2554. +fi
  2555. +if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2556. + mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2557. +fi
  2558. +
  2559. +for i in ${prefix}/*.rpm ; do
  2560. + cp $i ${prefix}/var/cache/yum/core/packages/
  2561. + cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2562. +done
  2563. +
  2564. +
  2565. +
  2566. +#
  2567. +# 3. Ensure that Yum has a working configuration file.
  2568. +#
  2569. +arch=i386
  2570. +if [ $ARCH = "amd64" ] ; then
  2571. + arch=x86_64
  2572. +fi
  2573. +
  2574. +echo " Creating yum.conf"
  2575. +cat > ${prefix}/etc/yum.conf <<EOF
  2576. +[main]
  2577. +cachedir=/var/cache/yum
  2578. +debuglevel=1
  2579. +reposdir=/dev/null
  2580. +logfile=/var/log/yum.log
  2581. +retries=20
  2582. +obsoletes=1
  2583. +gpgcheck=0
  2584. +assumeyes=1
  2585. +
  2586. +# repos
  2587. +
  2588. +[core]
  2589. +name=core
  2590. +baseurl=$mirror
  2591. +
  2592. +EOF
  2593. +
  2594. +
  2595. +#
  2596. +# 4. Run "yum install yum".
  2597. +#
  2598. +echo " Mounting /proc"
  2599. +if [ ! -d "${prefix}/proc" ]; then
  2600. + mkdir -p "${prefix}/proc"
  2601. +fi
  2602. +mount -o bind /proc ${prefix}/proc
  2603. +
  2604. +echo " Priming the yum cache"
  2605. +if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2606. + mkdir -p ${prefix}/var/cache/yum/core/packages
  2607. +fi
  2608. +cp /var/cache/rinse/fedora-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2609. +
  2610. +echo " Bootstrapping yum"
  2611. +chroot ${prefix} /sbin/ldconfig
  2612. +chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2613. +chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2614. +chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2615. +
  2616. +
  2617. +#
  2618. +# 5. Clean up
  2619. +#
  2620. +echo " Cleaning up"
  2621. +chroot ${prefix} /usr/bin/yum clean all
  2622. +
  2623. +umount ${prefix}/proc
  2624. +
  2625. +
  2626. +#
  2627. +# 6. Remove the .rpm files from the prefix root.
  2628. +#
  2629. +echo " Final tidy..."
  2630. +for i in ${prefix}/*.rpm; do
  2631. + rm -f $i
  2632. +done
  2633. +find ${prefix} -name '*.rpmorig' -delete
  2634. +find ${prefix} -name '*.rpmnew' -delete
  2635. diff -ruN rinse-1.7.orig/scripts/fedora-core-10/post-install.sh rinse-1.7/scripts/fedora-core-10/post-install.sh
  2636. --- rinse-1.7.orig/scripts/fedora-core-10/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  2637. +++ rinse-1.7/scripts/fedora-core-10/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2638. @@ -1,115 +0,0 @@
  2639. -#!/bin/sh
  2640. -#
  2641. -# Customise the distribution post-install.
  2642. -#
  2643. -
  2644. -
  2645. -
  2646. -prefix=$1
  2647. -
  2648. -if [ ! -d "${prefix}" ]; then
  2649. - echo "Serious error - the named directory doesn't exist."
  2650. - exit
  2651. -fi
  2652. -
  2653. -
  2654. -
  2655. -#
  2656. -# 1. Make sure there is a resolv.conf file present, such that
  2657. -# DNS lookups succeed.
  2658. -#
  2659. -echo " Creating resolv.conf"
  2660. -if [ ! -d "${prefix}/etc/" ]; then
  2661. - mkdir -p "${prefix}/etc/"
  2662. -fi
  2663. -cp /etc/resolv.conf "${prefix}/etc/"
  2664. -
  2665. -
  2666. -#
  2667. -# 2. Copy the cached .RPM files into the yum directory, so that
  2668. -# yum doesn't need to make them again.
  2669. -#
  2670. -echo " Setting up YUM cache"
  2671. -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2672. - mkdir -p ${prefix}/var/cache/yum/core/packages/
  2673. -fi
  2674. -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2675. - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2676. -fi
  2677. -
  2678. -for i in ${prefix}/*.rpm ; do
  2679. - cp $i ${prefix}/var/cache/yum/core/packages/
  2680. - cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2681. -done
  2682. -
  2683. -
  2684. -
  2685. -#
  2686. -# 3. Ensure that Yum has a working configuration file.
  2687. -#
  2688. -arch=i386
  2689. -if [ $ARCH = "amd64" ] ; then
  2690. - arch=x86_64
  2691. -fi
  2692. -
  2693. -echo " Creating yum.conf"
  2694. -cat > ${prefix}/etc/yum.conf <<EOF
  2695. -[main]
  2696. -cachedir=/var/cache/yum
  2697. -debuglevel=1
  2698. -reposdir=/dev/null
  2699. -logfile=/var/log/yum.log
  2700. -retries=20
  2701. -obsoletes=1
  2702. -gpgcheck=0
  2703. -assumeyes=1
  2704. -
  2705. -# repos
  2706. -
  2707. -[core]
  2708. -name=core
  2709. -baseurl=$mirror
  2710. -
  2711. -EOF
  2712. -
  2713. -
  2714. -#
  2715. -# 4. Run "yum install yum".
  2716. -#
  2717. -echo " Mounting /proc"
  2718. -if [ ! -d "${prefix}/proc" ]; then
  2719. - mkdir -p "${prefix}/proc"
  2720. -fi
  2721. -mount -o bind /proc ${prefix}/proc
  2722. -
  2723. -echo " Priming the yum cache"
  2724. -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2725. - mkdir -p ${prefix}/var/cache/yum/core/packages
  2726. -fi
  2727. -cp /var/cache/rinse/fedora-core-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2728. -
  2729. -echo " Bootstrapping yum"
  2730. -chroot ${prefix} /sbin/ldconfig
  2731. -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2732. -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2733. -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2734. -
  2735. -
  2736. -#
  2737. -# 5. Clean up
  2738. -#
  2739. -echo " Cleaning up"
  2740. -chroot ${prefix} /usr/bin/yum clean all
  2741. -
  2742. -umount ${prefix}/proc
  2743. -
  2744. -
  2745. -#
  2746. -# 6. Remove the .rpm files from the prefix root.
  2747. -#
  2748. -echo " Final tidy..."
  2749. -for i in ${prefix}/*.rpm; do
  2750. - rm -f $i
  2751. -done
  2752. -find ${prefix} -name '*.rpmorig' -delete
  2753. -find ${prefix} -name '*.rpmnew' -delete
  2754. diff -ruN rinse-1.7.orig/scripts/fedora-core-7/post-install.sh rinse-1.7/scripts/fedora-core-7/post-install.sh
  2755. --- rinse-1.7.orig/scripts/fedora-core-7/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  2756. +++ rinse-1.7/scripts/fedora-core-7/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2757. @@ -1,112 +0,0 @@
  2758. -#!/bin/sh
  2759. -#
  2760. -# Customise the distribution post-install.
  2761. -#
  2762. -
  2763. -
  2764. -
  2765. -prefix=$1
  2766. -
  2767. -if [ ! -d "${prefix}" ]; then
  2768. - echo "Serious error - the named directory doesn't exist."
  2769. - exit
  2770. -fi
  2771. -
  2772. -
  2773. -
  2774. -#
  2775. -# 1. Make sure there is a resolv.conf file present, such that
  2776. -# DNS lookups succeed.
  2777. -#
  2778. -echo " Creating resolv.conf"
  2779. -if [ ! -d "${prefix}/etc/" ]; then
  2780. - mkdir -p "${prefix}/etc/"
  2781. -fi
  2782. -cp /etc/resolv.conf "${prefix}/etc/"
  2783. -
  2784. -
  2785. -#
  2786. -# 2. Copy the cached .RPM files into the yum directory, so that
  2787. -# yum doesn't need to make them again.
  2788. -#
  2789. -echo " Setting up YUM cache"
  2790. -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2791. - mkdir -p ${prefix}/var/cache/yum/core/packages/
  2792. -fi
  2793. -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2794. - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2795. -fi
  2796. -
  2797. -for i in ${prefix}/*.rpm ; do
  2798. - cp $i ${prefix}/var/cache/yum/core/packages/
  2799. - cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2800. -done
  2801. -
  2802. -
  2803. -
  2804. -#
  2805. -# 3. Ensure that Yum has a working configuration file.
  2806. -#
  2807. -arch=i386
  2808. -if [ $ARCH = "amd64" ] ; then
  2809. - arch=x86_64
  2810. -fi
  2811. -
  2812. -echo " Creating yum.conf"
  2813. -cat > ${prefix}/etc/yum.conf <<EOF
  2814. -[main]
  2815. -cachedir=/var/cache/yum
  2816. -debuglevel=1
  2817. -reposdir=/dev/null
  2818. -logfile=/var/log/yum.log
  2819. -retries=20
  2820. -obsoletes=1
  2821. -gpgcheck=0
  2822. -assumeyes=1
  2823. -
  2824. -# repos
  2825. -
  2826. -[core]
  2827. -name=core
  2828. -baseurl=$mirror
  2829. -
  2830. -[updates-released]
  2831. -name=updates
  2832. -baseurl=$mirror
  2833. -EOF
  2834. -
  2835. -
  2836. -#
  2837. -# 4. Run "yum install yum".
  2838. -#
  2839. -echo " Mounting /proc"
  2840. -if [ ! -d "${prefix}/proc" ]; then
  2841. - mkdir -p "${prefix}/proc"
  2842. -fi
  2843. -mount -o bind /proc ${prefix}/proc
  2844. -
  2845. -echo " Bootstrapping yum"
  2846. -chroot ${prefix} /sbin/ldconfig
  2847. -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2848. -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2849. -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2850. -
  2851. -
  2852. -#
  2853. -# 5. Clean up
  2854. -#
  2855. -echo " Cleaning up"
  2856. -chroot ${prefix} /usr/bin/yum clean all
  2857. -
  2858. -umount ${prefix}/proc
  2859. -
  2860. -
  2861. -#
  2862. -# 6. Remove the .rpm files from the prefix root.
  2863. -#
  2864. -echo " Final tidy..."
  2865. -for i in ${prefix}/*.rpm; do
  2866. - rm -f $i
  2867. -done
  2868. -find ${prefix} -name '*.rpmorig' -delete
  2869. -find ${prefix} -name '*.rpmnew' -delete
  2870. diff -ruN rinse-1.7.orig/scripts/fedora-core-8/post-install.sh rinse-1.7/scripts/fedora-core-8/post-install.sh
  2871. --- rinse-1.7.orig/scripts/fedora-core-8/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  2872. +++ rinse-1.7/scripts/fedora-core-8/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2873. @@ -1,118 +0,0 @@
  2874. -#!/bin/sh
  2875. -#
  2876. -# Customise the distribution post-install.
  2877. -#
  2878. -
  2879. -
  2880. -
  2881. -prefix=$1
  2882. -
  2883. -if [ ! -d "${prefix}" ]; then
  2884. - echo "Serious error - the named directory doesn't exist."
  2885. - exit
  2886. -fi
  2887. -
  2888. -
  2889. -
  2890. -#
  2891. -# 1. Make sure there is a resolv.conf file present, such that
  2892. -# DNS lookups succeed.
  2893. -#
  2894. -echo " Creating resolv.conf"
  2895. -if [ ! -d "${prefix}/etc/" ]; then
  2896. - mkdir -p "${prefix}/etc/"
  2897. -fi
  2898. -cp /etc/resolv.conf "${prefix}/etc/"
  2899. -
  2900. -
  2901. -#
  2902. -# 2. Copy the cached .RPM files into the yum directory, so that
  2903. -# yum doesn't need to make them again.
  2904. -#
  2905. -echo " Setting up YUM cache"
  2906. -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  2907. - mkdir -p ${prefix}/var/cache/yum/core/packages/
  2908. -fi
  2909. -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  2910. - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  2911. -fi
  2912. -
  2913. -for i in ${prefix}/*.rpm ; do
  2914. - cp $i ${prefix}/var/cache/yum/core/packages/
  2915. - cp $i ${prefix}/var/cache/yum/updates-released/packages/
  2916. -done
  2917. -
  2918. -
  2919. -
  2920. -#
  2921. -# 3. Ensure that Yum has a working configuration file.
  2922. -#
  2923. -arch=i386
  2924. -if [ $ARCH = "amd64" ] ; then
  2925. - arch=x86_64
  2926. -fi
  2927. -
  2928. -echo " Creating yum.conf"
  2929. -cat > ${prefix}/etc/yum.conf <<EOF
  2930. -[main]
  2931. -cachedir=/var/cache/yum
  2932. -debuglevel=1
  2933. -reposdir=/dev/null
  2934. -logfile=/var/log/yum.log
  2935. -retries=20
  2936. -obsoletes=1
  2937. -gpgcheck=0
  2938. -assumeyes=1
  2939. -
  2940. -# repos
  2941. -
  2942. -[core]
  2943. -name=core
  2944. -baseurl=$mirror
  2945. -
  2946. -[updates-released]
  2947. -name=updates
  2948. -baseurl=$mirror
  2949. -EOF
  2950. -
  2951. -
  2952. -#
  2953. -# 4. Run "yum install yum".
  2954. -#
  2955. -echo " Mounting /proc"
  2956. -if [ ! -d "${prefix}/proc" ]; then
  2957. - mkdir -p "${prefix}/proc"
  2958. -fi
  2959. -mount -o bind /proc ${prefix}/proc
  2960. -
  2961. -echo " Priming the yum cache"
  2962. -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  2963. - mkdir -p ${prefix}/var/cache/yum/core/packages
  2964. -fi
  2965. -cp /var/cache/rinse/fedora-core-8.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  2966. -
  2967. -echo " Bootstrapping yum"
  2968. -chroot ${prefix} /sbin/ldconfig
  2969. -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  2970. -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  2971. -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  2972. -
  2973. -
  2974. -#
  2975. -# 5. Clean up
  2976. -#
  2977. -echo " Cleaning up"
  2978. -chroot ${prefix} /usr/bin/yum clean all
  2979. -
  2980. -umount ${prefix}/proc
  2981. -
  2982. -
  2983. -#
  2984. -# 6. Remove the .rpm files from the prefix root.
  2985. -#
  2986. -echo " Final tidy..."
  2987. -for i in ${prefix}/*.rpm; do
  2988. - rm -f $i
  2989. -done
  2990. -find ${prefix} -name '*.rpmorig' -delete
  2991. -find ${prefix} -name '*.rpmnew' -delete
  2992. diff -ruN rinse-1.7.orig/scripts/fedora-core-9/post-install.sh rinse-1.7/scripts/fedora-core-9/post-install.sh
  2993. --- rinse-1.7.orig/scripts/fedora-core-9/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  2994. +++ rinse-1.7/scripts/fedora-core-9/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  2995. @@ -1,115 +0,0 @@
  2996. -#!/bin/sh
  2997. -#
  2998. -# Customise the distribution post-install.
  2999. -#
  3000. -
  3001. -
  3002. -
  3003. -prefix=$1
  3004. -
  3005. -if [ ! -d "${prefix}" ]; then
  3006. - echo "Serious error - the named directory doesn't exist."
  3007. - exit
  3008. -fi
  3009. -
  3010. -
  3011. -
  3012. -#
  3013. -# 1. Make sure there is a resolv.conf file present, such that
  3014. -# DNS lookups succeed.
  3015. -#
  3016. -echo " Creating resolv.conf"
  3017. -if [ ! -d "${prefix}/etc/" ]; then
  3018. - mkdir -p "${prefix}/etc/"
  3019. -fi
  3020. -cp /etc/resolv.conf "${prefix}/etc/"
  3021. -
  3022. -
  3023. -#
  3024. -# 2. Copy the cached .RPM files into the yum directory, so that
  3025. -# yum doesn't need to make them again.
  3026. -#
  3027. -echo " Setting up YUM cache"
  3028. -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
  3029. - mkdir -p ${prefix}/var/cache/yum/core/packages/
  3030. -fi
  3031. -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
  3032. - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
  3033. -fi
  3034. -
  3035. -for i in ${prefix}/*.rpm ; do
  3036. - cp $i ${prefix}/var/cache/yum/core/packages/
  3037. - cp $i ${prefix}/var/cache/yum/updates-released/packages/
  3038. -done
  3039. -
  3040. -
  3041. -
  3042. -#
  3043. -# 3. Ensure that Yum has a working configuration file.
  3044. -#
  3045. -arch=i386
  3046. -if [ $ARCH = "amd64" ] ; then
  3047. - arch=x86_64
  3048. -fi
  3049. -
  3050. -echo " Creating yum.conf"
  3051. -cat > ${prefix}/etc/yum.conf <<EOF
  3052. -[main]
  3053. -cachedir=/var/cache/yum
  3054. -debuglevel=1
  3055. -reposdir=/dev/null
  3056. -logfile=/var/log/yum.log
  3057. -retries=20
  3058. -obsoletes=1
  3059. -gpgcheck=0
  3060. -assumeyes=1
  3061. -
  3062. -# repos
  3063. -
  3064. -[core]
  3065. -name=core
  3066. -baseurl=$mirror
  3067. -
  3068. -EOF
  3069. -
  3070. -
  3071. -#
  3072. -# 4. Run "yum install yum".
  3073. -#
  3074. -echo " Mounting /proc"
  3075. -if [ ! -d "${prefix}/proc" ]; then
  3076. - mkdir -p "${prefix}/proc"
  3077. -fi
  3078. -mount -o bind /proc ${prefix}/proc
  3079. -
  3080. -echo " Priming the yum cache"
  3081. -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
  3082. - mkdir -p ${prefix}/var/cache/yum/core/packages
  3083. -fi
  3084. -cp /var/cache/rinse/fedora-core-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/
  3085. -
  3086. -echo " Bootstrapping yum"
  3087. -chroot ${prefix} /sbin/ldconfig
  3088. -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
  3089. -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
  3090. -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
  3091. -
  3092. -
  3093. -#
  3094. -# 5. Clean up
  3095. -#
  3096. -echo " Cleaning up"
  3097. -chroot ${prefix} /usr/bin/yum clean all
  3098. -
  3099. -umount ${prefix}/proc
  3100. -
  3101. -
  3102. -#
  3103. -# 6. Remove the .rpm files from the prefix root.
  3104. -#
  3105. -echo " Final tidy..."
  3106. -for i in ${prefix}/*.rpm; do
  3107. - rm -f $i
  3108. -done
  3109. -find ${prefix} -name '*.rpmorig' -delete
  3110. -find ${prefix} -name '*.rpmnew' -delete
  3111. diff -ruN rinse-1.7.orig/scripts/opensuse-11.1/post-install.sh rinse-1.7/scripts/opensuse-11.1/post-install.sh
  3112. --- rinse-1.7.orig/scripts/opensuse-11.1/post-install.sh 2009-04-22 03:38:40.000000000 +0900
  3113. +++ rinse-1.7/scripts/opensuse-11.1/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  3114. @@ -59,6 +59,11 @@
  3115. EOF
  3116. +if [ $ARCH = "i386" ] ; then
  3117. + echo " Setting architecture to i686"
  3118. + sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf
  3119. +fi
  3120. +
  3121. #
  3122. # 4. Run "zypper install zypper".
  3123. @@ -73,7 +78,7 @@
  3124. chroot ${prefix} /sbin/ldconfig
  3125. chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
  3126. chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
  3127. -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install dhclient 2>/dev/null
  3128. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null
  3129. chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
  3130. @@ -82,9 +87,10 @@
  3131. #
  3132. echo " Cleaning up"
  3133. chroot ${prefix} /usr/bin/zypper clean
  3134. -
  3135. umount ${prefix}/proc
  3136. +echo " Ending uuidd"
  3137. +pkill uuidd
  3138. #
  3139. # 6. Remove the .rpm files from the prefix root.
  3140. diff -ruN rinse-1.7.orig/scripts/opensuse-11.2/post-install.sh rinse-1.7/scripts/opensuse-11.2/post-install.sh
  3141. --- rinse-1.7.orig/scripts/opensuse-11.2/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  3142. +++ rinse-1.7/scripts/opensuse-11.2/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  3143. @@ -0,0 +1,104 @@
  3144. +#!/bin/sh
  3145. +#
  3146. +# Customise the distribution post-install.
  3147. +#
  3148. +
  3149. +prefix=$1
  3150. +
  3151. +if [ ! -d "${prefix}" ]; then
  3152. + echo "Serious error - the named directory doesn't exist."
  3153. + exit
  3154. +fi
  3155. +
  3156. +
  3157. +# There's no pre-existing /dev/zero nor is there one from the packages that are already unpacked.
  3158. +echo " Creating devices in /dev"
  3159. +if ! [ -e "${prefix}/dev/zero" ]; then
  3160. + mknod -m 666 "${prefix}/dev/zero" c 1 5
  3161. +fi
  3162. +
  3163. +#
  3164. +# 1. Make sure there is a resolv.conf file present, such that
  3165. +# DNS lookups succeed.
  3166. +#
  3167. +echo " Creating resolv.conf"
  3168. +if [ ! -d "${prefix}/etc/" ]; then
  3169. + mkdir -p "${prefix}/etc/"
  3170. +fi
  3171. +cp /etc/resolv.conf "${prefix}/etc/"
  3172. +
  3173. +
  3174. +#
  3175. +# 2. Copy the cached .RPM files into the zypper directory, so that
  3176. +# zypper doesn't need to fetch them again.
  3177. +#
  3178. +echo " Setting up zypper cache"
  3179. +
  3180. +if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
  3181. + mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
  3182. +fi
  3183. +cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
  3184. +
  3185. +
  3186. +#
  3187. +# 3. Ensure that zypper has a working configuration file.
  3188. +#
  3189. +arch=i386
  3190. +if [ $ARCH = "amd64" ] ; then
  3191. + arch=x86_64
  3192. +fi
  3193. +
  3194. +echo " Creating zypper repo entry"
  3195. +[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
  3196. +cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
  3197. +[opensuse]
  3198. +name=${dist}
  3199. +baseurl=$(dirname $(dirname ${mirror}))
  3200. +enabled=1
  3201. +gpgcheck=1
  3202. +
  3203. +EOF
  3204. +
  3205. +if [ $ARCH = "i386" ] ; then
  3206. + echo " Setting architecture to i686"
  3207. + sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf
  3208. +fi
  3209. +
  3210. +
  3211. +#
  3212. +# 4. Run "zypper install zypper".
  3213. +#
  3214. +echo " Mounting /proc"
  3215. +if [ ! -d "${prefix}/proc" ]; then
  3216. + mkdir -p "${prefix}/proc"
  3217. +fi
  3218. +mount -o bind /proc ${prefix}/proc
  3219. +
  3220. +echo " Bootstrapping zypper"
  3221. +chroot ${prefix} /sbin/ldconfig
  3222. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
  3223. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
  3224. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null
  3225. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install syslog-ng 2>/dev/null
  3226. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
  3227. +
  3228. +
  3229. +#
  3230. +# 5. Clean up
  3231. +#
  3232. +echo " Cleaning up"
  3233. +chroot ${prefix} /usr/bin/zypper clean
  3234. +umount ${prefix}/proc
  3235. +
  3236. +echo " Ending uuidd"
  3237. +pkill uuidd
  3238. +
  3239. +#
  3240. +# 6. Remove the .rpm files from the prefix root.
  3241. +#
  3242. +echo " Final tidy..."
  3243. +for i in ${prefix}/*.rpm; do
  3244. + rm -f $i
  3245. +done
  3246. +find ${prefix} -name '*.rpmorig' -delete
  3247. +find ${prefix} -name '*.rpmnew' -delete
  3248. diff -ruN rinse-1.7.orig/scripts/opensuse-11.3/post-install.sh rinse-1.7/scripts/opensuse-11.3/post-install.sh
  3249. --- rinse-1.7.orig/scripts/opensuse-11.3/post-install.sh 1970-01-01 09:00:00.000000000 +0900
  3250. +++ rinse-1.7/scripts/opensuse-11.3/post-install.sh 2010-11-24 17:04:23.000000000 +0900
  3251. @@ -0,0 +1,111 @@
  3252. +#!/bin/sh
  3253. +#
  3254. +# Customise the distribution post-install.
  3255. +#
  3256. +
  3257. +prefix=$1
  3258. +
  3259. +if [ ! -d "${prefix}" ]; then
  3260. + echo "Serious error - the named directory doesn't exist."
  3261. + exit
  3262. +fi
  3263. +
  3264. +
  3265. +# There's no pre-existing /dev/zero nor is there one from the packages that are already unpacked.
  3266. +echo " Creating devices in /dev"
  3267. +if ! [ -e "${prefix}/dev/zero" ]; then
  3268. + mknod -m 666 "${prefix}/dev/zero" c 1 5
  3269. +fi
  3270. +
  3271. +#
  3272. +# 1. Make sure there is a resolv.conf file present, such that
  3273. +# DNS lookups succeed.
  3274. +#
  3275. +echo " Creating resolv.conf"
  3276. +if [ ! -d "${prefix}/etc/" ]; then
  3277. + mkdir -p "${prefix}/etc/"
  3278. +fi
  3279. +cp /etc/resolv.conf "${prefix}/etc/"
  3280. +
  3281. +
  3282. +#
  3283. +# 2. Copy the cached .RPM files into the zypper directory, so that
  3284. +# zypper doesn't need to fetch them again.
  3285. +#
  3286. +echo " Setting up zypper cache"
  3287. +
  3288. +if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
  3289. + mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
  3290. +fi
  3291. +cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
  3292. +
  3293. +
  3294. +#
  3295. +# 3. Ensure that zypper has a working configuration file.
  3296. +#
  3297. +arch=i386
  3298. +if [ $ARCH = "amd64" ] ; then
  3299. + arch=x86_64
  3300. +fi
  3301. +
  3302. +echo " Creating zypper repo entry"
  3303. +[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
  3304. +cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
  3305. +[opensuse]
  3306. +name=${dist}
  3307. +baseurl=$(dirname $(dirname ${mirror}))
  3308. +enabled=1
  3309. +gpgcheck=1
  3310. +
  3311. +EOF
  3312. +
  3313. +if [ $ARCH = "i386" ] ; then
  3314. + echo " Setting architecture to i686"
  3315. + sed -i 's/\(# \)\?arch = .*/arch = i686/' ${prefix}/etc/zypp/zypp.conf
  3316. +fi
  3317. +
  3318. +
  3319. +#
  3320. +# 4. Run "zypper install zypper".
  3321. +#
  3322. +echo " Mounting /proc"
  3323. +if [ ! -d "${prefix}/proc" ]; then
  3324. + mkdir -p "${prefix}/proc"
  3325. +fi
  3326. +mount -o bind /proc ${prefix}/proc
  3327. +
  3328. +echo " Bootstrapping zypper"
  3329. +chroot ${prefix} /sbin/ldconfig
  3330. +
  3331. +# Need key trusted to prevent warnings during package install
  3332. +chroot ${prefix} /usr/bin/zypper -n --gpg-auto-import-keys refresh --force-download
  3333. +
  3334. +# Need these two to be properly installed to prevent numerous errors during installation of other packages
  3335. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install PolicyKit permissions 2>/dev/null
  3336. +
  3337. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
  3338. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
  3339. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install e2fsprogs 2>/dev/null
  3340. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install syslog-ng 2>/dev/null
  3341. +chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
  3342. +
  3343. +
  3344. +#
  3345. +# 5. Clean up
  3346. +#
  3347. +echo " Cleaning up"
  3348. +chroot ${prefix} /usr/bin/zypper clean
  3349. +umount ${prefix}/proc
  3350. +
  3351. +echo " Ending uuidd"
  3352. +pkill uuidd
  3353. +
  3354. +#
  3355. +# 6. Remove the .rpm files from the prefix root.
  3356. +#
  3357. +echo " Final tidy..."
  3358. +for i in ${prefix}/*.rpm; do
  3359. + rm -f $i
  3360. +done
  3361. +find ${prefix} -name '*.rpmorig' -delete
  3362. +find ${prefix} -name '*.rpmnew' -delete