mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-20 21:31:35 +00:00
Use eatmydata by default
Since only the dpkg is wrapped in eatmydata it should be the safe and fast default. Eatmydata is widely used around apt thus it should be a serious bug if a package can't be installed with eatmydata in use.
This commit is contained in:
parent
a5ee35c812
commit
f97b19554f
13
mk-sbuild
13
mk-sbuild
@ -62,7 +62,8 @@ function usage()
|
|||||||
echo " --debootstrap-keyring=KEYRING"
|
echo " --debootstrap-keyring=KEYRING"
|
||||||
echo " Use KEYRING to check signatures of retrieved Release files"
|
echo " Use KEYRING to check signatures of retrieved Release files"
|
||||||
echo " --debootstrap-no-check-gpg Disables checking gpg signatures of retrieved Release files"
|
echo " --debootstrap-no-check-gpg Disables checking gpg signatures of retrieved Release files"
|
||||||
echo " --eatmydata Install and use eatmydata"
|
echo " --skip-eatmydata Don't install and use eatmydata"
|
||||||
|
echo " --eatmydata Install and use eatmydata (default)"
|
||||||
echo " --distro=DISTRO Install specific distro:"
|
echo " --distro=DISTRO Install specific distro:"
|
||||||
echo " 'ubuntu' or 'debian' "
|
echo " 'ubuntu' or 'debian' "
|
||||||
echo " (defaults to determining from release name)"
|
echo " (defaults to determining from release name)"
|
||||||
@ -89,7 +90,7 @@ function usage()
|
|||||||
echo " DEBOOTSTRAP_PROXY Apt proxy (same as --debootstrap-proxy)"
|
echo " DEBOOTSTRAP_PROXY Apt proxy (same as --debootstrap-proxy)"
|
||||||
echo " DEBOOTSTRAP_KEYRING GPG keyring (same as --debootstrap-keyring)"
|
echo " DEBOOTSTRAP_KEYRING GPG keyring (same as --debootstrap-keyring)"
|
||||||
echo " DEBOOTSTRAP_NO_CHECK_GPG Disable GPG verification (same as --debootstrap-no-check-gpg)"
|
echo " DEBOOTSTRAP_NO_CHECK_GPG Disable GPG verification (same as --debootstrap-no-check-gpg)"
|
||||||
echo " EATMYDATA Enable --eatmydata"
|
echo " EATMYDATA Enable or disable eatmydata usage, see --eatmydata and --skip-eatmydata"
|
||||||
echo " TEMPLATE_SOURCES A template for sources.list"
|
echo " TEMPLATE_SOURCES A template for sources.list"
|
||||||
echo " TEMPLATE_SCHROOTCONF A template for schroot.conf stanza"
|
echo " TEMPLATE_SCHROOTCONF A template for schroot.conf stanza"
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
@ -102,7 +103,7 @@ function usage()
|
|||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
OPTS=`getopt -o 'h' --long "help,debug,skip-updates,skip-security,skip-proposed,eatmydata,arch:,name:,source-template:,debootstrap-mirror:,debootstrap-include:,debootstrap-exclude:,debootstrap-opts:,debootstrap-proxy:,debootstrap-no-check-gpg,debootstrap-keyring:,personality:,distro:,vg:,type:,target:" -- "$@"`
|
OPTS=`getopt -o 'h' --long "help,debug,skip-updates,skip-security,skip-proposed,skip-eatmydata,arch:,name:,source-template:,debootstrap-mirror:,debootstrap-include:,debootstrap-exclude:,debootstrap-opts:,debootstrap-proxy:,debootstrap-no-check-gpg,debootstrap-keyring:,personality:,distro:,vg:,type:,target:" -- "$@"`
|
||||||
eval set -- "$OPTS"
|
eval set -- "$OPTS"
|
||||||
|
|
||||||
VG=""
|
VG=""
|
||||||
@ -110,7 +111,7 @@ DISTRO=""
|
|||||||
name=""
|
name=""
|
||||||
proxy="_unset_"
|
proxy="_unset_"
|
||||||
DEBOOTSTRAP_NO_CHECK_GPG=0
|
DEBOOTSTRAP_NO_CHECK_GPG=0
|
||||||
EATMYDATA=0
|
EATMYDATA=1
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -186,8 +187,8 @@ while :; do
|
|||||||
DEBOOTSTRAP_NO_CHECK_GPG=1
|
DEBOOTSTRAP_NO_CHECK_GPG=1
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--eatmydata)
|
--skip-eatmydata)
|
||||||
EATMYDATA=1
|
EATMYDATA=0
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--distro)
|
--distro)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user