Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
d08c3aae
Unverified
Commit
d08c3aae
authored
Sep 03, 2013
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubuntu: iproute is now called iproute2
Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
Acked-by:
Serge E. Hallyn
<
serge.hallyn@ubuntu.com
>
parent
c66e9b01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lxc-ubuntu.in
templates/lxc-ubuntu.in
+7
-1
No files found.
templates/lxc-ubuntu.in
View file @
d08c3aae
...
...
@@ -577,8 +577,14 @@ post_process()
write_sourceslist
$rootfs
$hostarch
"multiarch"
# Finally update the lists and install upstart using the host architecture
HOST_PACKAGES
=
"upstart:
${
hostarch
}
mountall:
${
hostarch
}
isc-dhcp-client:
${
hostarch
}
"
chroot
$rootfs
apt-get update
chroot
$rootfs
apt-get
install
--force-yes
-y
--no-install-recommends
upstart:
${
hostarch
}
mountall:
${
hostarch
}
iproute:
${
hostarch
}
isc-dhcp-client:
${
hostarch
}
if
chroot
$rootfs
dpkg
-l
iproute2 |
grep
-q
^ii
;
then
HOST_PACKAGES
=
"
$HOST_PACKAGES
iproute2:
${
hostarch
}
"
else
HOST_PACKAGES
=
"
$HOST_PACKAGES
iproute:
${
hostarch
}
"
fi
chroot
$rootfs
apt-get
install
--force-yes
-y
--no-install-recommends
$HOST_PACKAGES
fi
# rmdir /dev/shm for containers that have /run/shm
...
...
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