diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-18 11:29:04 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:06 +0200 |
commit | 04cec317cc4437eed514f4277f6779010e587662 (patch) | |
tree | 16e00a5358affa5a5b906f2c0d3f38d628ab0b2e /scripts/build/bootstrap_cache | |
parent | 3f3d05b2e654a4ec312cb121c991b8c010bf3db1 (diff) | |
download | vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.tar.gz vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.zip |
Removing incomplete support for root-command.
Diffstat (limited to 'scripts/build/bootstrap_cache')
-rwxr-xr-x | scripts/build/bootstrap_cache | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/build/bootstrap_cache b/scripts/build/bootstrap_cache index 7eae975fe..30e876d22 100755 --- a/scripts/build/bootstrap_cache +++ b/scripts/build/bootstrap_cache @@ -50,12 +50,7 @@ do rm -rf chroot # Restoring old cache - ${LB_ROOT_COMMAND} cp -a cache/bootstrap chroot - - if [ -n "${LB_ROOT_COMMAND}" ] - then - ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) chroot - fi + cp -a cache/bootstrap chroot # Creating stage file Create_stagefile .build/bootstrap_cache.restore @@ -81,12 +76,7 @@ do mkdir -p cache - ${LB_ROOT_COMMAND} cp -a chroot cache/bootstrap - - if [ -n "${LB_ROOT_COMMAND}" ] - then - ${LB_ROOT_COMMAND} chown -R $(whoami):$(whoami) cache/bootstrap - fi + cp -a chroot cache/bootstrap # Creating stage file Create_stagefile .build/bootstrap_cache.save |