mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-25 22:16:25 +00:00
Default to Fedora 21 as 22 no longer uses yum
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
b65c5374d4
commit
c28d2f446b
@ -587,7 +587,7 @@ Have a beer or a cup of coffee. This will take a bit (~300MB).
|
|||||||
# Right now, we are using Fedora 22 for the inial bootstrap.
|
# Right now, we are using Fedora 22 for the inial bootstrap.
|
||||||
# We could make this the "current" Fedora rev (F > 15).
|
# We could make this the "current" Fedora rev (F > 15).
|
||||||
|
|
||||||
rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/LiveOS .
|
rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/LiveOS .
|
||||||
|
|
||||||
if [[ 0 == $? ]]
|
if [[ 0 == $? ]]
|
||||||
then
|
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 this LiveOS image we're camped out on. This is the beginning
|
||||||
# of the butt ugly hack. Look close or you may missing it...
|
# of the butt ugly hack. Look close or you may missing it...
|
||||||
|
|
||||||
rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/r/rpm-[0-9]* \
|
rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/r/rpm-[0-9]* \
|
||||||
${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/y/yum-[0-9]* .
|
${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/y/yum-[0-9]* .
|
||||||
|
|
||||||
# And here it is...
|
# And here it is...
|
||||||
# The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
|
# 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"
|
echo "Stage 1 creation complete. Building stage 2 Installation Bootstrap"
|
||||||
|
|
||||||
mount -o bind ../bootstrap run/install
|
mount -o bind ../bootstrap run/install
|
||||||
rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/f/fedora-release-22* .
|
rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/f/fedora-release-22* .
|
||||||
|
|
||||||
# The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
|
# The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?!
|
||||||
chroot . rpm --root /run/install --nodeps -ivh fedora-release-*
|
chroot . rpm --root /run/install --nodeps -ivh fedora-release-*
|
||||||
|
Loading…
Reference in New Issue
Block a user