Skip to content

Do not duplicate syslinux on the ISO root filesystem

The solution to #7345 (closed) duplicates syslinux, both inside the squashfs and on the image’s root fs. We could avoid that and use the in-squashfs syslinux binary without root privileges by employing stuff like fuseiso (in Debian), "squashfuse":https://github.com/vasi/squashfuse (not in Debian, but see [1] below), and fakechroot (in Debian) instead of a real chroot for running the syslinux binary. Or similar tools.

Beyond eliminating the duplication of syslinux, we’d get the “mechanism to run post-upgrade scripts” mentioned in #7345-note_4, which may come in handy in the future.

[1] As an alternative to squashfuse it should be easy to make a sudo-safe wrapper around mount -o loop -t squashfs ..., that checks that the destination folder is writeable by the $SUDO_USER.

Related issues

Original created by @anonym on 7422 (Redmine)

Edited by intrigeri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information