Skip to content

godlike64/portage-overlayfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portage-overlayfs

Keep your portage tree in an OverlayFS/SquashFS

Purpose

The purpose of this is mainly to learn, and also to replay any scripts you might have currently using AUFS or similar filesystems. Since OverlayFS entered the Linux kernel tree, I think it's unlikely that AUFS will ever get in. Furthermore, OverlayFS is more powerful and actively developed.

Usage

Just dump both files in the according directories (/etc/init.d/overlay for the initscript, /etc/conf.d/overlay for the configuration file), edit the conf.d file accordingly and start the service.

Note: you must have valid images at the specified path and name for the script to work.

A script is provided under /scripts/ to convert your current trees into suitable squash images.

Credits

Original credits go to Mathias Laurin for the /etc/init.d/squashfs_portage script, which used a combination of AUFS + SquashFS.

About

Keep your portage tree in an OverlayFS/SquashFS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published