-
Notifications
You must be signed in to change notification settings - Fork 0
Repository management..
Just like the popular package managers.. nemesis-pkg also allows users to set/create your custom package repositories..
In order to add a repo:-
Open /etc/nemesis-pkg/config.py and look for an array known as REPOS
REPOS = [
["https://source-of-pkglist/repo-database.PKGLIST" # repository url,
"repo-database.PKGLIST" # file where database will be written ,
"repo-name" # name of your repository],
]this is the repository structure of adding repos.. in order to add a repo. define an array into REPOS and on the first value(url) enter the link to the database, second value(db file) is the file where the database will be written and the third value(repo name) will be the name of your repository
In order to disable a repository open /etc/nemesis-pkg/config.py and look for REPOS.. you can either delete the array or better you can comment it to disable it..
REPOS = [
# ["https://source-of-pkglist/repo-database.PKGLIST" , "repo-database.PKGLIST" # file where database will be written , "repo-name"], -- Disabled Repository
]Every repository on nemesis-pkg has its own structure and here is the sample structure of a repository:-
repo/
- pkg/
-- build
-- flist
-- patch.diff
- repo.PKGLIST
repo.PKGLIST is the database file in which the package and their versions are listed
If you do not know how to create a package then refer to "Creating/Maintaining your own package.."