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
2873cc4c
Commit
2873cc4c
authored
Jul 18, 2015
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fedora 20 no longer exists on the mirrors
Switch to Fedora 22 for now. Signed-off-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
ad6e5f6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
lxc-fedora.in
templates/lxc-fedora.in
+8
-8
No files found.
templates/lxc-fedora.in
View file @
2873cc4c
...
...
@@ -433,7 +433,7 @@ configure_fedora_systemd()
# and then used to build other arbitrary vesions of Fedora of a
# given architecture. Note that this only has to run once for
# Fedora on a given architecture since rpm and yum can build other
# versions. We'll arbitrarily pick Fedora 2
0
to build this. This
# versions. We'll arbitrarily pick Fedora 2
2
to build this. This
# will need to change as time goes on.
# Programmers Note... A future fall back may be to download the netinst
...
...
@@ -584,10 +584,10 @@ Have a beer or a cup of coffee. This will take a bit (~300MB).
"
sleep
3
# let him read it...
# Right now, we are using Fedora 2
0
for the inial bootstrap.
# Right now, we are using Fedora 2
2
for the inial bootstrap.
# We could make this the "current" Fedora rev (F > 15).
rsync
-av
${
mirrorurl
}
/releases/2
0
/Fedora/
$basearch
/os/LiveOS
.
rsync
-av
${
mirrorurl
}
/releases/2
2
/Fedora/
$basearch
/os/LiveOS
.
if
[[
0
==
$?
]]
then
...
...
@@ -664,8 +664,8 @@ This will take a couple of minutes. Patience..."
# of this LiveOS image we're camped out on. This is the beginning
# of the butt ugly hack. Look close or you may missing it...
rsync
-av
${
mirrorurl
}
/releases/2
0
/Fedora/
$basearch
/os/Packages/r/rpm-[0-9]
*
\
${
mirrorurl
}
/releases/2
0
/Fedora/
$basearch
/os/Packages/y/yum-[0-9]
*
.
rsync
-av
${
mirrorurl
}
/releases/2
2
/Fedora/
$basearch
/os/Packages/r/rpm-[0-9]
*
\
${
mirrorurl
}
/releases/2
2
/Fedora/
$basearch
/os/Packages/y/yum-[0-9]
*
.
# And here it is...
# The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
...
...
@@ -697,7 +697,7 @@ This will take a couple of minutes. Patience..."
echo
"Stage 1 creation complete. Building stage 2 Installation Bootstrap"
mount
-o
bind
../bootstrap run/install
rsync
-av
${
mirrorurl
}
/releases/2
0/Fedora/
$basearch
/os/Packages/f/fedora-release-20
*
.
rsync
-av
${
mirrorurl
}
/releases/2
2/Fedora/
$basearch
/os/Packages/f/fedora-release-22
*
.
# The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
chroot
.
rpm
--root
/run/install
--nodeps
-ivh
fedora-release-
*
...
...
@@ -1350,8 +1350,8 @@ if [ -z "$release" ]; then
if
[
"
$is_fedora
"
-a
"
$fedora_host_ver
"
]
;
then
release
=
$fedora_host_ver
else
echo
"This is not a fedora host and release missing, defaulting to 2
0
use -R|--release to specify release"
release
=
2
0
echo
"This is not a fedora host and release missing, defaulting to 2
2
use -R|--release to specify release"
release
=
2
2
fi
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