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

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

    <bug>
          <bug_id>55786</bug_id>
          
          <creation_ts>2025-08-29 15:52:35 +0300</creation_ts>
          <short_desc>branding-alt-mobile: Не изменяется BUILD_ID в /etc/os-release из /usr/lib/os-release</short_desc>
          <delta_ts>2025-08-29 15:57:49 +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>branding-alt-mobile</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Artem Varaksa">varaksaaa</reporter>
          <assigned_to name="Andrew Savchenko">bircoph</assigned_to>
          <cc>antohami</cc>
    
    <cc>bircoph</cc>
    
    <cc>x1z53</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>271662</commentid>
    <comment_count>0</comment_count>
    <who name="Artem Varaksa">varaksaaa</who>
    <bug_when>2025-08-29 15:52:35 +0300</bug_when>
    <thetext>Шаги
====

1. # apt-get install -y branding-alt-mobile-{bootsplash,graphics,indexhtml,notes,phosh-settings,release}
2. # update-grub &amp;&amp; make-initrd &amp;&amp; reboot
3. # cat /usr/lib/os-release
4. # diff --unified --color --report-identical-files {/usr/lib,/etc}/os-release


Фактический результат
=====================

Всё про ALT Mobile, но BUILD_ID нет:

&gt; 3. # cat /usr/lib/os-release
&gt; NAME=&quot;ALT Mobile&quot;
&gt; VERSION=&quot;11.0-beta2&quot;
&gt; ID=altlinux
&gt; VERSION_ID=11.0
&gt; PRETTY_NAME=&quot;ALT Mobile 11.0 (Parus)&quot;
&gt; ANSI_COLOR=&quot;1;33&quot;
&gt; CPE_NAME=&quot;cpe:/o:alt:mobile:11.0&quot;
&gt; BUILD_ID=&quot;ALT Workstation 11.0&quot;
&gt; ALT_BRANCH_ID=&quot;p11&quot;
&gt; HOME_URL=&quot;https://www.altlinux.org/ALT_Mobile&quot;
&gt; BUG_REPORT_URL=&quot;https://bugs.altlinux.org/&quot;
&gt; LOGO=alt-mobile

&gt; 4. # diff --unified --color --report-identical-files {/usr/lib,/etc}/os-release
&gt; --- /usr/lib/os-release
&gt; +++ /etc/os-release
&gt; @@ -5,7 +5,7 @@
&gt;  PRETTY_NAME=&quot;ALT Mobile 11.0 (Parus)&quot;
&gt;  ANSI_COLOR=&quot;1;33&quot;
&gt;  CPE_NAME=&quot;cpe:/o:alt:mobile:11.0&quot;
&gt; -BUILD_ID=&quot;ALT Mobile 11.0-beta2&quot;
&gt; +BUILD_ID=&quot;ALT Workstation 11.0&quot;
&gt;  ALT_BRANCH_ID=&quot;p11&quot;
&gt;  HOME_URL=&quot;https://www.altlinux.org/ALT_Mobile&quot;
&gt;  BUG_REPORT_URL=&quot;https://bugs.altlinux.org/&quot;

Ожидаемый результат
===================

&gt; BUILD_ID=&quot;ALT Mobile 11.0-beta2&quot;


Воспроизводимость
=================

Воспроизводится на виртуальных машинах:

[p11] ALT Workstation 11.0 x86_64
grub-common-2.12-alt14.x86_64
branding-alt-mobile-*-11.0-alt1.2.beta1

[p11+393268.1] ALT Workstation 11.0 x86_64
grub-common-2.12-alt14.x86_64
branding-alt-mobile-*-11.0-alt1.2.beta2

[sisyphus] ALT Workstation 11.0 x86_64
grub-common-2.12-alt14.x86_64
branding-alt-mobile-*-11.0-alt1.2.beta2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>271663</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-08-29 15:57:49 +0300</bug_when>
    <thetext>Ожидаемый результат:
В BUILD_ID сохраняется информация об изначальном брендинге.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>