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
Next revisionBoth sides next revision
openeuler_risc-v_obs [2022/02/24 15:32] misaka00251openeuler_risc-v_obs [2022/03/01 14:39] – [使用 OSC 构建 RPM 包] misaka00251
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'' 就可以啦~