comments
useradd:
- removed --home-dir, not required its the default when using --create-home anyway
- added --user-group for clearnet user creation;
Removed unnecessary "chown --recursive rawdog:rawdog /home/rawdog" from 30_adduser_rawdog.
removed obsolete comment
build-steps/30_copy-into-img: deleted line to delete swapfile, its handled, done in
whonix_shared/usr/share/whonix/postinst.d/70_create_swap_file anyway.
build-steps/30_copy-into-img:
Moved "rm "$CHROOT_FOLDER"/etc/motd || true" to whonix_shared/usr/share/whonix/chroot-scripts-pre.d/70_motd.
Renamed whonix_shared/usr/share/whonix/postinst.d/70_symlinks to whonix_shared/usr/share/whonix/postinst.d/70_dpkg_origins.
build-steps/30_copy-into-img: deletion of symlink moved to whonix_shared/usr/share/whonix/postinst.d/70_dpkg_origins
build-steps/30_copy-into-img:
no longer copy /etc/skel to /home/user, its already done in
whonix_shared/usr/share/whonix/postinst.d/30_adduser_user
build-steps/30_copy-into-img: moved setting code to set timezone to UTC to whonix_shared/usr/share/whonix/postinst.d/70_timezone
removed obsolete comment
build-steps/30_copy-into-img:
copying of skel is now done in postinst.d scripts by useradd
build-steps/30_copy-into-img:
Removed code for "Fix /home/clearnet permissions.",
no longer required, since skel gets copied in a postinst.d script by useradd.
build-steps/30_copy-into-img:
Copy Gateway - Code for "Fix /home/user permissions." removed,
sicne nothing gets copied in /home/user folder on gateway.