[configs/releng] Copy default config files from /etc/skel to /root

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-07-31 19:52:09 -03:00
parent e93e40d417
commit d2394aa2b9

View File

@ -141,6 +141,7 @@ make_isolinux() {
make_customize_root_image() { make_customize_root_image() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
cp -af ${script_path}/root-image ${work_dir} cp -af ${script_path}/root-image ${work_dir}
cp -aT ${work_dir}/root-image/etc/skel/ ${work_dir}/root-image/root/
chmod 750 ${work_dir}/root-image/etc/sudoers.d chmod 750 ${work_dir}/root-image/etc/sudoers.d
chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel chmod 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
mkdir -p ${work_dir}/root-image/etc/pacman.d mkdir -p ${work_dir}/root-image/etc/pacman.d