[arch-releng] [PATCH] Copy default config files from /etc/skel to /root
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Sun Jul 29 13:58:17 EDT 2012
On 07/28/2012 07:14 AM, Pierre Schmitz wrote:
> Signed-off-by: Pierre Schmitz <pierre at archlinux.de>
> ---
> configs/releng/build.sh | 1 +
> 1 Datei geändert, 1 Zeile hinzugefügt(+)
>
> diff --git a/configs/releng/build.sh b/configs/releng/build.sh
> index f1b1693..b9109b0 100755
> --- a/configs/releng/build.sh
> +++ b/configs/releng/build.sh
> @@ -149,6 +149,7 @@ make_customize_root_image() {
> sed -i "s/#Server/Server/g" ${work_dir}/root-image/etc/pacman.d/mirrorlist
> patch ${work_dir}/root-image/usr/bin/pacman-key < ${script_path}/pacman-key-4.0.3_unattended-keyring-init.patch
> sed -i 's/#\(en_US\.UTF-8\)/\1/' ${work_dir}/root-image/etc/locale.gen
> + cp -a ${work_dir}/root-image/etc/skel/.[^\.]* ${work_dir}/root-image/root/
> mkarchiso ${verbose} -w "${work_dir}" -C "${pacman_conf}" -D "${install_dir}" \
> -r 'locale-gen' \
> run
or
cp -aT ${work_dir}/root-image/etc/skel/ ${work_dir}/root-image/root/
;)
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list