[arch-releng] [PATCH] Copy default config files from /etc/skel to /root
Signed-off-by: Pierre Schmitz <pierre@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 -- 1.7.11.3
On 07/28/2012 07:14 AM, Pierre Schmitz wrote:
Signed-off-by: Pierre Schmitz <pierre@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
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@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
participants (2)
-
Gerardo Exequiel Pozzi
-
Pierre Schmitz