Commit 945c68b8 authored by Mattia Rizzolo's avatar Mattia Rizzolo

add armhf, armel support (hoping)

parent 13ca03d1
......@@ -9,6 +9,7 @@ OPERATION=$1
COMMAND=`echo $@|sed s/$OPERATION//`
BASE_DIR="$HOME/pbuilder"
APTCACHE="$BASE_DIR/cache/apt/$DIST-$ARCH"
OTHER=""
type() {
contains() {
......@@ -35,13 +36,21 @@ sett() {
debian)
MIRROR="http://http.debian.net/debian"
COMPONENTS="main contrib"
OTHER='--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"'
OTHER+='--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"'
;;
ubuntu)
MIRROR="http://archive.ubuntu.com/ubuntu"
COMPONENTS="main universe multiverse"
;;
esac
case $ARCH in
armhf|armel)
if [$TYPE -eq "ubuntu"] ; then
MIRROR="http://ports.ubuntu.com"
fi
OTHER+="--debootstrap qemu-debootstrap"
;;
esac
if [ ! -d $APTCACHE ] ; then
mkdir -p $APTCACHE
fi
......
pbuilder-common
\ No newline at end of file
pbuilder-common
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment