<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-extended/sysstat, branch master-next2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=master-next2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=master-next2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2019-09-07T06:47:24+00:00</updated>
<entry>
<title>sysstat: 12.1.3 -&gt; 12.1.6</title>
<updated>2019-09-07T06:47:24+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2019-09-04T09:35:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=19086789d947916a11bad23a039f35757b0ead80'/>
<id>urn:sha1:19086789d947916a11bad23a039f35757b0ead80</id>
<content type='text'>
Update sysstat from 12.1.3 to 12.1.6.

* make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when
  multilib is enabled

(From OE-Core rev: 8862f21eeb814c64b8b9e662b093ed39474cd55b)

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>sysstat: Use sysstat.service in source for cron with systemd</title>
<updated>2019-07-15T08:29:59+00:00</updated>
<author>
<name>Haiqing Bai</name>
<email>Haiqing.Bai@windriver.com</email>
</author>
<published>2019-07-12T12:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=adb34c109832b2626af7fef4793c92abfc5b9dfe'/>
<id>urn:sha1:adb34c109832b2626af7fef4793c92abfc5b9dfe</id>
<content type='text'>
The sysstat.service script in source launchs sysstat-collect and sysstat-summary
services when cron is installed with systemd. At this time, the upstream
sysstat.service must be installed.

(From OE-Core rev: 06a596ff8100f4a6506ff8d7f9ec93dd6aac6cb2)

Signed-off-by: Haiqing Bai &lt;Haiqing.Bai@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>Revert "sysstat: use service file from source codes"</title>
<updated>2019-07-15T08:29:59+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2019-07-12T12:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f0c0e393fe02cc6ced7fd3d7ca9e02f13fbef01c'/>
<id>urn:sha1:f0c0e393fe02cc6ced7fd3d7ca9e02f13fbef01c</id>
<content type='text'>
This doesn't actually work as the unit file is only installed if cron support is
enabled.

This reverts commit 721f09d4897425c7131470bd756eee1b90937feb.

(From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa)

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: use service file from source codes</title>
<updated>2019-07-10T08:56:22+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2019-07-09T05:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=721f09d4897425c7131470bd756eee1b90937feb'/>
<id>urn:sha1:721f09d4897425c7131470bd756eee1b90937feb</id>
<content type='text'>
Use service file from sysstat source codes.

(From OE-Core rev: 2266c8f627af71b89628c25dc412977054ebcd4a)

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>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>
</feed>
