Commit 08de7149 authored by Michael Shigorin's avatar Michael Shigorin

added doc/apt.conf.sample

Unfortunately apt configuration is not straightforward at all regarding being overridden: one can't just provide sources.list but needs a corresponding apt.conf along with it, and that apt.conf must disable the SysV-style snippet directories to avoid interesting side effects of all the things getting overlaid. So it's not surprising that torabora has asked for an example... (thanks go to boyarsh@ since I asked him for an example long ago)
parent 895fae7d
// these must be unset to avoid picking up
// /etc/apt/{apt.conf.d,sources.list.d,}/
Dir::Etc::main "/dev/null";
Dir::Etc::parts "/var/empty";
Dir::Etc::SourceParts "/var/empty";
// this is what caused the whole trouble
Dir::Etc::sourcelist "/home/mike/apt/sources.list";
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- APTCONF - APTCONF
+ задаёт путь к требуемому apt.conf + задаёт путь к требуемому apt.conf
+ значение: пусто (по умолчанию системный) либо строка + значение: пусто (по умолчанию системный) либо строка
+ см. ../image.in/Makefile + см. ../image.in/Makefile, apt.conf.sample
- ARCH - ARCH
+ определяет целевую архитектуру образа + определяет целевую архитектуру образа
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment