diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-25 13:04:03 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:40 +0100 |
commit | 5fe8b202c38877eabffb08f9d508792484d85f04 (patch) | |
tree | e3e8ebeaebcf8e8719594987e26bb7d41290cbdb /helpers/lh_chroot_hacks | |
parent | fa8e9f9381214c465f4d73135d722ca0d5e9272d (diff) | |
download | vyos-live-build-5fe8b202c38877eabffb08f9d508792484d85f04.tar.gz vyos-live-build-5fe8b202c38877eabffb08f9d508792484d85f04.zip |
Since #433076 is fixed in live-initramfs, we only need to adjust owner of the live-user when using casper for etch builds.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 846a5c844..4ea2b8773 100755 --- a/helpers/lh_chroot_hacks +++ b/helpers/lh_chroot_hacks @@ -95,7 +95,7 @@ then ${LH_ROOT_COMMAND} chown -R --quiet $(whoami):$(whoami) chroot fi -if [ -d chroot/home/${LH_USERNAME} ] +if [ "${LH_INITRAMFS}" = "casper" ] && [ -d chroot/home/${LH_USERNAME} ] then chown -R --quiet 999:999 chroot/home/${LH_USERNAME} fi |