Skip to content

Release v1.1.0

Compare
Choose a tag to compare
@sakaki- sakaki- released this 11 Feb 19:30
· 46 commits to master since this release

Changes in this release:

  • Kernel upgraded to 4.14.97-v8-0448a1dbea0f-bis+. The bcm2835-unicam module has been included (but not loaded by default at boot).

  • Added a systemd path unit and triggered script (/usr/local/bin/reflect-apps), to watch for changes to /usr/share/applications within the container. When triggered, copies all .desktop files across to the host, prefixing their names to ensure they are unique, and also modifying their Exec= stanzas (with ds64-runner or ds64-shell -c, as appropriate) to allow direct invocation from a 32-bit context. Desktop files without Type=Application are ignored, and any prior desktop files at the target location in the host, which have NoDisplay=true set, will not be overwritten. Also copies contents of /usr/share/{icons,pixmaps} from the guest into the host (at /usr/share/gdm/{icons,pixmaps}), so (most) referenced icons will resolve, and reloads the (host's) main menu, so these changes are picked up.

    The net effect of this script is that when a new 64-bit application is installed in the guest, a menu entry to launch it (so it can play audio, display on the desktop etc.) should auto-magically get added to the host's main menu, complete with icon. Such items will also be automatically removed should the package subsequently be uninstalled. Please note that the script will wait for all apt-get, apt and dpkg processes to complete before making modifications.

  • Added a systemd path unit and triggered script (/usr/local/bin/reflect-passwd), to watch for changes to /etc/{passwd,shadow,group,gshadow) within the host. When triggered, reflects user data (including hashed passwords) in the 1000 <= uid < 1100 range into the container, ensuring that the primary group is also present. Removes clashing users or groups from the guest, and ensures that reflected users are members of groups cited in $USE_GROUP (see the script for details), iff such groups are present on the guest.

    The net effect of this script is that if you change password or create a new user on the host, it should auto-magically be carried over into the guest as well. No equivalent propagation of changes from guest to host is provided.

  • Made all members of the sudo group (in both host and guest) eligible for password-free invocation of all commands (not just the pi user).

  • Migrated 64-bit utility .desktop files from pi's ~/.local/share/applications directory, to /usr/local/share/applications, as they may now be used by other regular users, not just pi.

  • Mapped all of /home into the container, not just /home/pi.

  • Removed hardcoded 1000 uid and gid from /usr/local/bin/ds64-run and /usr/local/sbin/ds64-shell.

  • Allowed passing of parameters to ds64-shell (so it can be used to e.g. launch terminal-based 64-bit apps from the guest, such as htop etc.)

  • Various other minor clean-ups.

sha256sum of the (xz-compressed) image file: 555ace66eb82299fe358711c4c69e98bd1b641a99abd2e78ca69d66f53ce348b.