flatcar-scripts/sdk_lib
Mike Frysinger 0c0fea7b4d enter_chroot: handle /var/lock->/run/lock symlinks
Newer Gentoo builds have moved to /run which means /var/lock is a symlink
to /run/lock.  But since that is an absolute symlink, it points outside of
the chroot which doesn't work for us.  Use a stable path unrelated to the
chroot instead, but only with newer chroots.

We no longer have to worry about backwards compat because the code that
used to rely on this lock file (running sync processes) was punted a long
time ago.

BUG=chromium:218085
TEST=`cbuildbot chromiumos-sdk` passes

Change-Id: I38c6848dfb86386849050d7ccf3f90cbbe8e0e81
Reviewed-on: https://gerrit.chromium.org/gerrit/46231
Reviewed-by: David James <davidjames@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
2013-07-14 10:45:10 -07:00
..
enter_chroot.sh enter_chroot: handle /var/lock->/run/lock symlinks 2013-07-14 10:45:10 -07:00
make_chroot.sh make_chroot: clobber existing /etc/mtab 2013-07-14 10:45:10 -07:00
make_conf_util.sh chore(sdk_lib): chromeos -> coreos renames 2013-02-16 11:45:51 -08:00