[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:
parent
e93e40d417
commit
d2394aa2b9
@ -141,6 +141,7 @@ make_isolinux() {
|
||||
make_customize_root_image() {
|
||||
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
|
||||
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 440 ${work_dir}/root-image/etc/sudoers.d/g_wheel
|
||||
mkdir -p ${work_dir}/root-image/etc/pacman.d
|
||||
|
Loading…
Reference in New Issue
Block a user