The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Local Repository For Image Creation

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(working examples)
 
(sdk's createrepo)
 
Line 1: Line 1:
 
Put rpm-files to the one directory. If you just build them with 'osc build' for arm, directory is '''/var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/'''
 
Put rpm-files to the one directory. If you just build them with 'osc build' for arm, directory is '''/var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/'''
  
Currently Platform SDK doesn't have 'createrepo', so you must use host system for that (thus directories before /var).
+
You find 'createrepo'-command from (e.g.) http://repo.pub.meego.com/releases/Mer-Tools/6.0.1/builds/i486/packages/i486/
cd /srv/mer/sdks/sdk/var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl
+
sudo createrepo /var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl
createrepo .
+
  
Then add row to the ks-file
+
Then add this row to the ks-file
 
  repo --name=local1 --baseurl=file:///var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/ --save
 
  repo --name=local1 --baseurl=file:///var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/ --save
 +
 +
 +
----
 +
 +
If you want to reach this directory from your host system, it is
 +
cd /srv/mer/sdks/sdk/var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl

Latest revision as of 13:27, 3 August 2012

Put rpm-files to the one directory. If you just build them with 'osc build' for arm, directory is /var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/

You find 'createrepo'-command from (e.g.) http://repo.pub.meego.com/releases/Mer-Tools/6.0.1/builds/i486/packages/i486/

sudo createrepo /var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl

Then add this row to the ks-file

repo --name=local1 --baseurl=file:///var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl/ --save



If you want to reach this directory from your host system, it is

cd /srv/mer/sdks/sdk/var/tmp/build-root/home/abuild/rpmbuild/RPMS/armv7hl
Personal tools