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

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

    <bug>
          <bug_id>46271</bug_id>
          
          <creation_ts>2023-05-26 10:44:11 +0300</creation_ts>
          <short_desc>CPE_NAME в .disk/cpe для ISO образов</short_desc>
          <delta_ts>2023-06-09 13:02:05 +0300</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-profiles</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Антон Мидюков">antohami</assigned_to>
          <cc>antohami</cc>
    
    <cc>dshein</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>226498</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-05-26 10:44:11 +0300</bug_when>
    <thetext>Для удобства валидации ISO образов при загрузке их в базу данных было бы неплохо CPE_NAME из /etc/os-release добавлять в .disk/cpe

Данные можно брать отсюда:
/usr/share/branding-data-current/release/os-release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226499</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-05-26 11:01:16 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #0)
&gt; /usr/share/branding-data-current/release/os-release

Нельзя. Это специфично для брендинга kworkstation. Брать нужно из /etc/os-release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226511</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-05-26 11:53:23 +0300</bug_when>
    <thetext>&gt; &gt; /usr/share/branding-data-current/release/os-release
&gt; Это специфично для брендинга kworkstation
Нет, это для всех, но оттуда брать нельзя.
Это источник данных для пакета alt-os-release, который уже генерит /etc/os-release .

P.S.
На alt-os-release и возложить бы заполнение BRANCH_ID и подобного.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226516</commentid>
    <comment_count>3</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-05-26 12:09:55 +0300</bug_when>
    <thetext>(Ответ для Sergey V Turchin на комментарий #2)
&gt; &gt; &gt; /usr/share/branding-data-current/release/os-release
&gt; &gt; Это специфично для брендинга kworkstation
&gt; Нет, это для всех, но оттуда брать нельзя.
&gt; Это источник данных для пакета alt-os-release, который уже генерит
&gt; /etc/os-release .
&gt; 

Для alt-os-release источник данных /usr/lib/os-release
См.: /usr/lib/rpm/alt-os-release.filetrigger</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226520</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-05-26 12:18:51 +0300</bug_when>
    <thetext>/usr/lib/os-release - ок, давайте оттуда.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226532</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-05-26 12:36:59 +0300</bug_when>
    <thetext>Сделал:
https://git.altlinux.org/people/antohami/packages/?p=mkimage-profiles.git;a=commit;h=da3e0482e551e04d7651641c42d1ffe63a02ad04

Пробуйте.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226585</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-05-27 14:01:22 +0300</bug_when>
    <thetext>@zerg включи в новую бету, пожалуйста</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226652</commentid>
    <comment_count>7</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2023-05-29 15:02:19 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #6)
&gt; @zerg включи в новую бету, пожалуйста
https://git.altlinux.org/people/zerg/packages/?p=mkimage-profiles-kworkstation.git;a=commitdiff;h=0c65e04e6620db9a1d376e2826ce2656f51e6bc7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>226687</commentid>
    <comment_count>8</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2023-05-30 10:19:02 +0300</bug_when>
    <thetext>Данил, нужно добавить загрузку CPE образа, если он найден на диске.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>227372</commentid>
    <comment_count>9</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-06-09 13:02:05 +0300</bug_when>
    <thetext>mkimage-profiles-1.5.6-alt1 -&gt; sisyphus:

 Thu Jun 08 2023 Anton Midyukov &lt;antohami@altlinux&gt; 1.5.6-alt1
 - regular.mk: add btrfs support for jeos-full (Closes: 46212)
 - grub: add missing info messages about bootloading of kernel, initrd and other
 - stage2: save cpe from /etc/os-release to .disk/cpe (Closes: 46271)
 - reports: DEBUG must be enabled, CHECK must be disabled
 - reports.mk: allow read access to the report to everyone
 - plymouth: add kernel cmdline parameter &apos;loglevel=3&apos; after &apos;quiet&apos;
 - base+regular: add apt-https
 - plymouth: add feature plymouth to initrd.mk for rootfs
 - Add latests commits from zerg@ and cas@</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>