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

Re: [base-installer] [PATCH] Create DPKG_CONFDIR before putting files in it



Paul Wise <pabs@debian.org> (2014-02-25):
> ---
>  library.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/library.sh b/library.sh
> index e40b51c..a89d7db 100644
> --- a/library.sh
> +++ b/library.sh
> @@ -181,6 +181,8 @@ Acquire::https::Verify-Peer "false";
>  EOT
>  	fi
>  
> +	[ ! -d "$DPKG_CONFDIR" ] && mkdir -p "$DPKG_CONFDIR"
> +
>  	# Disable all syncing; it's unnecessary in an installation context,
>  	# and can slow things down quite a bit.
>  	# This file will be left in place until the end of the install.

Hmm, I guess this doesn't hurt; but from what I can see,
bootstrap-base.postinst calls that function after having installed the
base system, and dpkg ships this directory. Is that because of
live-installer.postinst, which calls install_live_system instead?

If that's the case, saying so in the commit message would be helpful
(and would save people some digging).

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: