Summary: | squashdelta portage sync module does not call squashmount | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Väth <martin> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Väth
2015-05-17 12:41:19 UTC
hmm, it was working for me once I made the correct fstab entry. But it was using the default location. Currently the plugin-sync system does not make it easy to add variables to the repos.config sections. That is still a task to refactor that code. At that point it will be easy for module types to add whatever data variables are required. Like the cache-dir for the dl'd squashfs images, delta's and gpg sigs. Another bug introduced by you forcing to move things around for no good reason while I didn't have time to do it. Patch on ml. (In reply to Brian Dolbec from comment #1) > hmm, it was working for me once I made the correct fstab entry. I had a presumably correct fstab entry (with /var/cache/portage being replaced by by the content of the symlink for the *.sqfs file). > Like the cache-dir for the dl'd squashfs images, delta's and gpg sigs. That would be great. Actually it would also be great if one could configure somehow a custom command instead of the automagic "mount". Then e.g. my "squashmount" utility could be used to mount the portage directory read-writable (via overlayfs/aufs/unionfs-fuse/...) which avoids all these problems with readonly PORTIDR (see e.g. bug 549630) and is also handy if you just "quickly" want to make some temporary changes (e.g. to fix a broken Manifest which occurs from time to time after syncing). I guess that such a possible interplay would be of interest to many users who currently use "squashmount" to mount PORTDIR read-writable: Since squashmount is a service started at init, there would be no need for a dedicated /etc/fstab entry, you can configure where to store the changes (e.g. in a temporary directory), you have a command to "kill" the local changes etc. It is not necessary to explicitly support "squashmount" for this: Just some configuration possibility to replace the mount commands by custom commands would be enough. I could then write detailed instructions into the documentation of squashmount as an example. This module is no longer part of the main portage package and code base. (In reply to Brian Dolbec from comment #4) > This module is no longer part of the main portage package and code base. It's a pity. The intention of my bug reports was not to cause its removal but its improvement. Maybe later I can provide some code; however, currently I am too busy with my job. |