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
cc704a2b
Commit
cc704a2b
authored
Feb 25, 2014
by
Mattia Rizzolo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pbuilder script: make arm64 case different, and add the libselinux1 needing for arm64 stuff
parent
16aa2606
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
pbuilder/scripts/pbuilder-common
pbuilder/scripts/pbuilder-common
+13
-6
No files found.
pbuilder/scripts/pbuilder-common
View file @
cc704a2b
...
...
@@ -44,15 +44,22 @@ sett() {
;;
esac
case
$ARCH
in
armhf|armel|arm64
)
if
[
"
$ARCH
"
=
"arm64"
]
;
then
dpkg
-s
"qemu-system-arm"
>
/dev/null 2>&1
||
\
sudo
apt-get
install
qemu-system-arm
else
armhf|armel
)
dpkg
-s
"qemu-system-arm"
>
/dev/null 2>&1
||
\
dpkg
-s
"qemu-user-static"
>
/dev/null 2>&1
||
\
sudo
apt-get
install
qemu-user-static
if
[
"
$TYPE
"
=
"ubuntu"
]
;
then
MIRROR
=
"http://ports.ubuntu.com"
fi
OTHER+
=
"--debootstrap qemu-debootstrap"
;;
arm64
)
(
dpkg
--print-foreign-architecturs
|
grep
arm64
>
/dev/null 2>&1
&&
\
dpkg
-s
"libselinux1:arm64"
>
/dev/null 2>&1
)
||
\
echo
"Please enable arm64 foreign architeture in dpkg, and install
\
libselinux1:arm64."
&&
exit
1
dpkg
-s
"qemu-system-arm"
>
/dev/null 2>&1
||
\
sudo
apt-get
install
qemu-system-arm
if
[
"
$TYPE
"
=
"ubuntu"
]
;
then
MIRROR
=
"http://ports.ubuntu.com"
fi
...
...
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