Fix dipatch-conf order.

atratsevskiy
parent 8e5f1c0bd6
commit fdda9ccba5

@ -12,6 +12,7 @@ AUX calculate-builder-2.2.27-r1.patch 1034 RMD160 7edaa3350ace163af6ac6f576cc30b
AUX calculate-builder-2.2.27-r2.patch 3321 RMD160 6a9b445fb14cdf15d5492b6d29379a702b433731 SHA1 1fb24e18ce38c5282146e0a6f0c441ae8b4971cd SHA256 985ec1f5625a483555d897f3afd5041c1ab17010edeaf48c90ea23d11fc73166
AUX calculate-builder-2.2.27-r3.patch 3317 RMD160 6d529c26ea3042534db59f339cf0592babf04237 SHA1 30b5ac6d7e481bc519bd849afbf1cc1d0d45dc97 SHA256 c80b97d609d03aacb330a0cab62adfee8126e89ef2e5dc577eb6d44b1bd49a26
AUX calculate-builder-2.2.27-r4.patch 5638 RMD160 549db728ec9c19067814926f9820ea874b484aae SHA1 a18830fedc3ff909166a3e89b9069a95e668eab8 SHA256 f6d7d119f0eae59b0390dd91be389a068c3a7be11f574167c80a7777e14e62bd
AUX calculate-builder-2.2.28-filesnum_dispatch.patch 1924 RMD160 2c91e2285c8d69999ce876a144716675b16aaa6b SHA1 edfbb78ce36ffab0edc12ef3bd426cf9437ad157 SHA256 7260530206dd4dd6c17e7cd07128b02a9d581f7d79a8db867c2766771e09b484
AUX calculate-builder-2.2.28-filesnum_variable.patch 2110 RMD160 72fdfe613d45f8c319424d01b22733358169321d SHA1 b93a345c1f2c21be844a04e8ac617919a4e68a69 SHA256 97e033cf4c62b6a06509e48fbb95011442d156f679a1748dcec893882428ec98
DIST calculate-builder-2.2.24.tar.bz2 26996 RMD160 b5cdfe057ccb0496ed4c1470570575086c2d58fd SHA1 1b68631826c8499be03b0e3ad1062ccc2c4d9d0f SHA256 8b995b5dbe5a1d9e98178f68720e7a30dfb02829ddf2f63b131786d962bf1c12
DIST calculate-builder-2.2.25.tar.bz2 27120 RMD160 1640be4f5e2ac4971a26f575d85a28c694a88c1d SHA1 c92c128bf5f3ef83a731ae086432aecda06a6ffd SHA256 09d1493afb699113abb55e3646280b72424e5a4c48e83d9a180ef56e4d630c95
@ -36,6 +37,7 @@ EBUILD calculate-builder-2.2.27-r6.ebuild 907 RMD160 371ee29bdce8b273ffcb7771265
EBUILD calculate-builder-2.2.27-r7.ebuild 1014 RMD160 e4bb7d5964b132466b7be37dfc8cb97b90f949d3 SHA1 95b4585773434a19bf52fa6826a628573a87fc93 SHA256 c90fe836d854251a54e0cfd185efdaccb98f5405cdf46fc512726c4e565d2218
EBUILD calculate-builder-2.2.27.ebuild 587 RMD160 6afd1967c23603882fa4e3c363baa4da434b018d SHA1 51dcc6e56a98255be8079c6b981fc951c21f3a46 SHA256 f7f62dc434766592746e1b1d5d3ca93f49b84d263edf55e41ba3d5125305b0d2
EBUILD calculate-builder-2.2.28-r1.ebuild 723 RMD160 40fa44956907d44bbc78b34947971566c49c68d1 SHA1 5e26678b3c88e9580ddf5efd9e16acce95a56f48 SHA256 befe4501041ec51114d380690d0dde6a8d7f141574e0338e13d9b808d7abfabc
EBUILD calculate-builder-2.2.28-r2.ebuild 758 RMD160 ca0e8056b43dbf4b93e4c8051ff56bd68768145c SHA1 b3dad3a15e91bebdbc35f61b56eb38d44fe5997f SHA256 8d63738a883cc73db3fbadda543a788202e9b5bce0551c961530cc4a1f2637f9
EBUILD calculate-builder-2.2.28.ebuild 590 RMD160 070cace1cebd10f7fc1d13fb390d2319fecc649e SHA1 76b23f75c2d35843e195fd246ae6799ef321ce7c SHA256 c8b474c8ad0e8b59f30352f8d8517d8a51f661cdd3aa6a0f866ad275e43aff9c
EBUILD calculate-builder-2.2.9999.ebuild 571 RMD160 9342f8bb6fee2525ea214551f177a21170c8f320 SHA1 640d9424326321e45c59241384d3bdec58ff0a22 SHA256 829ecb63e72f27ae5f1cab9a22b3fad06addd81e7cf0f73fb99926dfe1d52102
MISC ChangeLog 20510 RMD160 1cfd3c3b39ed7df3e4ee34e2f39e07b38df4b701 SHA1 25f1f611fba53e73feec22c8e30f055a96bd6d92 SHA256 ae74d167577bbf08b25525958cc9a1d74ae53c4dce6dcfbdef9ddf571dbb1c56

@ -0,0 +1,31 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate2/${PN}/${P}.tar.bz2"
DESCRIPTION="The utilities for builder tasks of Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND=">=sys-kernel/calckernel-3.4.18
~sys-apps/calculate-install-2.2.28
!<sys-apps/calculate-1.4.0_p20100921
app-cdr/cdrkit
sys-fs/squashfs-tools"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# add file counter, and change order of dispatch-conf
epatch "${FILESDIR}/calculate-builder-2.2.28-filesnum_dispatch.patch"
}

