search for: workdir

Displaying 20 results from an estimated 132 matches for "workdir".

2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...<dpierce at redhat.com> --- autotest.sh | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/autotest.sh b/autotest.sh index c9f8a2d..d658cf3 100755 --- a/autotest.sh +++ b/autotest.sh @@ -40,6 +40,7 @@ # an ISO file. ME=$(basename "$0") +WORKDIR=$(mktemp -d) warn() { printf '%s: %s\n' "$ME" "$*" >&2; } die() { warn "$*"; exit 1; } debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi } @@ -140,7 +141,7 @@ start_dnsmasq () { --dhcp-boot=tftpboot/pxeli...
2012 Jun 28
2
Strange du/df behaviour.
Hi all. I have currently a server: cat /etc/redhat-release CentOS release 5.7 (Final) uname -a Linux host.domain.com 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:45:44 EST 2012 x86_64 x86_64 x86_64 GNU/Linux I have there a filesystem mounted: /dev/vg0/paczki /home/paczki-workdir ext4 defaults,noatime 0 0 on which df gives strange output: LANG=C df -h /home/paczki-workdir;sleep 3;df -h /home/paczki-workdir Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-paczki 1008G 268G 690G 28% /home/paczki-workdir System plik...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...est fails +# critical = 0 +# } +# ---8<[end]--- +# +# This will, for each module whose autobuild.sh is run, to have a matching +# autotest.sh to run as well. +# +# To run these tests locally, you will need to open port 69 TCP and UDP and have +# an ISO file. + +ME=$(basename "$0") +WORKDIR=$(mktemp -d) +warn() { printf '%s: %s\n' "$ME" "$*" >&2; } +die() { warn "$*"; exit 1; } +debug() { if $debugging; then log "[DEBUG] %s" "$*"; fi } + +trap '__st=$?; cleanup_after_testing; exit $__st' 1 2 3 13 15 +trap 'c...
2015 Nov 05
1
synthesizing yum transactions
...owledge of what RPMs are currently installed, is there a way to invent a new transaction incorporating them, without reinstalling the RPMs in question? I feel I've come close, with this methodology, basically coercing yum to rebuild a database in a private directory: # installroot for yum workdir=/home/yum-hack rm -rf ${workdir} mkdir -p ${workdir} cd ${workdir} # list of newer RPMs (after transaction ID 1) new=new_rpms # dup repos and rpm/yum databases for tree in /var/lib/rpm/ /var/cache/yum/ /var/lib/yum/ /etc/yum.repos.d/; do echo ${tree} mkdir -p ./${tree}...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...46 +++++++++++++++++++++++++------------- 1 files changed, 30 insertions(+), 16 deletions(-) diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index d29bd12..81f017c 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -16,8 +16,10 @@ WORKDIR=$(mktemp -d) || exit 1 trap '__st=$?; rm -rf "$WORKDIR"; stop_log; exit $__st' 0 trap 'exit $?' 1 2 13 15 -CONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg" +IFCONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg" +NTPCONF_FILE_R...
2012 Dec 09
1
PCENGINE, Alix2D3, Release 5.2
...il.sh Fri Dec 7 01:37:56 2012 @@ -1,6 +1,6 @@ #!/bin/sh -export BUILDCONF=/mk-mini.conf +export MAKECONF=/mk-mini.conf cd /usr/src also: --- build-kernel.sh Wed May 30 11:35:38 2012 +++ /flashboot-master/build-kernel.sh Mon Dec 10 01:20:37 2012 @@ -43,7 +43,7 @@ cp -p ${CWD}/${WORKDIR}/dev-orig/MAKEDEV ${CWD}/${WORKDIR}/dev/MAKEDEV cd ${CWD}/${WORKDIR}/dev ./MAKEDEV all -cp -p ${CWD}/$1 ${CWD}/${WORKDIR}/ +#cp -p ${CWD}/$1 ${CWD}/${WORKDIR}/ cp -p ${CWD}/Makefile ${CWD}/${WORKDIR}/ cp -p ${CWD}/build-kernel-injail.sh ${CWD}/${WORKDIR}/ cp -p ${CWD}/list ${CWD}/${WORKDIR}/...
2008 Dec 10
2
[LLVMdev] Trouble Building llvm-gcc-4.2
I'm almost finished with the BuildBot validation config, but I'm having trouble convincing it to compiler llvm-gcc-4.2. Here's the relevant portion of the config: f.addStep(SVN(workdir="llvm-gcc-4.2/src", mode='clobber', baseURL='http://llvm.org/svn/llvm-project/llvm-gcc-4.2/', defaultBranch='trunk')) checking="" if optimized == "--disable-optimized": checking="--enable-checking" f.addStep(Configure(workd...
2017 Jun 20
2
trash can feature, crashed???
...) [0x7f30460bc46a] -->/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdaf2d) [0x7f30460bbf2d] -->/lib64/libglusterfs.so.0(runner_log+0x115) [0x7f3051532255] ) 0-management: Ran script: /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=intermediate01 -o features.trash=on --gd-workdir=/var/lib/glusterd [2017-06-16 16:08:14.453290] I [run.c:191:runner_log] (-->/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdb46a) [0x7f30460bc46a] -->/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdaf2d) [0x7f30460bbf2d] -->/lib64/libglusterfs.so.0(runner_log+0x115) [0x7f3...
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...${CONFIGURED_NIC}" ]]; then + printf "This will delete the current configuration for ${CONFIGURED_NIC}.\n" + read -ep "Continue? (y/N) " + case $REPLY in + N|n) printf "\nAborting...\n"; return;; + esac + fi + + rm -rf $WORKDIR/* + CONFIGURED_NIC=$NIC + local BRIDGE=br$NIC local IF_FILENAME="$WORKDIR/augtool-$NIC" local BR_FILENAME="$WORKDIR/augtool-$BRIDGE" @@ -69,7 +81,7 @@ function configure_interface BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWA...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...fi } -add_test "test_stateless_pxe_with_nohd" -test_stateless_pxe_with_nohd () { - local nodename="${vm_prefix}-stateless-pxe-nohd" +add_test "test_stateless_pxe" +test_stateless_pxe () { + local nodename="${vm_prefix}-stateless-pxe" local workdir=$(mktemp -d) start_networking $nodename $IFACE_NAME false true $workdir - configure_node "${nodename}" "network" "" "" "" "local noapic=true" - boot_with_pxe "${nodename}" "firstboot=no" "${workdir}&...
2017 Jun 20
0
trash can feature, crashed???
...> >/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdaf2d) [0x7f30460bbf2d] -- > >/lib64/libglusterfs.so.0(runner_log+0x115) [0x7f3051532255] ) 0-management: Ran script: > /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh --volname=intermediate01 -o features.trash=on > --gd-workdir=/var/lib/glusterd > [2017-06-16 16:08:14.453290] I [run.c:191:runner_log] ( > -->/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdb46a) [0x7f30460bc46a] -- > >/usr/lib64/glusterfs/3.10.1/xlator/mgmt/glusterd.so(+0xdaf2d) [0x7f30460bbf2d] -- > >/lib64/libglusterfs.so.0(ru...
2003 Nov 21
1
output files in a different directory
Yes it is. Example from my program: workdir <- "S:\\Stat\\C03202\\R-output\\" ... sink(file=paste(workdir, assayname, "-1.txt", sep="")) ... win.metafile(filename = paste(workdir, assayname, "-2%02d.wmf", sep="")) You get the idea! Kind regards, Jesper Frickmann Statistician, Quality C...
2009 Jul 07
1
Obsoletes previous patch
This patch obsoletes the previously submitted patch. It adds a warning message to the user when they select to change the NTP settings.
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
...esult}\n<emulator>${emulator}</emulator>" # inject the hard disk if defined if [ -n "$harddrive" ]; then debug "Adding a hard drive to the node" @@ -566,7 +564,7 @@ test_stateful_pxe () { start_networking $nodename $IFACE_NAME false true $workdir configure_node "${nodename}" "network" "" "10000" "" "local noapic=true" - boot_with_pxe "${nodename}" "standalone storage_init=/dev/vda local_boot ip=${ipaddress}" ${workdir} + boot_with_pxe "${nodena...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
On 12/26/2013 08:49 PM, Robin H. Johnson wrote: > > in the kernel dir: > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ You are overriding INSTALL_HDR_PATH... > in the klibc dir: > emake V=1 KLIBCKERNELSRC="${S}/linux/usr" (plus the rest of the opts) ... and then you point KLIBCKERNELSRC (which arguably is misnamed these days, but changing it would break other people) elsew...
2010 Oct 25
0
[PATCH node] add network.py script
...rk.py diff --git a/scripts/network.py b/scripts/network.py new file mode 100644 index 0000000..28e32f2 --- /dev/null +++ b/scripts/network.py @@ -0,0 +1,207 @@ +#!/usr/bin/python + +from ovirtfunctions import * +import tempfile +import sys + +class Network: + + def __init__(self): + self.WORKDIR=tempfile.mkdtemp() + self.IFCONFIG_FILE_ROOT="/files/etc/sysconfig/network-scripts/ifcfg" + self.NTPCONF_FILE_ROOT="/files/etc/ntp" + self.NTP_CONFIG_FILE="/etc/ntp.conf" + self.NTPSERVERS="" + self.CONFIGURED_NIC= "&qu...
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value --- scripts/network.py | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index f51ee7c..65b551c 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -165,11 +165,11 @@ class Network: ntpconf = ntpconf.split("\n") for line
2005 Dec 31
1
r: RODBC QUESTION
hello all i have a quick question. i have been using the RODBC library (trying to read Excel data into R but i am doing this by using Rexcel. this is probably not the correct forum - sorry for this). my code is shown below: Sub A() 'start the connection to R Call RInterface.StartRServer RInterface.RRun "library(RODBC)" RInterface.RRun "A =
2008 Dec 10
0
[LLVMdev] Trouble Building llvm-gcc-4.2
On 2008-12-10 19:54, David Greene wrote: > I'm almost finished with the BuildBot validation config, but I'm having > trouble convincing it to compiler llvm-gcc-4.2. > > Here's the relevant portion of the config: > > f.addStep(SVN(workdir="llvm-gcc-4.2/src", mode='clobber', > baseURL='http://llvm.org/svn/llvm-project/llvm-gcc-4.2/', > defaultBranch='trunk')) > checking="" > if optimized == "--disable-optimized": > checking="--enable-checking" &g...