V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -155,10 +155,29 @@ EOF
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [[ -f "${TARGET}/etc/apt/sources.list" ]]; then
|
||||
rm -f "${TARGET}/etc/apt/sources.list"
|
||||
fi
|
||||
|
||||
|
||||
insert_header "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
|
||||
insert_comments "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
|
||||
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/90-no-pdiffs"
|
||||
Acquire::PDiffs "false";
|
||||
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
|
||||
EOF
|
||||
|
||||
|
||||
insert_header "${TARGET}/etc/apt/apt.conf.d/91-acquire"
|
||||
insert_comments "${TARGET}/etc/apt/apt.conf.d/91-acquire"
|
||||
cat << 'EOF' >> "${TARGET}/etc/apt/apt.conf.d/91-acquire"
|
||||
Acquire::Retries "3";
|
||||
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf
|
||||
EOF
|
||||
|
||||
guard_dir && return 0
|
||||
}
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
Reference in New Issue
Block a user