@ -0,0 +1,58 @@
commit ad97bc7e47e9d160446b4cb5dd4675a4dd2bb6a0
Author: Mike Hiretsky <mh@calculate.ru>
Date: Fri May 11 16:31:46 2012 +0400
Add filesnum variable for image
diff --git a/pym/cl_builder.py b/pym/cl_builder.py
index d84e542..d6477c7 100644
--- a/pym/cl_builder.py
+++ b/pym/cl_builder.py
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "2.2.28"
+__version__ = "2.2.28.1"
__app__ = "calculate-builder"
import os
diff --git a/pym/cl_fill_builder.py b/pym/cl_fill_builder.py
index 00ce478..fbaf6df 100644
--- a/pym/cl_fill_builder.py
+++ b/pym/cl_fill_builder.py
@@ -23,7 +23,7 @@ from os import access, R_OK,W_OK
from os import path
from cl_distr import Distributive
from cl_utils import getTupleVersion,genpassword,pathJoin,_toUNICODE, \
- getFilesCount,getCmdLineParam
+ getFilesCount,getCmdLineParam,countFiles
from operator import itemgetter
from types import ListType
from cl_datavars import iniParser
@@ -276,6 +276,11 @@ class fillVars(object, varsShare):
self.detectOtherShortname(systemRoot) or \
"Linux"
+ def get_os_builder_linux_filesnum(self):
+ """Files number in image system"""
+ systemRoot = self.Get('cl_builder_path')
+ return str(countFiles(systemRoot))
+
def get_os_builder_linux_ver(self):
"""Build system ver"""
linuxShortName = self.Get("os_builder_linux_shortname")
diff --git a/pym/cl_vars_builder.py b/pym/cl_vars_builder.py
index 8be43e7..44e4965 100644
--- a/pym/cl_vars_builder.py
+++ b/pym/cl_vars_builder.py
@@ -117,6 +117,9 @@ class Data:
# build system build
os_builder_linux_build = {'mode':'r','value':''}
+ # filesnum in build system
+ os_builder_linux_filesnum = {'mode':'r'}
+
# build system arch
os_builder_arch_machine = {}

@ -66,6 +66,7 @@ EBUILD calculate-utilities-2.2.28-r13.ebuild 866 RMD160 cdfe7b4fcd6c039ccb00a2fe
EBUILD calculate-utilities-2.2.28-r14.ebuild 866 RMD160 cdfe7b4fcd6c039ccb00a2fe5ceda78e6a1fd40f SHA1 6ead27eb70acb0e1f08db20d50761e85d8e255a2 SHA256 9acd8dd8d064db173d7565aba460aecd5c75190c7bf289b4121ee00ff785908e
EBUILD calculate-utilities-2.2.28-r15.ebuild 869 RMD160 986131517340d3494354196b69c0b74e36380a4d SHA1 4360d1e48a38f0c57e5089217629ba527b7f0112 SHA256 b72df07713d8028626259a72df4aedb9312b76a72c5d3e1e79575b6fb6556e49
EBUILD calculate-utilities-2.2.28-r16.ebuild 869 RMD160 c535acda2876ce26e66d1acb801331de9abd5590 SHA1 047e5b366e792fe4fe244ecf7ff8e729964fca60 SHA256 7d9141a59e2ec2269e42a4a592502789ccac00e372b767089d27938df89698dc
EBUILD calculate-utilities-2.2.28-r17.ebuild 869 RMD160 a4cab22cd35bbb405d0e75c68167f1397d5244bd SHA1 ddb0af4e5474247d9721789815f7b4e0d659bf8c SHA256 b1e7e1844e392b5fdda171c51dfc34b5ded6d1e379cf65a5e496e70eeea8806c
EBUILD calculate-utilities-2.2.28-r2.ebuild 860 RMD160 b56c73b3c4a4154889f7d77b2e953357d23c842d SHA1 5ca3456fe37e9324985f47ca095ae19bdc2c0bc1 SHA256 a585335e343c470cd91c8f1ec3814d3e64343f022e66215be86064e65e858e25
EBUILD calculate-utilities-2.2.28-r3.ebuild 863 RMD160 c13c0edb76be7060853cf425c4204a056df9d7d1 SHA1 98d05c7deb5868b6a0f0cf9776009670dc00bb0f SHA256 4d47839f2c7513cf4e5a0ea0c49168ba72e83e9b5f7a9f49a8270308fe9e5b11
EBUILD calculate-utilities-2.2.28-r4.ebuild 863 RMD160 0810acb8c13bf278c23824d543bbd3b2b9762087 SHA1 2cdf83114749a71b8ccebbdafedf86bf08671436 SHA256 6e0137409a878b8d7b771c7b0ae379c017ba0411d06b89f49a3ee94f292c33ba

@ -0,0 +1,36 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
DESCRIPTION="Calculate Utilities meta package"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="
cl_assemble
cl_builder
cl_client
cl_desktop
cl_installgui
cl_server
"
RDEPEND="${RDEPEND}
!sys-apps/calculate-templates
=sys-apps/calculate-install-2.2.28-r1
=sys-apps/calculate-lib-2.2.28-r7
=sys-apps/calculate-i18n-2.2.28
cl_assemble? ( =sys-apps/calculate-assemble-2.2.28-r5 )
cl_builder? ( =sys-apps/calculate-builder-2.2.28-r2 )
cl_client? ( =sys-apps/calculate-client-2.2.28-r1 )
cl_desktop? ( =sys-apps/calculate-desktop-2.2.28 )
cl_installgui? ( =app-misc/calculate-install-gui-2.2.28 )
cl_server? ( =sys-apps/calculate-server-2.1.15-r5 )
"
Loading…
Cancel
Save