Choose location folder for Solbuild
Hi,
I would like to know if it's possible to choose the location for these different folder create and use by solbuild. Actually, the default location are :
- /var/lib/solbuild/*
- /var/cache/solbuild/*
Actually, all these folder are on my / partition but after installation, image's creation and update, the disk space on this partition is very very small. I would like to replace the default location and use a this location for example :
- /mnt/data/var/lib/solbuild/*
- /mnt/data/var/cache/solbuild/* ---> /mnt/data is my data partition which have 500Go disk space.
On Debian, it's possible to create a conf's file to choose the differents folder used by "pbuilder" (same functionnality than solbuild). -> http://wiki.tanglu.org/Setup_pBuilder_Develop_Environment
Thanks, Babaorhum
So what I've done on the build server is:
/var/lib/solbuild: symbolic link to /BUILD/lib/
/var/cache/solbuild: symbolic link to /BUILD/cache/
That works, but.. The sudo solbuild delete-cache -a command will destroy the directories right now (so the symlinks go too) - which I need to fix. Perhaps your approach would be better
This works great. I think the method should be mentioned in the README.