[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#348509: add support for local archives




Ok, silence is good, right? =)

Here are the patches for templates and documentation:

--- preseed.xml 2006-01-17 13:04:29.786028000 +0200
+++ preseed.xml.copy    2006-01-23 10:38:37.546467000 +0200
@@ -666,7 +666,7 @@

Setup of the <filename>/etc/apt/sources.list</filename> and basic configuration options is fully automated based on your installation method and answers to -earlier questions. Only the three variables below are relevant for preseeding.
+earlier questions. You can also add other repositories.

 </para>

@@ -676,7 +676,12 @@
 #d-i apt-setup/contrib boolean true
 # To avoid adding security sources, or to use a different server
 # than security.debian.org.
-#d-i apt-setup/security_host string
+#d-i apt-setup/security_host string
+# Additional repositories, local[0-9] available
+#d-i apt-setup/local0/comment  string  local server
+#d-i apt-setup/local0/repository string deb http://local.server/debian stable main
+# URL to the public key of the repository
+#d-i apt-setup/local0/key      string  http://local.server/key
 </screen></informalexample>

   </sect2>

--- apt-mirror-setup.templates.orig 2006-01-17 14:13:33.531371000 +0200
+++ apt-mirror-setup.templates  2006-01-23 10:30:44.587941000 +0200
@@ -35,3 +35,123 @@
network, or with the mirror. You can choose to retry the download, select
  a different mirror, or ignore the problem and continue without all the
  packages from this mirror.
+
+Template: apt-setup/local0/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local1/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local2/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local3/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local4/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local5/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local6/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local7/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local8/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local9/comment
+Type: string
+Description: Comment for local repository.
+
+Template: apt-setup/local0/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local1/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local2/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local3/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local4/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local5/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local6/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local7/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local8/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local9/repository
+Type: string
+Description: Local repository to be added in sources.list.
+
+Template: apt-setup/local0/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local1/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local2/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local3/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local4/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local5/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local6/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local7/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local8/key
+Type: string
+Description: Optional public key for the repository.
+
+Template: apt-setup/local9/key
+Type: string
+Description: Optional public key for the repository.



Reply to: