<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24122</bug_id>
          
          <creation_ts>2010-09-20 17:34:30 +0400</creation_ts>
          <short_desc>Информация о репозитории.</short_desc>
          <delta_ts>2010-09-21 17:12:45 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>mkimage</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andriy Stepanov (stanv)">stanv</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>glebfm</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>112378</commentid>
    <comment_count>0</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2010-09-20 17:34:30 +0400</bug_when>
    <thetext>Если создавать репозиторий c помощью цели copy-packages то репозиторий не содержит нужную информацию:

cat /mnt/tmp/ALTLinux/base/release
Origin: ALTLinux
Label: Unknown
Suite: Unknown
Codename: Unknown
Date: Wed, 25 Aug 2010 10:22:54 +0000
Architectures: Unknown
Components: main disk
Description: Not Available


Нужно чтобы поле Architectures было заполнено.
Как :

# cat /mnt/salto/ALT/Sisyphus/i586/base/release
Origin: ALT Linux Team
Label: sisyphus
Suite: sisyphus
Codename: 1276147085
Date: Mon, 20 Sep 2010 02:05:04 +0400
Architectures: i586 x86_64 noarch
Components: classic
Description: ALT Linux sisyphus</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112380</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2010-09-20 18:02:50 +0400</bug_when>
    <thetext>Цель copy-packages не создаёт репозиторий:

http://git.altlinux.org/people/legion/packages/mkimage.git?p=mkimage.git;a=blob;f=doc/README.ru;h=0aaa9e381c71ded9a44f4c2a1eccb72c160e0f50;hb=94101e3aeedb9da20334b9455192c690732e9884#l159

Этим занимаются скрипты внутри чрута, которым можно передать параметры:

http://git.altlinux.org/people/legion/packages/mkimage.git?p=mkimage.git;a=blob;f=doc/README.ru;h=0aaa9e381c71ded9a44f4c2a1eccb72c160e0f50;hb=94101e3aeedb9da20334b9455192c690732e9884#l202

Посмотрите на пример использования:

http://git.altlinux.org/people/legion/packages/mkimage.git?p=mkimage.git;a=blob;f=examples/example3/base/scripts.d/00-genbasedir;h=5865b6156be2b974af877cd3f4b0fd1c99eafd5d;hb=94101e3aeedb9da20334b9455192c690732e9884</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112429</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2010-09-21 11:32:39 +0400</bug_when>
    <thetext>Угу, второй NOTABUG. :)

2 stanv: mkimage-profiles мож глянешь?  Там в image.in/scripts.d/01-genbasedir нужный код есть, только не факт, что метапрофиль все нужные переменные уже в профиле создаёт.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112475</commentid>
    <comment_count>3</comment_count>
    <who name="Andriy Stepanov (stanv)">stanv</who>
    <bug_when>2010-09-21 17:12:45 +0400</bug_when>
    <thetext>Спасибо за объяснение.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>