git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
copy just the 2 core repos into container when bootstrapping a container fs
[build.git]
/
lbuild-initvm.sh
diff --git
a/lbuild-initvm.sh
b/lbuild-initvm.sh
index
08eb1b4
..
da0ef1c
100755
(executable)
--- a/
lbuild-initvm.sh
+++ b/
lbuild-initvm.sh
@@
-179,7
+179,7
@@
function fedora_download() {
# copy yum config and repo files
cp /etc/yum.conf $INSTALL_ROOT/etc/
# copy yum config and repo files
cp /etc/yum.conf $INSTALL_ROOT/etc/
- cp /etc/yum.repos.d/fedora
*
$INSTALL_ROOT/etc/yum.repos.d/
+ cp /etc/yum.repos.d/fedora
{,-updates}.repo
$INSTALL_ROOT/etc/yum.repos.d/
# append fedora repo files with desired ${fedora_release} and $basearch
for f in $INSTALL_ROOT/etc/yum.repos.d/* ; do
# append fedora repo files with desired ${fedora_release} and $basearch
for f in $INSTALL_ROOT/etc/yum.repos.d/* ; do
@@
-192,7
+192,7
@@
function fedora_download() {
RELEASE_URLS=""
local subindex
for subindex in 3 2 1; do
RELEASE_URLS=""
local subindex
for subindex in 3 2 1; do
- RELEASE_URLS="$RELEASE_URLS $MIRROR_URL/Packages/f/fedora-release-${fedora_release}-
1
.noarch.rpm"
+ RELEASE_URLS="$RELEASE_URLS $MIRROR_URL/Packages/f/fedora-release-${fedora_release}-
${subindex}
.noarch.rpm"
done
RELEASE_TARGET=$INSTALL_ROOT/fedora-release-${fedora_release}.noarch.rpm
done
RELEASE_TARGET=$INSTALL_ROOT/fedora-release-${fedora_release}.noarch.rpm