Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
openeuler_risc-v_obs [2022/02/24 15:32] misaka00251openeuler_risc-v_obs [2023/04/28 02:24] – [OCS 的安装配置] misaka00251
Line 45: Line 45:
 首先安装 osc 软件包: ''dnf install osc'' 首先安装 osc 软件包: ''dnf install osc''
  
-osc 的凭据位置为 ''~/.oscrc'',进行以下配置:+osc 的凭据位置为 ''~/.config/osc/oscrc'',进行以下配置:
  
 <file oscrc .oscrc> <file oscrc .oscrc>
Line 155: Line 155:
 </code> </code>
  
-修改源代码和 spec 文件之后,提交刀 OBS 服务器进行构建:+修改源代码和 spec 文件之后,提交到 OBS 服务器进行构建:
  
 <code> <code>
Line 211: Line 211:
 </code> </code>
  
 +==== 创建 subproject ====
  
 +假设我要在 home:misaka00251 下创建一个 Subproject 叫 NewMeta,可以新建一个文件:
 +
 +<file test>
 +<project name="home:misaka00251:NewMeta">
 +  <title/>
 +  <description/>
 +  <person userid="misaka00251" role="maintainer"/>
 +  <publish>
 +    <enable/>
 +  </publish>
 +  <useforbuild>
 +    <disable/>
 +  </useforbuild>
 +  <repository name="AmogOS">
 +    <path project="openEuler:Mainline:RISC-V" repository="standard_riscv64"/>
 +    <arch>riscv64</arch>
 +  </repository>
 +</project>
 +</file>
 +
 +然后使用 ''osc meta prj home:misaka00251:NewMeta --file=test'' 就可以啦~