From 5fe8b202c38877eabffb08f9d508792484d85f04 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 25 Aug 2008 13:04:03 +0200 Subject: Since #433076 is fixed in live-initramfs, we only need to adjust owner of the live-user when using casper for etch builds. --- helpers/lh_chroot_hacks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks index 846a5c8..4ea2b87 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 -- cgit v1.0