diff options
-rwxr-xr-x | draklive-install | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install index 9a54891..47ac665 100755 --- a/draklive-install +++ b/draklive-install @@ -248,7 +248,11 @@ sub complete_install { $live_user_desktop . '/draklive-copy-wizard.desktop', $live_user_desktop . '/draklive-install.desktop'), ); - system('chroot', $::prefix, 'rpm', '-e', 'draklive-install'); + { + #- do not allow update-menus to create home directory with invalid perms + local $ENV{HOME} = '/root'; + system('chroot', $::prefix, 'rpm', '-e', 'draklive-install'); + } #- copy sysconfig files for first boot cp_f(glob('/etc/draklive-install.d/sysconfig/*'), $::prefix . '/etc/sysconfig'); |