<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/sysstat, branch uninative-2.6</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.6</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.6'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2019-06-19T11:46:43+00:00</updated>
<entry>
<title>systat: systemd never enables the service</title>
<updated>2019-06-19T11:46:43+00:00</updated>
<author>
<name>Stefano Babic</name>
<email>sbabic@denx.de</email>
</author>
<published>2019-06-18T10:06:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ffdd54954b40881f73a600cf941dfc38c428d9f0'/>
<id>urn:sha1:ffdd54954b40881f73a600cf941dfc38c428d9f0</id>
<content type='text'>
Even if SYSTEMD_AUTO_ENABLE is set to "enable", the service is never
activated by systemd. The cause is the postinst function in the recipe:

 pkg_postinst_${PN} () {
         if [ -n "$D" ]; then
                 exit 0
         fi
         if [ -e /etc/init.d/populate-volatile.sh ]; then
                 /etc/init.d/populate-volatile.sh update
         fi
 }

This generates with activated systemd the following postinst script:

	set -e
	        if [ -n "$D" ]; then
	                exit 0
	        fi
	        if [ -e /etc/init.d/populate-volatile.sh ]; then
	                /etc/init.d/populate-volatile.sh update
	        fi
	OPTS=""

	if [ -n "$D" ]; then
	    OPTS="--root=$D"
	fi

	if type systemctl &gt;/dev/null 2&gt;/dev/null; then
		if [ -z "$D" ]; then
			systemctl daemon-reload
		fi

		systemctl $OPTS enable sysstat.service

		if [ -z "$D" -a "enable" = "enable" ]; then
			systemctl --no-block restart sysstat.service
		fi
	fi

Due to the exit statement, systemctl is never called and the service is
never enabled in rootfs.
Invert the logic for the check to let run the rest of postinst script.

(From OE-Core rev: 24ccfd80edb74871d0d69ddbe83c358f04ac0844)

Signed-off-by: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: add UPSTREAM_VERSION_UNKNOWN</title>
<updated>2019-06-01T10:27:07+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2019-05-31T20:41:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9ad477cf40c29110003c59225c701ec72ef8138a'/>
<id>urn:sha1:9ad477cf40c29110003c59225c701ec72ef8138a</id>
<content type='text'>
We are taking a development version from an odd-even versioned project,
so upstream version check reports that the latest version is less than
the one the recipe is using.

UPSTREAM_VERSION_UNKNOWN avoids a version check failure until
there is a new stable series.

(From OE-Core rev: 0e7a4a14dc63588cfd5f6adff527f7613bb69c55)

Signed-off-by: Alexander Kanavin &lt;alex.kanavin@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: Add PACKAGECONFIG[cron] for '--enable-install-cron' option</title>
<updated>2019-05-16T15:35:12+00:00</updated>
<author>
<name>Haiqing Bai</name>
<email>Haiqing.Bai@windriver.com</email>
</author>
<published>2019-05-16T01:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=15d400f1e2ca1e760c10a912617c6b38ebb43243'/>
<id>urn:sha1:15d400f1e2ca1e760c10a912617c6b38ebb43243</id>
<content type='text'>
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.

(From OE-Core rev: 3ee977629331843cc811b6571d13fa02f5593a10)

Signed-off-by: Haiqing Bai &lt;Haiqing.Bai@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: inherit upstream-version-is-even</title>
<updated>2019-05-09T15:31:55+00:00</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@stusta.de</email>
</author>
<published>2019-05-08T20:01:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2278d8ef6559de3e47131136e298531b4bbc48d0'/>
<id>urn:sha1:2278d8ef6559de3e47131136e298531b4bbc48d0</id>
<content type='text'>
Currently a development version is being used.

(From OE-Core rev: ddc2baa8b7ef6ecd6ed450bb8b3ed986b6797d9f)

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: upgrade to 12.1.3</title>
<updated>2019-02-20T11:37:37+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2019-02-20T01:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a17abae00785c76cfffe5381a22fb2c86b982e82'/>
<id>urn:sha1:a17abae00785c76cfffe5381a22fb2c86b982e82</id>
<content type='text'>
(From OE-Core rev: ca407f2409328740dac7af34e0e6a0ede578cb2f)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: upgrade to 12.1.1</title>
<updated>2018-12-05T22:30:19+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-12-05T08:40:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8a0fb932e975c63ce5db2a95cb7cc1c3c33967db'/>
<id>urn:sha1:8a0fb932e975c63ce5db2a95cb7cc1c3c33967db</id>
<content type='text'>
(From OE-Core rev: af912ac17f406ff11319eb33bc0d3910bcea39ef)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: upgrade 11.7.3 -&gt; 11.7.4</title>
<updated>2018-07-24T10:52:26+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-07-17T16:39:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=437a5ace77f7aff75e01a3fa5ee08e37b9a5fe0a'/>
<id>urn:sha1:437a5ace77f7aff75e01a3fa5ee08e37b9a5fe0a</id>
<content type='text'>
(From OE-Core rev: 8a50ab1ebf1b9b274521c194662d9144f99304fc)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: upgrade to 11.7.3</title>
<updated>2018-05-15T09:56:50+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-05-11T02:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1773acf3949920d26b8345e218a35c687e8d8273'/>
<id>urn:sha1:1773acf3949920d26b8345e218a35c687e8d8273</id>
<content type='text'>
(From OE-Core rev: cbfabe9aeb2d1876a41119df126cdac3034762ab)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: refresh patches</title>
<updated>2018-03-11T13:27:01+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-03-09T18:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cb8d69d28b7094d22f332877431b0fc099800b8f'/>
<id>urn:sha1:cb8d69d28b7094d22f332877431b0fc099800b8f</id>
<content type='text'>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 53f2bbba35c63afa14c5fcb33b83b0ee061840ca)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: refresh patches</title>
<updated>2018-03-07T14:34:51+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2017-11-15T16:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3cc4408f3adb2a70da04425adb68ae1dca03d2a9'/>
<id>urn:sha1:3cc4408f3adb2a70da04425adb68ae1dca03d2a9</id>
<content type='text'>
The patch tool will apply patches by default with "fuzz", which is where if the
hunk context isn't present but what is there is close enough, it will force the
patch in.

Whilst this is useful when there's just whitespace changes, when applied to
source it is possible for a patch applied with fuzz to produce broken code which
still compiles (see #10450).  This is obviously bad.

We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For
that to be realistic the existing patches with fuzz need to be rebased and
reviewed.

(From OE-Core rev: 4a0c9bb514ff3d6966f1da480cd48c076403f58d)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
