Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 426460 Details for
Bug 575570
app-emulation/lxc: lxc-create: Installation of gentoo template fails with 404
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
lxc-1.0.7-kf-gentoo-template.patch
lxc-1.0.7-kf-gentoo-template.patch (text/plain), 1.38 KB, created by
Kristian Fiskerstrand (RETIRED)
on 2016-02-24 17:28:22 UTC
(
hide
)
Description:
lxc-1.0.7-kf-gentoo-template.patch
Filename:
MIME Type:
Creator:
Kristian Fiskerstrand (RETIRED)
Created:
2016-02-24 17:28:22 UTC
Size:
1.38 KB
patch
obsolete
>From 950e94b0ad06eaca2227956559334c511e3064f2 Mon Sep 17 00:00:00 2001 >From: Kristian Fiskerstrand <kristian.fiskerstrand@sumptuouscapital.com> >Date: Wed, 24 Feb 2016 10:15:47 +0100 >Subject: [PATCH] templates/lxc-gentoo.in: Fix download issue due to updated > pointer > >templates/lxc-gentoo.in downloads a pointer to the latest >stage3 release, e.g >http://distfiles.gentoo.org/releases/amd64/autobuilds/latest-stage3-amd64.txt >that contains two fields, the path to the file itself and a timestamp. > >The timestamp is attempted to be included in the further downloading >automatically, resulting in 404 error. By splitting this properly >download works again >--- > templates/lxc-gentoo.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in >index d0df899..282522c 100644 >--- a/templates/lxc-gentoo.in >+++ b/templates/lxc-gentoo.in >@@ -160,7 +160,7 @@ cache_stage3() > printf "Determining path to latest Gentoo %s (%s) stage3 archive...\n" "${arch}" "${variant}" > printf " => downloading and processing %s\n" "${stage3_pointer}" > >- local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 ) \ >+ local stage3_latest_tarball=$(wget -q -O - "${stage3_pointer}" | tail -n1 | cut -d " " -f1) \ > || die 6 "Error: unable to fetch\n" > > printf " => Got: %s\n" "${stage3_latest_tarball}" >-- >2.4.10 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 575570
: 426460