-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Domeika, Max J wrote:
> Yes, I've add:
> repo --name=foo --baseurl=file:///root/temp4
> 
> I then received an error regarding a missing LICENSE.html.  I created a blank 
> file for that and the error went away and moblin-image-creator proceeded 
> running through the list of the 755 packages in the image.
> 
> It then fails afterward trying to locate the kernel.  I've also replaced the 
> reference to kernel-netbook with the name of my kernel.  I've tried several 
> variants on the name (kernel.2.6.29*, kernel-2.6.29.2netbook-18.i386.rpm, 
> kernel-2.6.29.2netbook-18.i386) because I'm not sure in the original 
> kernel-netbook is mapped to the actual rpm.
> 
> What I'd like to know:
> 1.  What are the steps used to create the moblin repository?  Createrepo and 
> repoview seem to be part of the steps.
> 2.  What are the explicit command lines for these tools?  I know createrepo 
> needs to be done with the -d option.  Anything else?

I've got a local (i.e. file://) repo working on a Gentoo x86_64 host.

I needed to install:
  o createrepo >= 0.9.7  (I'm using 0.9.7)
  o rpm >= 4.4.7         (rpm5.org flavor, I'm using 4.4.7-r4)
  o yum >= 3.2.22        (I had to create an ebuild to install 3.2.23)
  o Dependencies for the above.

Here's how I've been creating a local repo:
  o Sync the repo - kernel.org allows for rsync, but you won't get the
    latest development RPMs.  You'll have to pull those with wget or the
    like.
  o cd /path/to/moblin2
  o createrepo -d -g comps.xml .
  o touch LICENSE.html
  o cd /path/to/moblin2-src
  o createrepo -d .

Using the above, I've been able to modify the 'repo' entries in my
kickstart file such that the baseurl points to a local file:// location,
and successfully build and boot a LiveUSB image.

> 3.  How is the LICENSE.html file being generated in the repository to make 
> moblin-image-creator's call into kickstart happy?

I just touch'd a LICENSE.html - I didn't see anything of the sort when
browsing repo.moblin.org, and it allowed moblin-image-creator to run
successfully.

I still have yet to get a custom kernel built from SRPM and integrated
into my own local repo - currently working through that process.

- -Cory


- -- 
Cory T. Tusar
Senior Software Engineer
Videon Central, Inc.
2171 Sandy Drive
State College, PA 16803
(814) 235-1111 x316
(814) 235-1118 fax


"There are two ways of constructing a software design.  One way is to
 make it so simple that there are obviously no deficiencies, and the
 other way is to make it so complicated that there are no obvious
 deficiencies."  --Sir Charles Anthony Richard Hoare

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkpOIP8ACgkQHT1tsfGwHJ/SDACeNRuYw+2AcaRjg3I8JC7lfeO/
+GgAn2ORRFtXlBFfCopmsuXUfBkic2Iz
=EYYR
-----END PGP SIGNATURE-----
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to