…gine find -name region.properties | xargs rm
…vailable This allows keeping the default at aufs, to work with kernels < 3.18, while automatically switching to overlay for 3.18 and above (which no longer support aufs, but have overlay). This commit intentionally does not regenerate the initrd, since these changes are only needed when upgrading the kernel (which will regenerate the initrd anyway).
Since kernel 3.18, Debian no longer includes aufs support in their kernels. Instead, the overlay filesystem is included in upstream kernels now and should be used instead. live-build already supported overlayfs, which was an external kernel patch before 3.18. In 3.18, overlayfs was merged into the mainline kernel and for compatibility reasons, it was renamed to "overlay". This commit backports overlay-related changes from live-boot 5.0~a4-1. In particular, it changes overlayfs to overlay in the relevant places and it adds a few mount options that are now required. This commit intentionally does not regenerate the initrd, since these changes are only needed when upgrading the kernel (which will regenerate the initrd anyway).
Before, the content of a number of directories was excluded, but the directories itself were not. This caused empty directories to be created by dpkg, which were not committed to git (due to being empty and ignored). When dpkg installs a package, it creates a .list file containing all files in the package, including the ones ignored. However, when dpkg creates a directory when installing a package, it will remove that directory from the .list files of all other packages (presumably since, if the directory wasn't present, it must be erronously listed in the .list files). This behaviour previously meant that, when installing a package containing ignored files, the .list files from other packages were sometimes also modified, leading to messy commits and history. Excluding the directories as well should prevent the "remove stuff from .list files" behaviour of dpkg being triggered, leading to cleaner history.
Letting dpkg install files and then leave them out of the commit causes issues. If you later install another package that has files inside an ignored directory, dpkg will modify .list files of unrelated packages, messing up history and increasing the chance of merge conflicts.
This function isn't used with regular Webconverger images, but allows upgrading of live hdd images without installing. Since the 486 kernel is no longer available, no bootloader menu option should be generated for it.
https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox/#firefox39 Tweaks from https://github.com/Webconverger/webconverger-addon to disable pocket and reader