Skip to content
Snippets Groups Projects
  • Sjoerd Simons's avatar
    a7e7e101
    Don't create user homedir in the image build · a7e7e101
    Sjoerd Simons authored
    
    Depending on how Apertis images are deployed (e.g. ostree, lxc or
    debian) at first boot there may or may not be a home directory for the
    user anymore. To make things more consistent simply never create the
    users home directory at image build time, which means in all image types
    the users homedirectory should be created at first boot.
    
    As a bonus this avoids the ostree commits containing a homedir which
    will get mounted over.
    
    Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
    a7e7e101
    History
    Don't create user homedir in the image build
    Sjoerd Simons authored
    
    Depending on how Apertis images are deployed (e.g. ostree, lxc or
    debian) at first boot there may or may not be a home directory for the
    user anymore. To make things more consistent simply never create the
    users home directory at image build time, which means in all image types
    the users homedirectory should be created at first boot.
    
    As a bonus this avoids the ostree commits containing a homedir which
    will get mounted over.
    
    Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
setup_user.sh 481 B