Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Settings
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mattia Rizzolo
Settings
Commits
69995cff
Commit
69995cff
authored
Jan 05, 2014
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
completely rewrite pbuilder scripts, making symlinks to a pbuilder-common file
parent
f11ea3ec
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
107 additions
and
888 deletions
+107
-888
pbuilder/scripts/pbuilder-common
pbuilder/scripts/pbuilder-common
+81
-0
pbuilder/scripts/pbuilder-experimental-amd64
pbuilder/scripts/pbuilder-experimental-amd64
+1
-39
pbuilder/scripts/pbuilder-experimental-amd64
pbuilder/scripts/pbuilder-experimental-amd64
+1
-39
pbuilder/scripts/pbuilder-experimental-i386
pbuilder/scripts/pbuilder-experimental-i386
+1
-0
pbuilder/scripts/pbuilder-precise-amd64
pbuilder/scripts/pbuilder-precise-amd64
+1
-34
pbuilder/scripts/pbuilder-precise-amd64
pbuilder/scripts/pbuilder-precise-amd64
+1
-34
pbuilder/scripts/pbuilder-precise-i386
pbuilder/scripts/pbuilder-precise-i386
+1
-34
pbuilder/scripts/pbuilder-precise-i386
pbuilder/scripts/pbuilder-precise-i386
+1
-34
pbuilder/scripts/pbuilder-raring-amd64
pbuilder/scripts/pbuilder-raring-amd64
+1
-34
pbuilder/scripts/pbuilder-raring-amd64
pbuilder/scripts/pbuilder-raring-amd64
+1
-34
pbuilder/scripts/pbuilder-raring-i386
pbuilder/scripts/pbuilder-raring-i386
+1
-34
pbuilder/scripts/pbuilder-raring-i386
pbuilder/scripts/pbuilder-raring-i386
+1
-34
pbuilder/scripts/pbuilder-saucy-amd64
pbuilder/scripts/pbuilder-saucy-amd64
+1
-34
pbuilder/scripts/pbuilder-saucy-amd64
pbuilder/scripts/pbuilder-saucy-amd64
+1
-34
pbuilder/scripts/pbuilder-saucy-i386
pbuilder/scripts/pbuilder-saucy-i386
+1
-34
pbuilder/scripts/pbuilder-saucy-i386
pbuilder/scripts/pbuilder-saucy-i386
+1
-34
pbuilder/scripts/pbuilder-sid-amd64
pbuilder/scripts/pbuilder-sid-amd64
+1
-43
pbuilder/scripts/pbuilder-sid-amd64
pbuilder/scripts/pbuilder-sid-amd64
+1
-43
pbuilder/scripts/pbuilder-sid-i386
pbuilder/scripts/pbuilder-sid-i386
+1
-39
pbuilder/scripts/pbuilder-sid-i386
pbuilder/scripts/pbuilder-sid-i386
+1
-39
pbuilder/scripts/pbuilder-testing-amd64
pbuilder/scripts/pbuilder-testing-amd64
+1
-34
pbuilder/scripts/pbuilder-testing-amd64
pbuilder/scripts/pbuilder-testing-amd64
+1
-34
pbuilder/scripts/pbuilder-testing-i386
pbuilder/scripts/pbuilder-testing-i386
+1
-0
pbuilder/scripts/pbuilder-trusty-amd64
pbuilder/scripts/pbuilder-trusty-amd64
+1
-34
pbuilder/scripts/pbuilder-trusty-amd64
pbuilder/scripts/pbuilder-trusty-amd64
+1
-34
pbuilder/scripts/pbuilder-trusty-armhf
pbuilder/scripts/pbuilder-trusty-armhf
+0
-34
pbuilder/scripts/pbuilder-trusty-i386
pbuilder/scripts/pbuilder-trusty-i386
+1
-34
pbuilder/scripts/pbuilder-trusty-i386
pbuilder/scripts/pbuilder-trusty-i386
+1
-34
No files found.
pbuilder/scripts/pbuilder-common
0 → 100755
View file @
69995cff
#!/bin/bash
debians
=(
squeezy wheezy jessie sid testing unstable experimental
)
ubuntus
=(
natty oneiric precise quantal raring saucy trusty
)
DIST
=
`
basename
$0
|
cut
-f2
-d
'-'
`
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
OPERATION
=
$1
BASE_DIR
=
"
$HOME
/pbuilder"
APTCACHE
=
"
$BASE_DIR
/cache/apt/
$DIST
-
$ARCH
"
type
()
{
contains
()
{
local
n
=
$#
local
value
=
${
!n
}
for
((
i
=
1
;
i <
$#;
i++
))
{
if
[
"
${
!i
}
"
==
"
${
value
}
"
]
;
then
return
0
fi
}
return
1
}
if
(
contains
"
${
debians
[@]
}
"
"
$DIST
"
)
;
then
TYPE
=
debian
else
if
(
contains
"
${
ubuntus
[@]
}
"
"
$DIST
"
)
;
then
TYPE
=
ubuntu
fi
fi
}
sett
()
{
case
$TYPE
in
debian
)
MIRROR
=
"http://http.debian.net/debian"
COMPONENTS
=
"main contrib"
OTHER
=
'--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"'
;;
ubuntu
)
MIRROR
=
"http://archive.ubuntu.com/ubuntu"
COMPONENTS
=
"main universe multiverse"
;;
esac
if
[
!
-d
$APTCACHE
]
;
then
mkdir
-p
$APTCACHE
fi
}
execute
()
{
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DIST
-
$ARCH
-base
.tgz
\
--distribution
$DIST
\
--components
"
$COMPONENTS
"
\
--aptcache
$APTCACHE
\
--buildresult
$BASE_DIR
/result/
$DIST
/
$ARCH
\
--mirror
$MIRROR
\
$OTHER
\
"
$@
"
}
case
$OPERATION
in
create|update|build|clean|login|execute
)
execute
;;
*
)
echo
"Invalid command."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
;;
esac
pbuilder/scripts/pbuilder-experimental-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DIST
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
APTCACHE
=
"
$BASE_DIR
/cache/apt/
$DIST
-
$ARCH
"
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
[
!
-d
$APTCACHE
]
;
then
mkdir
-p
$APTCACHE
fi
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DIST
-
$ARCH
-base
.tgz
\
--distribution
$DIST
\
--components
"main contrib"
\
--aptcache
$APTCACHE
\
--buildresult
$BASE_DIR
/result/
$DIST
/
$ARCH
\
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-experimental-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-experimental-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-precise-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-precise-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-precise-i386
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-precise-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-raring-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-raring-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-raring-i386
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-raring-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-saucy-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-saucy-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-saucy-i386
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-saucy-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-sid-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
MIRROR
=
"http://http.debian.net/debian"
#for debian
#MIRROR="http://archive.ubuntu.com/ubuntu" #for ubuntu
APTCACHE
=
"
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
"
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
[
!
-d
$APTCACHE
]
;
then
mkdir
-p
$APTCACHE
fi
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main contrib"
\
--aptcache
$APTCACHE
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
\
--mirror
$MIRROR
\
--debootstrapopts
"--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
\
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-sid-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-sid-i386
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
MIRROR
=
"http://http.debian.net/debian"
#for debian
#MIRROR="http://archive.ubuntu.com/ubuntu" #for ubuntu
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main contrib"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
\
--mirror
$MIRROR
\
--debootstrapopts
"--keyring=/usr/share/keyrings/debian-archive-keyring.gpg"
\
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-sid-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-testing-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main contrib"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-testing-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-testing-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-trusty-amd64
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-trusty-amd64
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
pbuilder/scripts/pbuilder-trusty-armhf
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-trusty-i386
deleted
100755 → 0
View file @
f11ea3ec
#!/bin/sh
# script from Jamin W. Collins BTS: #255165
# name this script 'pbuilder-woody', 'pbuilder-sid', 'pbuilder-sarge', 'pbuilder-experimental' etc.
OPERATION
=
$1
DISTRIBUTION
=
`
basename
$0
|
cut
-f2
-d
'-'
`
PROCEED
=
false
BASE_DIR
=
"
$HOME
/pbuilder"
ARCH
=
`
basename
$0
|
cut
-f3
-d
'-'
`
case
$OPERATION
in
create|update|build|clean|login|execute
)
PROCEED
=
true
;;
esac
if
(
$PROCEED
==
true
)
then
shift
sudo
pbuilder
$OPERATION
\
--architecture
$ARCH
\
--basetgz
$BASE_DIR
/
$DISTRIBUTION
-
$ARCH
-base
.tgz
\
--distribution
$DISTRIBUTION
\
--components
"main universe"
\
--aptcache
$BASE_DIR
/cache/apt/
$DISTRIBUTION
-
$ARCH
\
--buildresult
$BASE_DIR
/result/
$DISTRIBUTION
/
$ARCH
"
$@
"
else
echo
"Invalid command..."
echo
"Valid commands are:"
echo
" create"
echo
" update"
echo
" build"
echo
" clean"
echo
" login"
echo
" execute"
exit
1
fi
pbuilder/scripts/pbuilder-trusty-i386
0 → 120000
View file @
69995cff
pbuilder-common
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment