Displaying 11 results from an estimated 11 matches for "reposdir".
2017 Nov 29
1
[PATCH] builder: use the template arch when caching all templates
...copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+set -e
+
+$TEST_FUNCTIONS
+skip_if_skipped
+
+tmpdir="$(mktemp -d)"
+echo "tmpdir= $tmpdir"
+reposdir="$tmpdir/virt-builder/repos.d"
+repodir="$tmpdir/repo"
+indexfile="$repodir/index"
+cachedir="$tmpdir/cache"
+
+mkdir -p "$reposdir"
+mkdir -p "$repodir"
+
+# Create some fake images.
+img1_path="$repodir/img1.raw"
+img1_size=104...
2013 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
This is an attempt to handle a different --reposd-dir in the zypp_rpm
driver. Up to now the system repositories in /etc/zypp/repos.d were
used.
To specify a different set of repositories for zypp a parser for a
simple zypper.conf is added in this patch. It just looks for reposdir=
in section main, like this:
[main]
reposdir=/path/to/other/repofiles
If the config file provided via "--packager-config my_zypp.conf" is
valid the other directory is passed to zypper, otherwise the system
repos.d is used like its done in current code.
Depending on the kind of provid...
2012 Jan 23
4
Another Discovered/Undocumented feature of yumrepo - and a workaround
...re-ran my catalog.
To my surprise, the repo entried were appended to /etc/yum.conf
Long story short:
I needed to add
file { ''/etc/yum.repos.d'': ensure => directory, }
-- require => File["/etc/yum.repos.d"] -- was added to eack yumrepo resource
AND "reposdir=/etc/yum/repos.d" explicitly set in /etc/yum.conf
to get what I wanted.
“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
--
You received this message because you are sub...
2015 Sep 07
2
How to setup own i686 buildenv for CentOS7
Hi, Nux!
Can you re-paste this cfg? The url is outdated.
- robin
On Tue, Dec 30, 2014 at 2:30 AM, Nux! <nux at li.nux.ro> wrote:
> Hi,
>
> Here's how my epel-7-i386.cfg mock file looks like:
> http://fpaste.org/164110/19877702/raw/
>
> Do note the 32bit packages are unofficial and unsupported. RedHat does not
> support 32bit in EL7.
>
> HTH
> Lucian
>
2013 May 31
3
Re: [PATCH] Change fallback name for external supermin helper
On Fri, May 31, Richard W.M. Jones wrote:
> On Fri, May 31, 2013 at 10:41:47AM +0200, Olaf Hering wrote:
> > Use basename of external helper instead of 'no' for external supermin
> > helpers. This gives a clear error messages what binary is actually
> > missing, and it is now possible to install the missing package without
> > recompiling libguestfs. In addition
2007 Nov 30
8
centos4.5(domU) on etch(dom0)
Hi,
I''d like to know how to install centos (4.5 in my case) to run as a
domU on a dom0 running etch.
Any tips please?
Thanks.
Chris.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2015 Sep 07
0
How to setup own i686 buildenv for CentOS7
...vendor'] = 'Your Name Here'
config_opts['macros']['%packager'] = 'username at example.org'
config_opts['macros']['%debug_package'] = '%{nil}'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[base]
name=BaseOS
baseurl=http://buildlogs.centos.org/centos/7/os/i386/
failovermethod=priority
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-CentOS-7
gpgcheck=1
[updates]
name=upd...
2015 Feb 18
1
debuginfo versioning tools?
...hes'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'el6' # only useful for --resultdir variable subst
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[base]
name=BaseOS
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
failovermethod=priority
exclude=http*
[updates]
name=updates
enable...
2011 Apr 09
4
5.6 - SRPM's
Hi
Is there any ETA for the SRPM's from the base tree of 5.6? I need to
get my hands on the src for the centos-release package as i have to
rebuilt it to prevent the repo definitions from being included.
I see the src's for the updates RPM's but not the base.
many thanks
2010 May 19
2
Created a custom/minimal CentOS 5.x install ISO
Hi all,
I'd like to try rolling a somewhat stripped down and customized
CentOS DVD. This is particularly interesting to me now that CentOS 5.5
is 2 DVDs. I dare not call it a new distro as I suspect I will be the
only one to use it. ;)
I've been googling for ways to do this, figuring it must be somewhat
straight forward, but my google-fu is weak it seems. Can someone point
me
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...reate a temporary directory for use by all the functions in this file. *)
-let tmpdir = tmpdir ()
-
-let get_repos_dir () =
- let zypper_default = "/etc/zypp/repos.d" in
- let parse_repos_dir path =
- let cfg = new inifile path in
- let dir = (try cfg#getval "main" "reposdir" with _ -> zypper_default) in
- dir
- in
- let dir = (match packager_config with None -> zypper_default |
- Some filename -> (try parse_repos_dir filename with _ -> zypper_default) ) in
- dir
-
-let repos_dir = get_repos_dir ()
-
-let zypp_rpm_detect () =
- (file_exists...