Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #558 from marineam/baselayout
Browse files Browse the repository at this point in the history
prod_image_util: move pam.d contents, not the directory
  • Loading branch information
marineam authored Jun 13, 2016
2 parents a71d3af + 7ccb981 commit 8ce4a15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build_library/prod_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ L+ /etc/ld.so.conf - - - - ../usr/lib/ld.so.conf
EOF

# Move the PAM configuration into /usr
sudo mv ${root_fs_dir}/etc/pam.d ${root_fs_dir}/usr/lib
sudo mkdir -p ${root_fs_dir}/usr/lib/pam.d
sudo mv -n ${root_fs_dir}/etc/pam.d/* ${root_fs_dir}/usr/lib/pam.d/
sudo rmdir ${root_fs_dir}/etc/pam.d

finish_image "${image_name}" "${disk_layout}" "${root_fs_dir}" "${image_contents}"

Expand Down

0 comments on commit 8ce4a15

Please sign in to comment.