Since #433076 is fixed in live-initramfs, we only need to adjust owner of the live-user when using casper for etch builds.

This commit is contained in:
Daniel Baumann 2008-08-25 13:04:03 +02:00
parent fa8e9f9381
commit 5fe8b202c3
1 changed files with 1 additions and 1 deletions

View File

@ -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