Update the howto,md build in jobbot wiki page

Update the howto,md build in jobbot wiki page
This commit is contained in:
joborun linux 2024-05-16 00:59:22 +02:00
parent 608520dd5e
commit 7d2bfb732b

View file

@ -21,12 +21,25 @@ All of the source for joborun is in those repositories.
Shift into the name of the pkg you want to build.
You will notice various files, as usually the original PKGBUILD that "inspired" our PKGBUILD, if it came from arch it should be noted as PKGBUILD-arch and then PKGBUILD is our own version.
You will notice various files, as usually the original PKGBUILD that "inspired" our PKGBUILD, if it came from arch it should be noted as PKGBUILD-arch and then PKGBUILD is our own version, so you can compare. Generally the original will be from arch, or obarun PKGBUILD-oba, or AUR PKGBUILD-aur.
<pre>% cat note</pre>
if there is a note file there, it may have important information to consider before you build.
You can build any pkg in your running system but we recommend building it in a special chroot by exploding the current jobbot img found in sourceforge https://sourceforge.net/projects/joborun/files/images/
So from this point on the instructions are for using the special jobbot chroot, for any other setup adjust accordingly.
-----
example: <pre>
mount /dev/sdz99 /mnt
cd /mnt
sudo tar -xf jobbot.tar.xz ./
sudo arch-chroot /mnt su make
pkg -Suy
</pre>
-----
deps: Is a file listing all the additional dependencies needed to build the package "on top" of the 'jobbot' minimal chroot which must always be checked before a package is built.
@ -35,7 +48,7 @@ deps: Is a file listing all the additional dependencies needed to build the pac
diff -Nuar /src/Qsq /tmp/Qsq
</pre>
Note: on our images jobbot and joborun base tarball there should be a script named /usr/local/bin/ckchroot doing exactly this.
Note: on our image jobbot tarball there should be a script named /usr/local/bin/ckchroot doing exactly this.
If there is a difference of additionally installed packages it should
show in the + list.
@ -43,10 +56,22 @@ Note: on our images jobbot and joborun base tarball there should be a script nam
To install additional dependencies do:
<pre>% sudo pacman -S $(cat deps)</pre>
<pre>
% sudo pacman -Rnsu jobbot2
% sudo pacman -S $(cat deps)
</pre>
to restore the base chroot reverse this:
<pre>
% sudo pacman -Rnsu $(cat deps)
% sudo pacman -S jobbot2
</pre>
or make a shortcut such as depS = sudo pacman -S $(cat deps)
if you use zsh the jobbot make user has this shortcut in ~/.zshrc
key: if the source is signed, this is the GnuPgp key you need to import
Simply: sh key
@ -65,13 +90,6 @@ If this is a jobextra pkg, move it to /var/cache/jobextra
clean: Simply run sh clean and the directory will be left as it was when you entered it.
deps: Once again you should remove additional building dependencies when you are done by simply:
<pre>% sudo pacman -Rnsu $(cat deps)</pre>
or make a shortcut such as depR = sudo pacman -Rnsu $(cat deps)
Now repeat this for all the packages in the repo.
Summary
<pre>