[arch-releng] [PATCH] Copy default config files from /etc/skel to /root
Pierre Schmitz
pierre at archlinux.de
Mon Jul 30 06:16:36 EDT 2012
Am 29.07.2012 19:58, schrieb Gerardo Exequiel Pozzi:
> 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/
>
> ;)
Also looks fine. ;)
--
Pierre Schmitz, https://pierre-schmitz.com
More information about the arch-releng
mailing list