|
|
| (21 intermediate revisions not shown) |
| Line 1: |
Line 1: |
| - | = Frequently Asked Questions =
| + | OBS Light has moved! It's now located at openSUSE: |
| - | == Where does ''obslight'' store its data? ==
| + | [http://en.opensuse.org/openSUSE:OBS_Light_FAQ http://en.opensuse.org/openSUSE:OBS_Light_FAQ] |
| - | All data is stored in '''~/OBSLight''' and subdirectories.
| + | |
| - | | + | |
| - | == Is there a configuration file ? ==
| + | |
| - | Configuration file is '''~/OBSLight/obslightConfig'''.
| + | |
| - | | + | |
| - | == How to show the log ? ==
| + | |
| - | * From the menu: ''Window'' -> ''Show log''
| + | |
| - | * When a long operation is running: right click on progress bar and click ''Show log''.
| + | |
| - | | + | |
| - | == How to patch an ARM kernel for MeeGo with obslight? ==
| + | |
| - | It's the same approach than with i586 architecture. | + | |
| - | * You can't use the '''kernel''' package, because it has flags to prevent builds on ARM. Use for example the '''kernel-adaptation-n900''' package.
| + | |
| - | obslight addObsServer --serverAPI https://api.meego.com --serverRepos http://download.meego.com/live --user obsuser --passw opensuse
| + | |
| - | obslight addProject --projectLocalName MeeGo_1.2_oss --projectObsName MeeGo:1.2:oss --obsServer https://api.meego.com --projectArchitecture armv8el --projectTarget standard
| + | |
| - | obslight addPackage --projectLocalName MeeGo_1.2_oss --package kernel-adaptation-n900
| + | |
| - | obslight createChRoot --projectLocalName MeeGo_1.2_oss
| + | |
| - | obslight addPackageSourceInChRoot --projectLocalName MeeGo_1.2_oss --package kernel-adaptation-n900
| + | |
| - | | + | |
| - | Some errors you may encounter:
| + | |
| - | * [[ObsLightDeliverable#.22Problem:_nothing_provides_X_needed_by_Y.22 | Problem: nothing provides X needed by Y]]
| + | |
| - | * [[ObsLightDeliverable#.22error:_Architecture_is_not_included:_armv8el.22 | error: Architecture is not included: armv8el]]
| + | |
| - | * [[ObsLightDeliverable#.22chroot:_failed_to_run_command_.60sh.27:_No_such_file_or_directory.22 | chroot: failed to run command `sh': No such file or directory]]
| + | |
| - | | + | |
| - | obslight goToChRoot --projectLocalName MeeGo_1.2_oss --package kernel-adaptation-n900
| + | |
| - | # cp configs/kernel-adaptation-n900.config .config
| + | |
| - | # make menuconfig
| + | |
| - | # cp .config config-adaptation-n900
| + | |
| - | # exit
| + | |
| - | vi ~/OBSLight/MeeGo_1.2_oss/MeeGo:1.2:oss/kernel-adaptation-n900/kernel-adaptation-n900.spec
| + | |
| - | You must move your patch command <tt>'''%patchXXX -p1'''</tt> after the command line <tt>'''cp $RPM_SOURCE_DIR/config-* .'''</tt>
| + | |
| - | obslight makePatch --projectLocalName MeeGo_1.2_oss --package kernel-adaptation-n900 --patch myKernelPatch.patch
| + | |
| - | obslight addAndCommitChange --projectLocalName MeeGo_1.2_oss --package kernel-adaptation-n900 -m "Patch kernel"
| + | |
| - | | + | |
| - | == How install the dependency of a package into the chroot? ==
| + | |
| - | If the project on your OBS doesn’t provide some dependencies and you must add a repository to your chroot's zypper configuration, you have two choices:
| + | |
| - | * First one, use an URL and an alias:
| + | |
| - | obslight addRepoInChRoot --projectLocalName MeeGo_1.2_oss --url http://download.meego.com/live/MeeGo:/1.2:/non-oss/MeeGo_1.2/ --alias "MeeGo_non-oss"
| + | |
| - | * Second one, add the repository of another local project:
| + | |
| - | obslight addRepoInChRoot --projectLocalName MeeGo_1.2_oss --fromProject $ProjectName
| + | |
| - | | + | |
| - | == Where to send bug reports ? ==
| + | |
| - | Bugs are centralized on [https://bugs.meego.com/buglist.cgi?product=Development%20Tools&component=OBS%20Light MeeGo's bugzilla].
| + | |
| - | | + | |
| - | = Links =
| + | |
| - | * [[OBS_Light | OBS Light main page]]
| + | |
| - | * [[ObsLightDeliverable | OBS Light deliverables]]
| + | |
| - | * [[OBS_Light_Manual | OBS Light manual]]
| + | |
| - | * [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]
| + | |
| - | * [https://build.pub.meego.com/project/show?project=home%3Aronan%3AOBS_Light OBS Light project on MeeGo build service]
| + | |