Always keep in-sync with upstream.
>multilib next to the packages won’t work with BuildISO.
BuildISO can detect these packages from different repositories just fine without
>multilib added next to the packages in the list.
You can use github for an online repo.
In your iso-profiles folder add a file
In that file
[mgame] Server = https://github.com/mgame/repo/blob/$branch/$repo/$arch
This will be added at build time to your pacman.conf
As per manjaro-tools/iso-profiles/README.md
* buildiso can be configured to use custom repos.
- create a user-repos.conf
Add only your repos to user-repos.conf!
So I have done it this way, not an online repo but a local repo:
Server = file:///usr/share/repo
It doesn’t work:
==> ERROR: Using local repositories is not supported!
Why not? All you need do is put those packages in the repo, pacman will find them.
Agreed, a local repo is less than ideal but for one’s own purposes (not something to distributed) this works well.
So unless I’ve somehow done it incorrectly, perhaps the README.md needs clarification that local repos are not allowed.
Tried also adding a local repo to
It failed in a different way but doesn’t work never the less.
For avoiding unreproducible ISO and out of repository packages
Another user succeded with faking a repository some days ago, see here Building custom iso with AUR
So much for avoiding unreproducible ISO’s! Since it does work in multilib.conf (and probably default.conf too - I likely goofed it up). The only thing gained by strictly forbidding local repos in user-repos.conf is then forcing $USER to sudo either of the afore-mentioned files. No big deal …
An update to README.md would be welcomed.
The README.md has been updated to reflect the fail if the user repo is file based.
For one’s own purpose
For one’s own purpose is the keywords here. You cannot distribute such an iso to a wider audience but you know that already.
There is an approach you can use when you build your own ISO.
buildiso -x -p <profile> will build the images but not the ISO.
Then open the build folder as root
and create a folder
opt. Copy your repo inside
opt/user-repo/ with your repo database and packages.
etc folder of your
desktopfs, edit the
pacman.conf and add your repo pointing to
Make sure you add it as the last lines of
When you are done - create the ISO with the
buildiso -zc -p <profile> arguments.
Depending on the size of your repo - your ISO will grow in size too.
We of the core team, however, discourage the non-use of external repositories because we do not want to be questioned on the forum because manjaro does not start or because certain programs do not work … If you build an ISO and redistribute you must be responsible for what is inside and this the reason behind the custom online repository
Important: Only online repos is allowed in the user-repos.conf. Buildiso will fail on file-based repos.
Thank you sir!
Although I would have said " buildiso will give you the finger if you try it!"
==> ERROR: Using local repositories is not supported! Piss off!
And, thank you for the bonus ideas on file:///opt/user-repo. also.