diff --git a/docs/html/.doctrees/environment.pickle b/docs/html/.doctrees/environment.pickle index e14fcef7..004c3d11 100644 Binary files a/docs/html/.doctrees/environment.pickle and b/docs/html/.doctrees/environment.pickle differ diff --git a/docs/html/.doctrees/modules.doctree b/docs/html/.doctrees/modules.doctree index 094fe54a..0ae4354d 100644 Binary files a/docs/html/.doctrees/modules.doctree and b/docs/html/.doctrees/modules.doctree differ diff --git a/docs/html/.doctrees/pylorax.doctree b/docs/html/.doctrees/pylorax.doctree index 707dd925..b02ed717 100644 Binary files a/docs/html/.doctrees/pylorax.doctree and b/docs/html/.doctrees/pylorax.doctree differ diff --git a/docs/html/_modules/pylorax/executils.html b/docs/html/_modules/pylorax/executils.html index b23e6b24..0581a703 100644 --- a/docs/html/_modules/pylorax/executils.html +++ b/docs/html/_modules/pylorax/executils.html @@ -253,6 +253,7 @@ def _run_program(argv, root='/', stdin=None, stdout=None, env_prune=None, log_output=True, binary_output=False, filter_stderr=False, raise_err=False, callback=None): """ Run an external program, log the output and return it to the caller + :param argv: The command to run and argument :param root: The directory to chroot to before running command. :param stdin: The file object to read stdin from. @@ -320,6 +321,7 @@
[docs]def execWithRedirect(command, argv, stdin=None, stdout=None, root='/', env_prune=None, log_output=True, binary_output=False, raise_err=False, callback=None): """ Run an external program and redirect the output to a file. + :param command: The command to run :param argv: The argument list :param stdin: The file object to read stdin from. @@ -339,6 +341,7 @@
[docs]def execWithCapture(command, argv, stdin=None, root='/', log_output=True, filter_stderr=False, raise_err=False, callback=None): """ Run an external program and capture standard out and err. + :param command: The command to run :param argv: The argument list :param stdin: The file object to read stdin from. diff --git a/docs/html/objects.inv b/docs/html/objects.inv index 69766b35..7f427f59 100644 Binary files a/docs/html/objects.inv and b/docs/html/objects.inv differ diff --git a/docs/html/pylorax.html b/docs/html/pylorax.html index 08114332..c7f52d01 100644 --- a/docs/html/pylorax.html +++ b/docs/html/pylorax.html @@ -264,32 +264,56 @@
pylorax.executils.execWithCapture(command, argv, stdin=None, root='/', log_output=True, filter_stderr=False, raise_err=False, callback=None)[source]
-

Run an external program and capture standard out and err. -:param command: The command to run -:param argv: The argument list -:param stdin: The file object to read stdin from. -:param root: The directory to chroot to before running command. -:param log_output: Whether to log the output of command -:param filter_stderr: Whether stderr should be excluded from the returned output -:param raise_err: whether to raise a CalledProcessError if the returncode is non-zero -:return: The output of the command

+

Run an external program and capture standard out and err.

+ +++ + + + + + +
Parameters:
    +
  • command – The command to run
  • +
  • argv – The argument list
  • +
  • stdin – The file object to read stdin from.
  • +
  • root – The directory to chroot to before running command.
  • +
  • log_output – Whether to log the output of command
  • +
  • filter_stderr – Whether stderr should be excluded from the returned output
  • +
  • raise_err – whether to raise a CalledProcessError if the returncode is non-zero
  • +
+
Returns:

The output of the command

+
pylorax.executils.execWithRedirect(command, argv, stdin=None, stdout=None, root='/', env_prune=None, log_output=True, binary_output=False, raise_err=False, callback=None)[source]
-

Run an external program and redirect the output to a file. -:param command: The command to run -:param argv: The argument list -:param stdin: The file object to read stdin from. -:param stdout: Optional file object to redirect stdout and stderr to. -:param root: The directory to chroot to before running command. -:param env_prune: environment variable to remove before execution -:param log_output: whether to log the output of command -:param binary_output: whether to treat the output of command as binary data -:param raise_err: whether to raise a CalledProcessError if the returncode is non-zero -:param callback: method to call while waiting for process to finish, passed Popen object -:return: The return code of the command

+

Run an external program and redirect the output to a file.

+ +++ + + + + + +
Parameters:
    +
  • command – The command to run
  • +
  • argv – The argument list
  • +
  • stdin – The file object to read stdin from.
  • +
  • stdout – Optional file object to redirect stdout and stderr to.
  • +
  • root – The directory to chroot to before running command.
  • +
  • env_prune – environment variable to remove before execution
  • +
  • log_output – whether to log the output of command
  • +
  • binary_output – whether to treat the output of command as binary data
  • +
  • raise_err – whether to raise a CalledProcessError if the returncode is non-zero
  • +
  • callback – method to call while waiting for process to finish, passed Popen object
  • +
+
Returns:

The return code of the command

+
@@ -1197,7 +1221,7 @@ image is built with the filename “${prefix}-${kernel.version}.img”

Bases: pylorax.base.DataHolder

-bcj_arch = {'x86_64': 'x86', 'ppc': 'powerpc', 'ppc64': 'powerpc', 'arm': 'arm', 'i386': 'x86', 'ppc64le': 'powerpc', 'armhfp': 'arm'}
+bcj_arch = {'ppc': 'powerpc', 'ppc64le': 'powerpc', 'armhfp': 'arm', 'arm': 'arm', 'ppc64': 'powerpc', 'x86_64': 'x86', 'i386': 'x86'}
diff --git a/docs/html/searchindex.js b/docs/html/searchindex.js index 7fcf3996..20c303ea 100644 --- a/docs/html/searchindex.js +++ b/docs/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({filenames:["livemedia-creator","intro","product-images","modules","pylorax","index","lorax"],objtypes:{"0":"py:module","1":"py:class","2":"py:function","3":"py:method","4":"py:attribute"},terms:{fatalerror:4,hardlink:4,kwarg:4,select:0,cmdline:0,mkcpio:4,normal:[0,2],boot:1,installinitrd:4,setup:[0,4],requir:[0,4],kernel:[0,4],checksum_typ:0,"switch":0,packag:[0,1,2],support:[0,1,2],installtre:4,python:[0,1,4],mount:[0,4],haven:0,speed:0,conf:[1,4],"import":0,rdo:0,realli:0,local:[0,4],action:4,app:[0,4],baseloraxclass:4,redhat:0,statement:4,tupl:4,via:0,"var":[0,4],pleas:4,someth:[0,1,4],error:[0,4],passwd:0,kei:4,output:0,rel:4,srcdir:4,gener:[0,1,4],aliv:4,mako:[0,1,4],far:0,slightli:0,happen:0,init_file_log:4,comput:4,archdata:4,bootdir:4,"99anaconda":4,whenev:4,author:0,grow:0,standard:[0,4],pkg:4,noth:4,link:4,reliabl:0,bzip2:4,make:[0,4],bind_mount_opt:0,yourdomain:0,calledprocesserror:4,fairli:0,discinfo:[],pdebug:4,executil:[],util:0,diskxxxxx:0,installupgradeinitrd:4,acl:4,when:[0,4],arg:[0,4],system:[0,4],dialog:0,call:[1,4],convert:[0,4],shortnam:4,encount:0,goe:[0,1,4],code:4,devic:[0,4],order:1,fmt:4,squashf:[0,4],whole:4,particular:4,installroot:4,token_queu:4,"class":[2,4],mkbtrfsimg:4,preun:4,str:4,style:4,te_curr:4,coupl:0,escap:4,project:0,almost:1,drawback:0,add_arch_templ:4,disk:0,allow:0,"final":[0,1,2],rexist:4,unpack:1,get_token_check:4,anaconda:1,enhanc:0,cfg:[0,4],mix:1,show:0,swap:0,"default":[0,4],fals:[0,4],compressarg:4,clear:1,should:[0,4],losetup:4,oper:[0,1],present:1,raise_err:4,exit:[0,4],older:0,thread:[0,4],live:1,domacboot:4,dnfhelper:[],get_loop_nam:4,been:[0,4],everyth:0,activ:0,handl:[0,4],failur:4,tree:[0,1,2,4],clearpart:0,sever:[0,2],bcl:0,root:[0,1,4],buildinstal:1,lzma:4,bare:0,ppc64le:[2,4],gconfset:4,driven:1,cpio:4,env_add:4,figur:1,assum:4,runcmd:4,thu:4,sha256:0,either:0,total_fil:4,execwithredirect:4,selinux:[0,4],afford:0,follow:[0,4],ec2:0,writepkgs:4,yourself:0,ftruncat:4,pathnam:4,loraxdownloadcallback:4,safe:4,insid:[0,4],complet:[1,4],rglob:4,dracut_hook:4,real:[0,4],usag:4,postinstal:4,filenam:4,loraxtempl:4,generate_module_data:4,random:4,clean:[0,1],gconf:4,lane:0,gib:4,word:4,returncod:4,chmod_:4,fname:4,thei:0,entri:0,reset_handl:4,procedur:4,progress:4,mai:[0,4],stdin:4,cach:0,mode:[0,4],run:[0,2,4],charact:4,resort:4,like:[0,2,4],split_and_expand:4,dmdev:4,workflow:1,lvm2:4,request:4,buildarch:4,could:0,replac:[0,1,2,4],i386:4,mountarg:4,from:[0,1,2,4],initi:4,easi:4,mirrormanag:0,wai:0,te_tot:4,dst:4,recommend:0,ostre:0,automat:4,bind_mount_en:0,img:[0,2,4],tarfil:0,fail:4,addr:4,avoid:0,user:[0,4],buildstamp:[],zerombr:0,share:[0,2,4],locat:0,empti:4,brian:0,singl:0,config:0,modifi:[0,4],bootload:0,s390x:4,instead:0,edit:0,each:[0,4],lmc:0,sure:[0,4],against:0,mkdosimg:4,umount:[0,4],rebuild:4,memtest86:0,mkf:4,implantisomd5:4,"char":4,mktar:4,rootdir:4,copytre:4,total_s:4,drop:2,kill:0,who:0,isfin:4,danger:0,updat:0,sometim:0,tmpxxxx:0,zero:4,path:[0,4],mail:0,exclud:4,valu:4,treat:4,lib:4,pyanaconda:2,check:4,payload:4,left:4,file:1,variabl:[0,4],speak:1,amazon:0,virtual:0,create_runtim:4,tui:0,core:0,creation:1,isolabel:4,mind:0,"try":[0,4],base:0,aarch64:[2,4],tty1:0,num_workspac:4,volid:4,pkgsizefil:4,whitespac:4,sysroot:4,develop:0,remove_temp:4,releasev:0,depmod:4,partit:[0,4],wrong:[0,4],linktre:4,runtim:4,conf_fil:4,findkernel:4,err_msg:4,transmogrifi:4,removekmod:4,grub:[0,4],those:[1,2],"public":0,get_buildarch:4,"true":[0,4],tri:0,disk_info:0,dm_detach:4,vcpu:0,rootpw:0,caught:0,find:[1,4],systemd:4,add_arch_template_var:4,param:4,basearch:4,over:2,target:[0,4],mount_ok:4,script:[4,0,1,6],cleanup:[0,4],found:[0,4],mbr:0,append:[0,4],whether:4,drive:0,plugin_conf:0,argv:4,mask:4,exampl:[0,2,4],previou:4,mountpoint:[0,4],modul:1,want:0,given:4,than:[0,4],line:[1,4],lib64_arch:4,store:[0,4],best:0,abov:0,place:[0,2,4],yum:[0,1],exist:[0,1,4],member:0,rebuild_initrd:4,had:0,newli:4,binari:4,backup:[0,4],start:[0,4],makestamp:1,uuid:0,access:0,removefrom:4,need:[0,4],page:5,pre:4,much:4,substitut:0,thing:[0,1],unit:4,runtimeerror:4,anywher:4,execproduct:4,how:1,hwmon:4,augmentenv:4,get:[0,4],mkrootfsimg:4,alreadi:4,move:4,lead:4,media:[0,4],mkqcow2:4,same:[0,4],liveo:0,renam:4,chroot_setup_cmd:0,runtimebuild:[2,4],event:4,knowledg:1,connect:0,list:[0,1,4],shm:0,overwritten:4,pattern:4,desktop:0,bootabl:0,pkglistdir:4,gnome:0,opt:4,textiowrapp:4,here:[0,1,2],search:[5,4],test:0,livemedia:[],fileglob:4,estimate_s:4,tool:[0,1],reset:4,read:[0,1,4],string_low:4,modeless:4,bash:[0,1],virsh:0,arm:4,sampl:4,deploy:4,initrd:[0,4],some:[0,1,4],delet:[0,4],templatedir:4,fstype:4,previous:[0,1],archiv:[2,4],mkfsimag:4,attempt:1,strang:0,bug:0,remov:[0,1,4],lose:0,except:4,encod:4,http:0,multi:0,bugurl:4,shutdown:0,rpm:[1,4],moddir:4,space:0,common:0,stop:0,abbrevi:0,growpart:0,spars:4,where:[0,4],localhost:0,take:[0,2],client:0,object:4,child:4,repo:[0,1],lowercas:4,logfil:0,rdoproject:0,add:[0,2,4],step:[0,1],multipl:4,configur:[0,1,4],decor:[],"case":0,qemu:4,becom:0,under:[0,4],data:[0,1,4],current:[0,1,4],monitor:[0,4],upload:0,tmpl:4,feedback:0,do_graft:4,group:[0,4],doe:[0,4],node:0,librari:1,until:4,web:0,add_template_var:4,pass:[0,4],devel:0,them:[0,1,4],item:4,would:[0,2],graft:4,handler:4,creat:1,flexibl:[0,1],enforc:0,directli:0,resolv:4,builtin:4,copyin:0,org:0,cmd:4,"catch":0,finish:4,attribut:0,installpkg:[2,4],preserv:4,sourc:4,chosen:4,add_arg:4,etc:[0,4],newlin:4,quot:4,index:5,armhfp:4,rais:4,without:0,split:4,video:4,argument:[0,4],must:4,glob:4,undefin:0,dict:4,brace_expand:4,didn:0,tmp:[0,4],checksum:0,overrid:4,internal_dev_setup:0,unneed:[1,4],instroot:1,metac:4,contain:[0,1,2,4],newer:0,extern:4,all:[0,1,2,4],url:0,abort:0,produc:[0,1],flatten:0,section:[0,4],relev:0,ksflatten:0,stdout:4,udev_escap:4,next:4,copi:[0,1,2,4],gzip:4,examin:0,lognam:4,"int":4,src:0,type:4,"return":4,big:4,libvirtd:0,chown_:4,context:4,custom:[0,1,2],template_fil:4,old:4,mnt:4,pungi:1,pkgglob:4,startprogram:4,attach:4,bin:[0,4],absolut:4,octalmod:4,loop_detach:4,dm_attach:4,though:1,write:[1,4],arch:[0,1,4],label:[0,4],still:[0,4],detect:0,www:0,sig_ign:4,subprocess:4,cancel:0,put:[2,4],mksquashf:4,caus:4,partitin:0,fatal:[0,4],loraxdir:4,report:0,buildsi:0,round_to_block:4,becaus:0,runcmd_output:4,architectur:[0,1],second:0,filter_stderr:4,detach:4,cloud:0,stderr:4,spline:4,pyo:4,top:2,git:0,treeinfo:[],dbo:4,driver:[1,4],featur:0,extra:0,format:[0,4],doesn:4,winnt:4,disk_img:4,mkhfsimg:4,releas:[0,1,4],mention:4,first:[0,1,4],stage:[0,1],more:[1,4],pat:4,reli:1,dev:[0,4],copy_dracut_hook:4,allbut:4,lpar:4,appropri:[0,4],log_output:4,installclass:2,mkfsarg:4,password:0,between:4,newrun:4,vnc:0,process:[0,1,2,4],solut:0,outfil:4,command:[0,1,2,4],ltmpl:[],permiss:0,host:[0,4],minim:0,also:0,valuetok:4,disabl:[0,4],outsid:4,reticul:4,reason:0,f15:0,rawhid:0,cat:0,round:4,skip:0,github:0,save:0,isn:[0,4],utf:4,run_pkg_transact:4,suffix:4,usbutil:4,isolinux:4,templat:[4,0,1,2,6],"null":0,destroi:0,createaddrs:4,keepglob:4,pivot:4,bcj_arch:4,depend:[0,2],messag:4,keytyp:4,describ:0,both:0,init_stream_log:4,addrsiz:4,consist:1,scriptlet:4,ram:0,provid:[0,1],maketreeinfo:1,mkdir:[0,4],sbin:[0,4],enough:4,libvirt:0,timestamp:4,titl:0,env_prun:4,runner:4,syslinux:0,sudo:0,iso:1,execut:[4,1,6],powerpc:4,bugzilla:0,writepkglist:4,add_sect:4,note:[0,4],paramet:4,you:[0,2,4],rundir:4,retrysleep:4,recurs:4,usual:0,rhel:0,accomplish:0,string:4,yet:0,care:4,convent:0,least:4,outroot:4,rescu:0,filter:4,dmsetup:4,com:0,fobj:4,introduct:[],umask:4,specif:[0,2,4],proxi:0,doc:0,fedoraproject:0,shlex:4,result:[0,4],chroot:[0,4],installimg:[2,4],reset_lang:4,none:4,initramf:[0,4],loraxtemplaterunn:4,domain:0,installkernel:4,storag:[0,4],dhcp:0,mirror:0,signal:4,separ:4,regex:4,instanc:0,upgrad:4,look:[0,1,2],log:[0,4],sshd:0,built:4,kdir:4,sysutil:[],wasn:0,after:[0,4],rest:4,build:[0,1,2,4],resultdir:0,xfce:0,directori:[0,2,4],downloadprogress:4,add_templ:4,help:0,product:[],emit:4,total:0,removepkg:4,wait:[0,4],can:[0,2,4],servic:4,xfsprog:4,close:4,about:0,loraxrpmcallback:4,name:[0,4],correctli:0,home:0,ia64:4,variant:4,overhead:4,destin:4,paramat:2,rootm:0,physic:4,popen:4,partitionmount:4,have:[0,4],sig_dfl:4,blocksiz:4,turn:1,onli:[0,4],fix:4,virtio_consol:4,qcow2:[0,4],bootproto:0,kpartx:[0,4],x86:[2,4],statu:4,imgutil:[],pars:4,comma:4,xml:[0,4],behind:4,initrd_address:4,revisor:1,dnf_obj:4,addit:4,thi:[0,2,4],spin:0,content:2,perror:4,builder:0,prefix:4,queue:4,well:0,own:0,captur:4,fsimag:0,expand:4,dracut:[0,4],program:[0,4],method:[0,4],datahold:4,repl:4,compress:[0,2,4],written:[0,1],good:[0,4],logdir:4,xattr:4,part:[0,2],other:[0,1,4],environ:4,further:4,"function":4,idea:[0,1],ani:[0,4],pylorax:[1,2],usr:[0,2,4],setenv:4,outputdir:4,dest:4,vanish:0,fedora:[0,4],raw:0,srcglob:4,livesi:0,instal:1,end:[0,4],implement:[2,4],wheel:0,temporari:[1,4],pinfo:4,befor:[],dracut_hooks_path:4,untouch:4,around:0,dedic:0,x86_64:[0,4],differ:[0,4],"_io":4,alwai:0,mkext4img:4,your:[0,2],otherwis:4,limit:0,size:[0,4],anoth:0,bit:0,ts_current:4,rhel7:0,token:4,f16:0,bind:0,out:[1,4],compon:0,"while":[2,4],hw_random:4,loggingtransactiondisplai:4,commandlin:4,doupgrad:4,post:[0,4],singleton:4,sequenc:4,postun:4,submodul:[],init:[0,4],few:0,packagedir:4,expect:0,possibl:[0,4],unmaintain:1,efi:0,input:[0,4],central:1,dnf:4,workdir:4,keep:[0,4],fstab:0,most:0,loopx:0,kvm:0,symlink:4,pretti:4,inroot:4,veri:0,stuck:0,rootf:[0,4],equival:4,linux:0,config_opt:0,brace:4,watch:0,specifi:[0,4],upd:1,sub:4,lazi:4,ts_total:4,pythonpath:0,execwithcaptur:4,vmlinuz:0,mkspars:4,templatefil:4,control:[1,4],don:[0,4],dir:[0,4],loop_attach:4,pub:0,myconfig:4,preexec_fn:4,roughli:4,match:[0,4],associ:4,construct:4,pwarn:4,loopdev:4,bunch:4,glanc:0,set:[0,1,4],msg:4,memori:0,pcritic:4,destfil:4,redirect:4,instruct:0,site:0,chmod:4,ppc:[2,4],correspond:4,option:[0,1,4],maintain:1,generate_module_info:4,non:4,joinpath:4,network:0,binary_output:4,which:[0,1,2,4],now:[0,2],cmdlist:4,version:[0,1,4],what:[0,1,4],minimum:0,problem:1,refus:0,expans:4,actual:[0,4],sinc:0,err:4,sound:4,done:4,touch:4,includ:[0,2],enabl:4,devicemapp:4,point:[0,1,4],inform:1,fit:0,time:[0,2],imag:1,endfor:4,just:[0,2,4],"new":[0,1,4],hook:4,treebuild:2,creator:[],unmount:[0,4],pull:[0,1],avail:0,systemctl:4,maxretri:4,last:4,won:0,anyth:2,omit:0,correct:[0,1],ppc64:4,callback:4,chang:[0,4],trash:0,loop:[0,4]},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","function","Python function"],"3":["py","method","Python method"],"4":["py","attribute","Python attribute"]},envversion:43,objects:{"":{pylorax:[4,0,0,"-"]},"pylorax.treeinfo.TreeInfo":{write:[4,3,1,""],add_section:[4,3,1,""]},"pylorax.treebuilder.TreeBuilder":{kernels:[4,4,1,""],implantisomd5:[4,3,1,""],build:[4,3,1,""],dracut_hooks_path:[4,4,1,""],rebuild_initrds:[4,3,1,""],copy_dracut_hooks:[4,3,1,""]},"pylorax.buildstamp.BuildStamp":{write:[4,3,1,""]},"pylorax.treebuilder.RuntimeBuilder":{cleanup:[4,3,1,""],finished:[4,3,1,""],generate_module_data:[4,3,1,""],install:[4,3,1,""],writepkgsizes:[4,3,1,""],postinstall:[4,3,1,""],writepkglists:[4,3,1,""],create_runtime:[4,3,1,""]},"pylorax.treeinfo":{TreeInfo:[4,1,1,""]},"pylorax.sysutils":{touch:[4,2,1,""],chmod_:[4,2,1,""],linktree:[4,2,1,""],remove:[4,2,1,""],joinpaths:[4,2,1,""],chown_:[4,2,1,""],replace:[4,2,1,""]},"pylorax.ltmpl":{rglob:[4,2,1,""],split_and_expand:[4,2,1,""],rexists:[4,2,1,""],brace_expand:[4,2,1,""],LoraxTemplateRunner:[4,1,1,""],LoraxTemplate:[4,1,1,""]},"pylorax.base.BaseLoraxClass":{pcritical:[4,3,1,""],pwarning:[4,3,1,""],pdebug:[4,3,1,""],perror:[4,3,1,""],pinfo:[4,3,1,""]},"pylorax.executils":{runcmd:[4,2,1,""],startProgram:[4,2,1,""],augmentEnv:[4,2,1,""],ExecProduct:[4,1,1,""],execWithCapture:[4,2,1,""],execWithRedirect:[4,2,1,""],runcmd_output:[4,2,1,""],setenv:[4,2,1,""]},"pylorax.buildstamp":{BuildStamp:[4,1,1,""]},"pylorax.base":{DataHolder:[4,1,1,""],BaseLoraxClass:[4,1,1,""]},"pylorax.ltmpl.LoraxTemplateRunner":{runcmd:[4,3,1,""],hardlink:[4,3,1,""],gconfset:[4,3,1,""],run_pkg_transaction:[4,3,1,""],mkdir:[4,3,1,""],systemctl:[4,3,1,""],installinitrd:[4,3,1,""],chmod:[4,3,1,""],treeinfo:[4,3,1,""],installkernel:[4,3,1,""],install:[4,3,1,""],installupgradeinitrd:[4,3,1,""],removepkg:[4,3,1,""],installpkg:[4,3,1,""],createaddrsize:[4,3,1,""],installimg:[4,3,1,""],run:[4,3,1,""],replace:[4,3,1,""],get_token_checked:[4,3,1,""],append:[4,3,1,""],copy:[4,3,1,""],removefrom:[4,3,1,""],move:[4,3,1,""],removekmod:[4,3,1,""],symlink:[4,3,1,""],log:[4,3,1,""],remove:[4,3,1,""]},pylorax:{discinfo:[4,0,0,"-"],buildstamp:[4,0,0,"-"],dnfhelper:[4,0,0,"-"],treebuilder:[4,0,0,"-"],treeinfo:[4,0,0,"-"],sysutils:[4,0,0,"-"],base:[4,0,0,"-"],output:[4,0,0,"-"],executils:[4,0,0,"-"],decorators:[4,0,0,"-"],ArchData:[4,1,1,""],get_buildarch:[4,2,1,""],Lorax:[4,1,1,""],imgutils:[4,0,0,"-"],ltmpl:[4,0,0,"-"]},"pylorax.Lorax":{configure:[4,3,1,""],init_file_logging:[4,3,1,""],run:[4,3,1,""],init_stream_logging:[4,3,1,""]},"pylorax.dnfhelper.LoraxRpmCallback":{event:[4,3,1,""]},"pylorax.base.DataHolder":{copy:[4,3,1,""]},"pylorax.treebuilder":{findkernels:[4,2,1,""],udev_escape:[4,2,1,""],generate_module_info:[4,2,1,""],RuntimeBuilder:[4,1,1,""],string_lower:[4,2,1,""],TreeBuilder:[4,1,1,""]},"pylorax.dnfhelper.LoraxDownloadCallback":{end:[4,3,1,""],progress:[4,3,1,""],start:[4,3,1,""]},"pylorax.discinfo.DiscInfo":{write:[4,3,1,""]},"pylorax.decorators":{singleton:[4,2,1,""]},"pylorax.imgutils":{Mount:[4,1,1,""],DMDev:[4,1,1,""],get_loop_name:[4,2,1,""],dm_detach:[4,2,1,""],umount:[4,2,1,""],mkcpio:[4,2,1,""],mkhfsimg:[4,2,1,""],mktar:[4,2,1,""],loop_detach:[4,2,1,""],mkfsimage:[4,2,1,""],mkqcow2:[4,2,1,""],dm_attach:[4,2,1,""],mkrootfsimg:[4,2,1,""],copytree:[4,2,1,""],loop_attach:[4,2,1,""],mksparse:[4,2,1,""],mkext4img:[4,2,1,""],mount:[4,2,1,""],mkdosimg:[4,2,1,""],estimate_size:[4,2,1,""],mkbtrfsimg:[4,2,1,""],LoopDev:[4,1,1,""],mksquashfs:[4,2,1,""],do_grafts:[4,2,1,""],round_to_blocks:[4,2,1,""],PartitionMount:[4,1,1,""],compress:[4,2,1,""]},"pylorax.ltmpl.LoraxTemplate":{parse:[4,3,1,""]},"pylorax.discinfo":{DiscInfo:[4,1,1,""]},"pylorax.ArchData":{lib64_arches:[4,4,1,""],bcj_arch:[4,4,1,""]},"pylorax.dnfhelper":{LoraxRpmCallback:[4,1,1,""],LoraxDownloadCallback:[4,1,1,""]}},titleterms:{work:0,sysutil:4,discinfo:4,instal:0,submodul:4,live:0,dnfhelper:4,applianc:0,boot:0,livemedia:0,executil:4,modul:4,mock:0,docker:0,openstack:0,indic:5,virt:0,ami:0,pylorax:[3,4],pxe:0,problem:0,decor:4,iso:0,file:0,lorax:[1,5,6],ltmpl:4,introduct:1,debug:0,treeinfo:4,quickstart:0,product:2,tar:0,atom:0,imag:[0,2],base:4,output:4,treebuild:4,creator:0,befor:1,imgutil:4,creation:0,tabl:5,anaconda:0,buildstamp:4,updat:2,hack:0,document:5,welcom:5,src:[],creat:0,content:4,packag:4,kickstart:0,filesystem:0,how:0},titles:["livemedia-creator","Introduction to Lorax","Product and Updates Images","pylorax","pylorax package","Welcome to Lorax’s documentation!","lorax"]}) \ No newline at end of file +Search.setIndex({titleterms:{indic:0,mock:2,anaconda:2,imgutil:6,boot:2,applianc:2,ami:2,tar:2,lorax:[0,1,5],document:0,work:2,creation:2,creat:2,pxe:2,tabl:0,problem:2,updat:4,sysutil:6,product:4,content:6,welcom:0,creator:2,openstack:2,ltmpl:6,live:2,modul:6,debug:2,introduct:5,treebuild:6,how:2,quickstart:2,befor:5,file:2,kickstart:2,buildstamp:6,output:6,atom:2,imag:[4,2],iso:2,submodul:6,discinfo:6,decor:6,executil:6,livemedia:2,filesystem:2,docker:2,instal:2,base:6,src:[],virt:2,pylorax:[6,3],treeinfo:6,dnfhelper:6,packag:6,hack:2},objtypes:{"0":"py:module","1":"py:method","2":"py:function","3":"py:attribute","4":"py:class"},objnames:{"0":["py","module","Python module"],"1":["py","method","Python method"],"2":["py","function","Python function"],"3":["py","attribute","Python attribute"],"4":["py","class","Python class"]},titles:["Welcome to Lorax’s documentation!","lorax","livemedia-creator","pylorax","Product and Updates Images","Introduction to Lorax","pylorax package"],envversion:43,filenames:["index","lorax","livemedia-creator","modules","product-images","intro","pylorax"],terms:{loraxtemplaterunn:6,emit:6,stop:2,kvm:2,those:[4,5],far:2,tree:[4,6,5,2],gnome:2,more:[6,5],cach:2,stage:[5,2],hwmon:6,"new":[6,5,2],becaus:2,gconfset:6,pylorax:[4,5],bind_mount_opt:2,skip:2,correspond:6,order:5,paramet:6,workflow:5,cat:2,same:[6,2],callback:6,yum:[5,2],stdin:6,word:6,expect:2,figur:5,bootdir:6,efi:2,app:[6,2],found:[6,2],mkfsarg:6,umount:[6,2],execwithredirect:6,multi:2,lognam:6,includ:[4,2],add_arch_templ:6,list:[6,5,2],fatalerror:6,f15:2,abbrevi:2,findkernel:6,execproduct:6,ppc64:6,bugzilla:2,mkbtrfsimg:6,appropri:[6,2],unpack:5,tty1:2,bit:2,user:[6,2],time:[4,2],blocksiz:6,arg:[6,2],attach:6,string:6,checksum:2,installclass:4,num_workspac:6,need:[6,2],estimate_s:6,rdo:2,initramf:[6,2],bzip2:6,init_file_log:6,whether:6,target:[6,2],disk_info:2,grub:[6,2],what:[6,5,2],deploy:6,next:6,drive:2,inroot:6,keytyp:6,singleton:6,fsimag:2,round_to_block:6,unneed:[6,5],depmod:6,web:2,exampl:[4,6,2],shlex:6,"var":[6,2],usag:6,pkgsizefil:6,qcow2:[6,2],encount:2,entri:2,raw:2,devic:[6,2],attempt:5,done:6,resultdir:2,environ:6,doesn:6,must:6,token_queu:6,"public":2,wheel:2,pyo:6,logdir:6,linux:2,transmogrifi:6,cfg:[6,2],ksflatten:2,actual:[6,2],though:5,chroot:[6,2],workdir:6,rundir:6,fit:2,from:[4,6,5,2],correctli:2,creation:5,write:[6,5],mode:[6,2],becom:2,end:[6,2],log_output:6,memtest86:2,buildsi:2,style:6,binary_output:6,describ:2,particular:6,overhead:6,behind:6,x86:[4,6],str:6,grow:2,rhel:2,pub:2,get:[6,2],speak:5,dhcp:2,uuid:2,textiowrapp:6,symlink:6,addr:6,fedoraproject:2,copi:[4,6,5,2],big:6,runtim:6,drawback:2,vnc:2,thu:6,tarfil:2,"while":[4,6],preun:6,newrun:6,releas:[6,5,2],scriptlet:6,losetup:6,signal:6,none:6,cancel:2,xfce:2,init_stream_log:6,rexist:6,datahold:6,section:[6,2],kernel:[6,2],singl:2,other:[6,5,2],mnt:6,been:[6,2],org:2,spars:6,postun:6,wait:[6,2],powerpc:6,rglob:6,realli:2,develop:2,arm:6,loopx:2,lzma:6,append:[6,2],rescu:2,who:2,xfsprog:6,total:2,keep:[6,2],loraxtempl:6,releasev:2,disk:2,metac:6,reset_lang:6,part:[4,2],mountarg:6,lazi:6,data:[6,5,2],anyth:4,lose:2,rootf:[6,2],sometim:2,lmc:2,enhanc:2,bug:2,startprogram:6,modifi:[6,2],convert:[6,2],generate_module_info:6,pull:[5,2],statu:6,top:4,current:[6,5,2],add_template_var:6,mkdir:[6,2],bcl:2,mountpoint:[6,2],storag:[6,2],te_curr:6,paramat:4,pattern:6,executil:[],installupgradeinitrd:6,your:[4,2],memori:2,mkext4img:6,lpar:6,home:2,destfil:6,repl:6,virtio_consol:6,label:[6,2],didn:2,internal_dev_setup:2,place:[4,6,2],differ:[6,2],com:2,revisor:5,argument:[6,2],lowercas:6,solut:2,queue:6,python:[6,5,2],www:2,sig_dfl:6,much:6,further:6,network:2,caught:2,newli:6,should:[6,2],removepkg:6,mkdosimg:6,"char":6,untouch:6,limit:2,generate_module_data:6,yourdomain:2,anoth:2,under:[6,2],almost:5,page:0,ltmpl:[],left:6,buildarch:6,command:[4,6,5,2],provid:[5,2],tupl:6,pkgglob:6,automat:6,tmpl:6,rhel7:2,buildstamp:[],trash:2,all:[4,6,5,2],them:[6,5,2],linktre:6,happen:2,disabl:[6,2],doc:2,result:[6,2],installkernel:6,build:[4,6,5,2],msg:6,string_low:6,remov:[6,5,2],rootm:2,contain:[4,6,5,2],brian:2,get_loop_nam:6,don:[6,2],safe:6,conf_fil:6,loopdev:6,handl:[6,2],edit:2,add_arg:6,unit:6,given:6,retrysleep:6,syslinux:2,img:[4,6,2],charact:6,own:2,instruct:2,addrsiz:6,cmdlist:6,sysroot:6,variant:6,isolinux:6,possibl:[6,2],pleas:6,ia64:6,noth:6,imag:5,gconf:6,put:[4,6],common:2,shutdown:2,filenam:6,normal:[4,2],compon:2,timestamp:6,gib:6,mirrormanag:2,mkrootfsimg:6,total_fil:6,dracut:[6,2],amazon:2,fail:6,file:5,empti:6,acl:6,rdoproject:2,ppc:[4,6],configur:[6,5,2],wasn:2,about:2,do_graft:6,log:[6,2],fname:6,dict:6,aliv:6,tool:[5,2],creat:5,variabl:[6,2],domain:2,packagedir:6,mix:5,mkf:6,item:6,close:6,thread:[6,2],connect:2,instal:5,space:2,pkg:6,dnfhelper:[],arch:[6,5,2],clearpart:2,http:2,specifi:[6,2],installinitrd:6,shortnam:6,execwithcaptur:6,flatten:2,equival:6,lead:6,anaconda:5,plugin_conf:2,both:2,dnf_obj:6,"catch":2,complet:[6,5],loop:[6,2],pythonpath:2,group:[6,2],preexec_fn:6,runcmd:6,gener:[6,5,2],rel:6,split_and_expand:6,sampl:6,random:6,writepkglist:6,compressarg:6,associ:6,reticul:6,overrid:6,livemedia:[],outputdir:6,which:[4,6,5,2],except:6,like:[4,6,2],kpartx:[6,2],shm:2,treebuild:4,old:6,local:[6,2],removekmod:6,unmaintain:5,resort:6,sure:[6,2],sbin:[6,2],permiss:2,chang:[6,2],chown_:6,live:5,url:2,when:[6,2],thing:[5,2],github:2,ftruncat:6,outsid:6,captur:6,ram:2,look:[4,5,2],fstype:6,keepglob:6,loop_detach:6,make:[6,2],loop_attach:6,path:[6,2],minim:2,unmount:[6,2],templatefil:6,fals:[6,2],util:2,checksum_typ:2,site:2,goe:[6,5,2],treat:6,dbo:6,templat:[4,6,1,2,5],exclud:6,slightli:2,submodul:[],dev:[6,2],vcpu:2,createaddrs:6,type:6,loraxrpmcallback:6,handler:6,valuetok:6,packag:[4,5,2],dracut_hooks_path:6,save:2,encod:6,physic:6,insid:[6,2],touch:6,reli:5,fedora:[6,2],"null":2,f16:2,disk_img:6,alreadi:6,modul:5,runner:6,stderr:6,media:[6,2],destroi:2,execut:[6,1,5],srcdir:6,each:[6,2],spin:2,would:[4,2],iso:5,fatal:[6,2],upgrad:6,i386:6,hw_random:6,ani:[6,2],sshd:2,note:[6,2],method:[6,2],follow:[6,2],cpio:6,"switch":2,relev:2,either:2,baseloraxclass:6,add_arch_template_var:6,recommend:2,servic:6,care:6,lib64_arch:6,oper:[5,2],dst:6,select:2,specif:[4,6,2],bootproto:2,calledprocesserror:6,chroot_setup_cmd:2,escap:6,index:0,feedback:2,dir:[6,2],perror:6,sub:6,directori:[4,6,2],installimg:[4,6],bare:2,passwd:2,boot:5,fmt:6,instead:2,buildinstal:5,token:6,detect:2,brace_expand:6,reset_handl:6,vmlinuz:2,whole:6,mail:2,librari:5,spline:6,zero:6,won:2,name:[6,2],"case":2,written:[5,2],set:[6,5,2],zerombr:2,runcmd_output:6,action:6,setup:[6,2],thei:2,writepkgs:6,runtimebuild:[4,6],mount:[6,2],node:2,decor:[],"try":[6,2],mkfsimag:6,real:[6,2],kdir:6,onli:[6,2],abort:2,yourself:2,srcglob:6,pkglistdir:6,check:6,mbr:2,undefin:2,octalmod:6,destin:6,procedur:6,systemctl:6,payload:6,mkqcow2:6,substitut:2,filter_stderr:6,"function":6,git:2,system:[6,2],sudo:2,builtin:6,program:[6,2],usbutil:6,architectur:[5,2],you:[4,6,2],bash:[5,2],sever:[4,2],installpkg:[4,6],loggingtransactiondisplai:6,fstab:2,over:4,wrong:[6,2],config_opt:2,least:6,how:5,stdout:6,devicemapp:6,usual:2,client:2,can:[4,6,2],pivot:6,clear:5,haven:2,mksquashf:6,clean:[5,2],allbut:6,store:[6,2],non:6,error:[6,2],attribut:2,coupl:2,last:6,cleanup:[6,2],ostre:2,bunch:6,monitor:[6,2],ec2:2,rootpw:2,archdata:6,xml:[6,2],dmsetup:6,treeinfo:[],exist:[6,5,2],aarch64:[4,6],consist:5,support:[4,5,2],endfor:6,runtimeerror:6,mkhfsimg:6,bind:2,te_tot:6,share:[4,6,2],move:6,easi:6,good:[6,2],addit:6,rpm:[6,5],otherwis:6,makestamp:5,exit:[6,2],installroot:6,post:[6,2],"99anaconda":6,assum:6,imgutil:[],start:[6,2],downloadprogress:6,have:[6,2],creator:[],could:2,stuck:2,read:[6,5,2],chosen:6,someth:[6,5,2],correct:[5,2],bugurl:6,bootload:2,pretti:6,locat:2,logfil:2,convent:2,instanc:2,partit:[6,2],qemu:6,instroot:5,format:[6,2],pat:6,"default":[6,2],suffix:6,replac:[4,6,5,2],report:2,remove_temp:6,dracut_hook:6,gzip:6,lvm2:6,accomplish:2,finish:6,progress:6,src:2,quot:6,control:[6,5],valu:6,maketreeinfo:5,author:2,virtual:2,renam:6,overwritten:6,content:4,mako:[6,5,2],repo:[5,2],comma:6,systemd:6,also:2,omit:2,modeless:6,ts_total:6,extra:2,add:[4,6,2],returncod:6,isn:[6,2],pre:6,strang:2,script:[6,1,2,5],requir:[6,2],implement:[4,6],initrd_address:6,find:[6,5],sourc:6,"class":[4,6],now:[4,2],custom:[4,5,2],ts_current:6,err:6,dest:6,commandlin:6,create_runtim:6,driver:[6,5],access:2,option:[6,5,2],glob:6,test:2,binari:6,chmod_:6,core:2,libvirt:2,caus:6,pathnam:6,xattr:6,mount_ok:6,outroot:6,mkcpio:6,input:[6,2],statement:6,most:2,dialog:2,redhat:2,child:6,everyth:2,maintain:5,archiv:[4,6],anywher:6,rebuild_initrd:6,initrd:[6,2],kill:2,param:[],produc:[5,2],mai:[6,2],total_s:6,umask:6,bind_mount_en:2,enabl:6,run:[4,6,2],prefix:6,match:[6,2],detach:6,get_token_check:6,fix:6,conf:[6,5],idea:[5,2],just:[4,6,2],central:5,around:2,cloud:2,utf:6,minimum:2,mask:6,joinpath:6,updat:2,older:2,recurs:6,vanish:2,growpart:2,"true":[6,2],maxretri:6,mind:2,construct:6,well:2,sinc:2,round:6,templatedir:6,newer:2,diskxxxxx:2,password:2,template_fil:6,fileglob:6,livesi:2,doupgrad:6,armhfp:6,sysutil:[],"import":2,size:[6,2],upd:5,init:[6,2],cmdline:2,udev_escap:6,avoid:2,afford:2,examin:2,comput:6,search:[0,6],built:6,dnf:6,via:2,base:2,roughli:6,ppc64le:[4,6],add_templ:6,tui:2,where:[6,2],dm_attach:6,danger:2,reset:6,postinstal:6,sound:6,wai:2,copy_dracut_hook:6,some:[6,5,2],volid:6,turn:5,context:6,split:6,partitin:2,pars:6,setenv:6,rawhid:2,out:[6,5],pwarn:6,absolut:6,present:5,hook:6,kei:6,doe:[6,2],upload:2,loraxdownloadcallback:6,lib:6,mention:6,avail:2,object:6,speed:2,localhost:2,rais:6,titl:2,x86_64:[6,2],product:[],expand:6,thi:[4,6,2],first:[6,5,2],basearch:6,tri:2,"int":6,isolabel:6,depend:[4,2],befor:[],best:2,pass:[6,2],dm_detach:6,activ:2,help:2,config:2,fobj:6,knowledg:5,inform:5,discinfo:[],standard:[6,2],tmp:[6,2],installtre:6,yet:2,driven:5,graft:6,had:2,mkspars:6,implantisomd5:6,process:[4,6,5,2],sig_ign:6,"return":6,run_pkg_transact:6,request:6,subprocess:6,until:6,squashf:[6,2],pcritic:6,builder:2,copytre:6,want:2,hardlink:6,glanc:2,backup:[6,2],raise_err:6,pyanaconda:4,whitespac:6,drop:4,pinfo:6,myconfig:6,mktar:6,between:6,expans:6,libvirtd:2,previou:6,refus:2,without:2,outfil:6,problem:5,kwarg:6,fairli:2,event:6,project:2,domacboot:6,liveo:2,moddir:6,resolv:6,err_msg:6,brace:6,directli:2,desktop:2,second:2,proxi:2,partitionmount:6,against:2,dedic:2,temporari:[6,5],filter:6,s390x:6,rest:6,abov:2,"final":[4,5,2],cmd:6,version:[6,5,2],etc:[6,2],sha256:2,delet:[6,2],copyin:2,line:[6,5],whenev:6,after:[6,2],argv:6,call:[6,5],enforc:2,mirror:2,newlin:6,allow:2,dmdev:6,flexibl:[5,2],bcj_arch:6,isfin:6,multipl:6,previous:[5,2],loraxdir:6,than:[6,2],watch:2,"_io":6,devel:2,removefrom:6,rootdir:6,separ:6,env_add:6,here:[4,5,2],opt:6,swap:2,selinux:[6,2],redirect:6,messag:6,regex:6,root:[6,5,2],preserv:6,winnt:6,veri:2,show:2,still:[6,2],member:2,failur:6,virsh:2,lane:2,introduct:[],bin:[6,2],chmod:6,rebuild:6,take:[4,2],link:6,bootabl:2,tmpxxxx:2,output:2,initi:6,extern:6,reason:2,reliabl:2,few:2,popen:6,video:6,code:6,host:[6,2],env_prun:6,get_buildarch:6,alwai:2,pdebug:6,step:[5,2],pungi:5,add_sect:6,featur:2,enough:6,usr:[4,6,2],augmentenv:6,compress:[4,6,2],sequenc:6,point:[6,5,2]},objects:{"":{pylorax:[6,0,0,"-"]},"pylorax.buildstamp":{BuildStamp:[6,4,1,""]},"pylorax.dnfhelper.LoraxRpmCallback":{event:[6,1,1,""]},"pylorax.treebuilder.TreeBuilder":{dracut_hooks_path:[6,3,1,""],copy_dracut_hooks:[6,1,1,""],build:[6,1,1,""],rebuild_initrds:[6,1,1,""],kernels:[6,3,1,""],implantisomd5:[6,1,1,""]},"pylorax.treebuilder.RuntimeBuilder":{writepkglists:[6,1,1,""],postinstall:[6,1,1,""],finished:[6,1,1,""],create_runtime:[6,1,1,""],cleanup:[6,1,1,""],generate_module_data:[6,1,1,""],install:[6,1,1,""],writepkgsizes:[6,1,1,""]},"pylorax.buildstamp.BuildStamp":{write:[6,1,1,""]},"pylorax.base.BaseLoraxClass":{perror:[6,1,1,""],pdebug:[6,1,1,""],pwarning:[6,1,1,""],pinfo:[6,1,1,""],pcritical:[6,1,1,""]},"pylorax.ltmpl.LoraxTemplateRunner":{run:[6,1,1,""],log:[6,1,1,""],get_token_checked:[6,1,1,""],copy:[6,1,1,""],install:[6,1,1,""],createaddrsize:[6,1,1,""],mkdir:[6,1,1,""],installinitrd:[6,1,1,""],hardlink:[6,1,1,""],replace:[6,1,1,""],runcmd:[6,1,1,""],chmod:[6,1,1,""],installimg:[6,1,1,""],append:[6,1,1,""],removepkg:[6,1,1,""],removekmod:[6,1,1,""],installkernel:[6,1,1,""],installupgradeinitrd:[6,1,1,""],systemctl:[6,1,1,""],move:[6,1,1,""],symlink:[6,1,1,""],gconfset:[6,1,1,""],removefrom:[6,1,1,""],treeinfo:[6,1,1,""],run_pkg_transaction:[6,1,1,""],installpkg:[6,1,1,""],remove:[6,1,1,""]},"pylorax.treebuilder":{TreeBuilder:[6,4,1,""],RuntimeBuilder:[6,4,1,""],findkernels:[6,2,1,""],string_lower:[6,2,1,""],udev_escape:[6,2,1,""],generate_module_info:[6,2,1,""]},"pylorax.treeinfo":{TreeInfo:[6,4,1,""]},"pylorax.imgutils":{get_loop_name:[6,2,1,""],round_to_blocks:[6,2,1,""],estimate_size:[6,2,1,""],PartitionMount:[6,4,1,""],loop_attach:[6,2,1,""],do_grafts:[6,2,1,""],mkdosimg:[6,2,1,""],dm_detach:[6,2,1,""],mkhfsimg:[6,2,1,""],mount:[6,2,1,""],mkqcow2:[6,2,1,""],mkcpio:[6,2,1,""],umount:[6,2,1,""],mksparse:[6,2,1,""],compress:[6,2,1,""],copytree:[6,2,1,""],mksquashfs:[6,2,1,""],LoopDev:[6,4,1,""],loop_detach:[6,2,1,""],mktar:[6,2,1,""],mkbtrfsimg:[6,2,1,""],DMDev:[6,4,1,""],mkext4img:[6,2,1,""],mkfsimage:[6,2,1,""],dm_attach:[6,2,1,""],mkrootfsimg:[6,2,1,""],Mount:[6,4,1,""]},"pylorax.decorators":{singleton:[6,2,1,""]},"pylorax.dnfhelper":{LoraxRpmCallback:[6,4,1,""],LoraxDownloadCallback:[6,4,1,""]},"pylorax.discinfo":{DiscInfo:[6,4,1,""]},"pylorax.ltmpl.LoraxTemplate":{parse:[6,1,1,""]},"pylorax.base":{DataHolder:[6,4,1,""],BaseLoraxClass:[6,4,1,""]},"pylorax.ltmpl":{LoraxTemplateRunner:[6,4,1,""],LoraxTemplate:[6,4,1,""],rglob:[6,2,1,""],rexists:[6,2,1,""],split_and_expand:[6,2,1,""],brace_expand:[6,2,1,""]},"pylorax.treeinfo.TreeInfo":{write:[6,1,1,""],add_section:[6,1,1,""]},"pylorax.dnfhelper.LoraxDownloadCallback":{end:[6,1,1,""],start:[6,1,1,""],progress:[6,1,1,""]},"pylorax.discinfo.DiscInfo":{write:[6,1,1,""]},"pylorax.sysutils":{joinpaths:[6,2,1,""],replace:[6,2,1,""],chown_:[6,2,1,""],remove:[6,2,1,""],chmod_:[6,2,1,""],linktree:[6,2,1,""],touch:[6,2,1,""]},pylorax:{get_buildarch:[6,2,1,""],imgutils:[6,0,0,"-"],executils:[6,0,0,"-"],sysutils:[6,0,0,"-"],ltmpl:[6,0,0,"-"],buildstamp:[6,0,0,"-"],output:[6,0,0,"-"],base:[6,0,0,"-"],Lorax:[6,4,1,""],discinfo:[6,0,0,"-"],treeinfo:[6,0,0,"-"],dnfhelper:[6,0,0,"-"],ArchData:[6,4,1,""],treebuilder:[6,0,0,"-"],decorators:[6,0,0,"-"]},"pylorax.base.DataHolder":{copy:[6,1,1,""]},"pylorax.ArchData":{bcj_arch:[6,3,1,""],lib64_arches:[6,3,1,""]},"pylorax.executils":{setenv:[6,2,1,""],execWithCapture:[6,2,1,""],startProgram:[6,2,1,""],ExecProduct:[6,4,1,""],runcmd:[6,2,1,""],augmentEnv:[6,2,1,""],runcmd_output:[6,2,1,""],execWithRedirect:[6,2,1,""]},"pylorax.Lorax":{run:[6,1,1,""],configure:[6,1,1,""],init_stream_logging:[6,1,1,""],init_file_logging:[6,1,1,""]}}}) \ No newline at end of file diff --git a/src/pylorax/executils.py b/src/pylorax/executils.py index d127a615..37cb3a6d 100644 --- a/src/pylorax/executils.py +++ b/src/pylorax/executils.py @@ -124,6 +124,7 @@ def startProgram(argv, root='/', stdin=None, stdout=subprocess.PIPE, stderr=subp def _run_program(argv, root='/', stdin=None, stdout=None, env_prune=None, log_output=True, binary_output=False, filter_stderr=False, raise_err=False, callback=None): """ Run an external program, log the output and return it to the caller + :param argv: The command to run and argument :param root: The directory to chroot to before running command. :param stdin: The file object to read stdin from. @@ -191,6 +192,7 @@ def _run_program(argv, root='/', stdin=None, stdout=None, env_prune=None, log_ou def execWithRedirect(command, argv, stdin=None, stdout=None, root='/', env_prune=None, log_output=True, binary_output=False, raise_err=False, callback=None): """ Run an external program and redirect the output to a file. + :param command: The command to run :param argv: The argument list :param stdin: The file object to read stdin from. @@ -210,6 +212,7 @@ def execWithRedirect(command, argv, stdin=None, stdout=None, root='/', env_prune def execWithCapture(command, argv, stdin=None, root='/', log_output=True, filter_stderr=False, raise_err=False, callback=None): """ Run an external program and capture standard out and err. + :param command: The command to run :param argv: The argument list :param stdin: The file object to read stdin from.