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

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

    <bug>
          <bug_id>36952</bug_id>
          
          <creation_ts>2019-06-26 21:15:01 +0300</creation_ts>
          <short_desc>Научить отключать уже подключенные репозитории</short_desc>
          <delta_ts>2023-09-14 19:31:30 +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>installer-feature-online-repo</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</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>
          
          <blocked>33000</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>aen</cc>
    
    <cc>cas</cc>
    
    <cc>mike</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>182729</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2019-06-26 21:15:01 +0300</bug_when>
    <thetext>После того как скрипт /usr/share/install2/postinstall.d/99-online-repo.sh стал подключать яндексовские репозитории вместо альтовских, live-стартеркиты после установки имеют подключенные репозитории Яндекса и Альта.

Проблема имеет несколько решений, но мне, кажется, что правильным было бы научить скрипт отключать уже включенные репозитории.

А пока исправление в mkimage-profiles такое:

diff --git a/features.in/live/config.mk b/features.in/live/config.mk
index a1fbbc000..429489c1b 100644
--- a/features.in/live/config.mk
+++ b/features.in/live/config.mk
@@ -49,7 +49,6 @@ use/live/desktop: use/live/x11 use/x11/xorg use/x11/wacom \
 
 # preconfigure apt for both live and installed-from-live systems
 use/live/repo: use/live
-       @$(call add,LIVE_PACKAGES,installer-feature-online-repo)
        @$(call try,LIVE_REPO,http/alt)
        @$(call xport,LIVE_REPO)
 
Т.е. не добавлять этот пакет для лайвов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>233195</commentid>
    <comment_count>1</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2023-09-14 19:31:30 +0300</bug_when>
    <thetext>Ладно, как-то работает все эти годы.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>