Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose location folder for Solbuild #5

Open
Kzimir opened this issue Feb 25, 2017 · 2 comments
Open

Choose location folder for Solbuild #5

Kzimir opened this issue Feb 25, 2017 · 2 comments

Comments

@Kzimir
Copy link

Kzimir commented Feb 25, 2017

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

@ikeydoherty
Copy link
Member

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

@janbaudisch
Copy link

This works great. I think the method should be mentioned in the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants