mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
Beginnings of the core-builder
This commit is contained in:
parent
0111f8460d
commit
cf08954d6f
3 changed files with 43 additions and 4 deletions
9
scripts/core-builder/README
Normal file
9
scripts/core-builder/README
Normal file
|
@ -0,0 +1,9 @@
|
|||
This is the Plugbox Linux Core repository rebuilder.
|
||||
|
||||
Included are our makepkg.conf and abs.conf.
|
||||
|
||||
It's assumed (for now) that /media/usb/builder/ is the working directory,
|
||||
and that /media/usb/builder/abs contains the ABS tree and
|
||||
/media/usb/builder/plugapps is a copy of the PlugApps Git repo.
|
||||
|
||||
-- Mike Staszel
|
31
scripts/core-builder/abs.conf
Normal file
31
scripts/core-builder/abs.conf
Normal file
|
@ -0,0 +1,31 @@
|
|||
#
|
||||
# /etc/abs.conf
|
||||
#
|
||||
|
||||
# the top-level directory of all your PKGBUILDs
|
||||
[ "$ABSROOT" = "" ] && ABSROOT="/media/usb/builder/abs/"
|
||||
|
||||
#
|
||||
# Server to sync from
|
||||
#
|
||||
SYNCSERVER="rsync.archlinux.org"
|
||||
|
||||
#
|
||||
# The architecture to fetch abs for
|
||||
# Either i686 or x86_64
|
||||
#
|
||||
ARCH="i686"
|
||||
|
||||
#
|
||||
# Pacman mirror list used for syncing via tarball
|
||||
#
|
||||
MIRRORLIST="/etc/pacman.d/mirrorlist"
|
||||
|
||||
#
|
||||
# REPOS to be parsed by abs (in this order)
|
||||
# (prefix a repo with a ! to disable it)
|
||||
#
|
||||
# Note: If a repo is removed, it is still fetched!
|
||||
# Repos must be preceded with a ! to prevent fetching
|
||||
#
|
||||
REPOS=(core extra community !core/bin86 !core/isdn4k-utils !core/kernel26 !core/kernel26-lts !core/lilo !community-testing !testing !gnome-unstable !xorg18)
|
|
@ -1,20 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Set me to where you want packages
|
||||
cd /media/usb/pkg/extra
|
||||
cd /media/usb/builder/pkg/core
|
||||
echo $1
|
||||
pacman -Ssq $1
|
||||
if [ $? = 0 ]
|
||||
then
|
||||
{
|
||||
echo $1 "already exists"
|
||||
echo $1 "already exists."
|
||||
}
|
||||
else
|
||||
{
|
||||
if [ ! -d ./$1 ]
|
||||
then
|
||||
{
|
||||
cp -r /var/abs/extra/$1 .
|
||||
cp -r /media/usb/builder/abs/core/$1 .
|
||||
# You might want to change me too
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue