core/README.md

31 lines
958 B
Markdown
Raw Normal View History

2022-10-25 11:47:18 +02:00
# openSUSE Factory Ring 0 in git
This project links all ring0 packages from gitea as submodules
How to use locally:
zypper in git-lfs git-core build
git clone gitea@gitea.opensuse.org:lnussel/ring0_submodules.git
cd ring0_submodules
git submodule init
git submodule update
2022-10-27 15:51:08 +02:00
# fetch config from Factory
./getconfig
2022-10-27 15:17:19 +02:00
# make sure to use some parallel jobs
pbuild --buildjobs=XXX --jobs=YYY --root=/space --buildtrigger=local --vm-memory=8192 --vm-disk-size=32768
2022-10-27 15:51:08 +02:00
# disable remote repo
./removerepo
# rebuild the whole thing only with local packages
pbuild --buildjobs=XXX --jobs=YYY --root=/space --buildtrigger=local --rebuild=all --vm-memory=8192 --vm-disk-size=32768
2022-10-27 15:46:56 +02:00
2022-10-27 15:51:08 +02:00
## how to add local changes to packages
2022-10-27 15:46:56 +02:00
to apply local changes to specific packages
2022-10-27 15:51:08 +02:00
2022-10-27 15:46:56 +02:00
- fork the package on gitea
- git submodule set-url foo ../foo.git
- cd foo; git checkout -b mine
- fix fix fix
- git push --set-upstream origin mine