summaryrefslogtreecommitdiffstats
path: root/support/dependencies/check-host-tar.sh
diff options
context:
space:
mode:
authorJens Maus <mail@jens-maus.de>2017-06-12 15:35:54 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-24 17:49:48 +0200
commit82f64203a8f017d50b754323194694374f92add5 (patch)
tree53004f545d34bba015429f4dcf3b64b89c21f78c /support/dependencies/check-host-tar.sh
parentcb3945103837259863b1863b57f9a8c9ed74e89d (diff)
downloadbuildroot-82f64203a8f017d50b754323194694374f92add5.tar.gz
buildroot-82f64203a8f017d50b754323194694374f92add5.zip
support/scripts: allow /etc/shadow to be symlinked
This commit fixes a problem where it was not possible to replace /etc/shadow with a symlink to a e.g. a user partition where the shadow file is placed. This is required, e.g. for systems where the rootfs is mounted read-only but users should still be able to be added. Thus, if within an filesystem overlay setup a user tries to replace /etc/shadow with a symlink to the real file on a user partition a buildroot build stops with an error message because sed is called on the symlink instead of following the symlink. This commit fixes this shortcoming. Signed-off-by: Jens Maus <mail@jens-maus.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'support/dependencies/check-host-tar.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud