On Fri, 17 May 2013 08:55:42 -0500 Bruno Wolff III <bruno@xxxxxxxx> wrote: > On Fri, May 17, 2013 at 08:36:52 -0500, > Ranjan Maitra <maitra.mbox.ignored@xxxxxxxxx> wrote: > >Hello, > > > >I am trying to make a spin (remix). I am also trying to include a few > >rpms locally (stuff I rolled up for now). How do I include these in the > >rpm? > > You can use createrepo to make a repository out of your local rpms. Then > you need to add this repo using a repo command in your ks file. You can > use a file: reference if it's on the same machine. Thanks very much. I createrepo'd using the following: createrepo --repo=MyRepos /home/maitra/rpmbuild/RPMS/ Spawning worker 0 with 3 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete and was rewarded with a repodata directory inside my designated folder. I went off to http://fedoraproject.org/wiki/Anaconda/Kickstart#repo and from there, I understood (wrongly) that I needed to add a repo with the repo command: repo repo --name=MyRepo --baseurl=file://home/maitra/rpmbuild/RPMS/ (Also tried with the above --baseurl=file://home/maitra/rpmbuild/RPMS/rpmdata and with repomd.xml thrown in at the end.) However, clearly, this does not work and I get a host of errors, as follows: sudo livecd-creator --cache=cache --fslabel=Shunya --config=Shunya.ks Traceback (most recent call last): File "/bin/livecd-creator", line 237, in <module> sys.exit(main()) File "/bin/livecd-creator", line 218, in main creator.install() File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 641, in install ayum.setup(yum_conf, self._instroot) File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 104, in setup self.doTsSetup() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 129, in doTsSetup return self._getTs() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 137, in _getTs if not remove_only and self._tsInfo.pkgSack is None: File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 131, in <lambda> pkgSack = property(fget=lambda self: self._getPkgSack (), File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 128, in _getPkgSack self._pkgSack = self._pkgSackCtor() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 76, in __call__ return self.ayum.pkgSack File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.7/site-packages/yum/repos.py", line 352, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 223, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 313, in _check_db_version return repo._check_db_version(mdtype) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1440, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1626, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1622, in _getRepoXML self._loadRepoXML(text=self.ui_id) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1613, in _loadRepoXML return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes ()) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1587, in _groupLoadRepoXML if self._commonLoadRepoXML(text): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1412, in _commonLoadRepoXML result = self._getFileRepoXML(local, text) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1190, in _getFileRepoXML size=102400) # setting max size as 100K File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1004, in _getFile raise Errors.NoMoreMirrorsRepoError(errstr, errors) yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from MyRepo: [Errno 256] No more mirrors to try. file://home/maitra/rpmbuild/RPMS/repodata/repomd.xml/repodata/repomd.xml: [Errno 14] Could not open/read file://home/maitra/rpmbuild/RPMS/repodata/repomd.xml/repodata/repomd.xml maitra@subarnarekha 09:29:25:$ rm -rf *~;sudo livecd-creator --cache=cache --fslabel=Shunya --config=Shunya.ks Traceback (most recent call last): File "/bin/livecd-creator", line 237, in <module> sys.exit(main()) File "/bin/livecd-creator", line 218, in main creator.install() File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 641, in install ayum.setup(yum_conf, self._instroot) File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 104, in setup self.doTsSetup() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 129, in doTsSetup return self._getTs() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 137, in _getTs if not remove_only and self._tsInfo.pkgSack is None: File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 131, in <lambda> pkgSack = property(fget=lambda self: self._getPkgSack(), File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 128, in _getPkgSack self._pkgSack = self._pkgSackCtor() File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 76, in __call__ return self.ayum.pkgSack File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.7/site-packages/yum/repos.py", line 352, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 223, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 313, in _check_db_version return repo._check_db_version(mdtype) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1440, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1626, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1622, in _getRepoXML self._loadRepoXML(text=self.ui_id) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1613, in _loadRepoXML return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes ()) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1587, in _groupLoadRepoXML if self._commonLoadRepoXML(text): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1412, in _commonLoadRepoXML result = self._getFileRepoXML(local, text) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1190, in _getFileRepoXML size=102400) # setting max size as 100K File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1004, in _getFile raise Errors.NoMoreMirrorsRepoError(errstr, errors) yum.Errors.NoMoreMirrorsRepoError: failure: repodata/repomd.xml from MyRepo: [Errno 256] No more mirrors to try. file://home/maitra/rpmbuild/RPMS/repodata/repomd.xml: [Errno 14] Could not open/read file://home/maitra/rpmbuild/RPMS/repodata/repomd.xml Many thanks and best wishes, Ranjan ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! Check it out at http://www.inbox.com/earth -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org