Configuring Repositories for a Yum based platform

Moblin Image Creator provides an easy and flexible way to configure repositories of a Yum based platform.

Configuring target repositories

To configure the repositories of a target, choose a target and click on the 'Edit Repository' button in the target section.

To edit an existing repository, choose a repository from the 'Repository List'. Make the modification and save.
The 'enabled' field can be used to enable/disable a repository. Setting the 'enabled' field to '0' will disable the repository and setting it to '1' will enable it.
The 'failovermethod' can be set to either 'priority' or 'roundrobin'. 'roundrobin' randomly selects a URL out of the list of URL's to start with and proceeds through each of them as it encounters a failure contacting the host. 'priority' starts from the first baseurl listed and reads through them sequentially.

To add a repository, click on the add button, provide a name for the repository. This creates an empty repository file. Fill in all the information for the new repository and save.

To remove a repository, choose a repository and click on the remove button.

Note: The changes made to the repositories will affect only the selected target.

RepoEditor_0.png

Configuring platform repositories

To configure the repository for a given platform, click on the 'Tools' menu and then click on the 'Edit Repo'. Choose the platform you wish to edit. This will bring up the edit repo dialog. You can choose to edit an existing repository or add/remove repositories. The changes made here will affect all the projects/targets created after the changes are made. It does not affect existing projects/targets.

Comments (2 total)

how to install glibc-common

1.Download glibc and glibc-common rpm package from repo.moblin.org.
2. Install this two rpm package use following command:
#yum -i --force glibc-common-2.8-19.42.moblin2.i586.rpm glibc-2.8-19.42.moblin2.i586.rpm

what is wrong with my Project ???

when I tried "#yum update" , the screen read:

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package gdbm.i586 0:1.8.0-31.79.moblin2 set to be updated
---> Package libcurl.i586 0:7.18.2-4.30.moblin2 set to be updated
---> Package squashfs-tools.i586 0:3.3-5.29.moblin2 set to be updated
....................
..................
..................
---> Package db4.i586 0:4.6.21-10.81.moblin2 set to be updated
--> Running transaction check
---> Package glibc.i586 0:2.8-19.42.moblin2 set to be updated
--> Processing Dependency: glibc-common = 2.8-19.1.moblin2 for package: glibc
--> Finished Dependency Resolution
glibc-2.8-19.1.moblin2.i386 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.8-19.1.moblin2 is needed by package glibc-2.8-19.1.moblin2.i386 (installed)
Error: Missing Dependency: glibc-common = 2.8-19.1.moblin2 is needed by package glibc-2.8-19.1.moblin2.i386 (installed)

by "#yum install glibc-common", the screen read

Resolving Dependencies
--> Running transaction check
---> Package glibc-common.i586 0:2.8-19.42.moblin2 set to be updated
--> Processing Dependency: glibc = 2.8-19.42.moblin2 for package: glibc-common
--> Processing Dependency: glibc-common = 2.8-19.1.moblin2 for package: glibc
--> Running transaction check
---> Package glibc.i586 0:2.8-19.42.moblin2 set to be updated
--> Processing Dependency: glibc-common = 2.8-19.1.moblin2 for package: glibc
--> Finished Dependency Resolution
glibc-2.8-19.1.moblin2.i386 from installed has depsolving problems
--> Missing Dependency: glibc-common = 2.8-19.1.moblin2 is needed by package glibc-2.8-19.1.moblin2.i386 (installed)
Error: Missing Dependency: glibc-common = 2.8-19.1.moblin2 is needed by package glibc-2.8-19.1.moblin2.i386 (installed)

Also, there is not basic tools such as gcc/vim in Project terminal.
what is wrong with it???