Bug 55786 - branding-alt-mobile: Не изменяется BUILD_ID в /etc/os-release из /usr/lib/os-release
Summary: branding-alt-mobile: Не изменяется BUILD_ID в /etc/os-release из /usr/lib/os-...
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: branding-alt-mobile (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrew Savchenko
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-29 15:52 MSK by Artem Varaksa
Modified: 2025-08-29 15:57 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Varaksa 2025-08-29 15:52:35 MSK
Шаги
====

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


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

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

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

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

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

> BUILD_ID="ALT Mobile 11.0-beta2"


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

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

[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
Comment 1 Антон Мидюков 2025-08-29 15:57:49 MSK
Ожидаемый результат:
В BUILD_ID сохраняется информация об изначальном брендинге.