SBo git master, sbopkg and sqg

I had a rather simple solution to use sbopkg with the most recent git from SBo. However, after reading this discussion, it seems there’s a more intelligent way to do it, nicely described by ponce. So, following the instructions, I created the file /etc/sbopkg/repos.d/70-slackbuilds.repo with the following content (one row):

slackbuilds master "Official master git branch from SlackBuilds.org" custom git git://slackbuilds.org/slackbuilds.git@master ""

After that I opened /etc/sbopkg/sbopkg.conf and edited these lines in the following section, commenting out the defaults:

# Other variables:
CLEANUP=${CLEANUP:-NO}
DEBUG_UPDATES=${DEBUG_UPDATES:-0}
KEEPLOG=${KEEPLOG:-YES}
MKDIR_PROMPT=${MKDIR_PROMPT:-YES}
NICE=${NICE:-10}
#REPO_BRANCH=${REPO_BRANCH:-14.0}
#REPO_NAME=${REPO_NAME:-SBo}
REPO_BRANCH=${REPO_BRANCH:-master}
REPO_NAME=${REPO_NAME:-slackbuilds}

I started sbopkg and went Utilities > Repository > slackbuilds (master). Then I wanted to generate build queues by sqg. I opened the script and modified this block of text, commenting out the default lines, just as above:

#QUEUEDIR=${QUEUEDIR:-/var/lib/sbopkg/queues}
REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg}
#REPO_NAME=${REPO_NAME:-SBo}
#REPO_BRANCH=${REPO_BRANCH:-14.0}
REPO_BRANCH=${REPO_BRANCH:-master}
REPO_NAME=${REPO_NAME:-slackbuilds}
#SKIP_EMPTY=${SKIP_EMPTY:-NO}

Then I just generated all the queues:

sqg -a

Thanks to Willy for pointing to ponce’s tip.



Leave a comment