<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta-skeleton/recipes-skeleton, branch 1.3_M4</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.3_M4</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.3_M4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2012-08-06T14:18:48+00:00</updated>
<entry>
<title>useradd-example: use ${datadir} instead of /usr/share for packaging</title>
<updated>2012-08-06T14:18:48+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2012-08-05T19:48:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=84728a1e8f7dbccc36e883dd5bed72f21f727d8e'/>
<id>urn:sha1:84728a1e8f7dbccc36e883dd5bed72f21f727d8e</id>
<content type='text'>
It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

(From OE-Core rev: b93a9dadc9a2754d4e33929bda8dba46dd20b694)

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd-example.bb: update example documentation comments</title>
<updated>2011-11-10T11:37:12+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-11-09T02:42:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bef492a2d71d8306a2c8abffd27fb119b624185b'/>
<id>urn:sha1:bef492a2d71d8306a2c8abffd27fb119b624185b</id>
<content type='text'>
Clarify that only packages listed in USERADD_PACKAGES will
include the user/group creation code.

(From OE-Core rev: 70aaac37968bf2b35d6a536c3f3f69fe3620255c)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>useradd-example: example recipe for using inherit useradd</title>
<updated>2011-07-01T16:17:34+00:00</updated>
<author>
<name>Scott Garman</name>
<email>scott.a.garman@intel.com</email>
</author>
<published>2011-05-18T17:44:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=39502562bf06042eac1e67ec5972b9fcbea1528f'/>
<id>urn:sha1:39502562bf06042eac1e67ec5972b9fcbea1528f</id>
<content type='text'>
An example recipe for demonstrating/documenting how user and
group manipulation is done with 'inherit useradd'

(From OE-Core rev: 89a89caa555e288314c72594a589dcac081154ad)

Signed-off-by: Scott Garman &lt;scott.a.garman@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Add a skeleton for init scripts</title>
<updated>2011-05-18T13:32:45+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2011-05-17T03:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ffef4dad894a6c8401ea0409936f52fe8e333fb2'/>
<id>urn:sha1:ffef4dad894a6c8401ea0409936f52fe8e333fb2</id>
<content type='text'>
Add a skeleton for init scripts, the original structure is from
/etc/init.d/skeleton of Ubuntu 10.10, it is in sysvinit_2.87dsf, so add
the COPYRIGHT(GPLv2) of sysvinit_2.87dsf. Modified the original skeleton
a lot to make it as easy as possible, just use posix shell command, and
have tested it with core-image-minimal.

* The skeleton implements the following actions:
  - start, stop, restart, status, try-restart and force-reload.
    # force-reload is a alias of try-restart.

  - not implements reload, since only a few programs have it, just leave
    it as placeholder.

* Add /usr/sbin/skeleton-test to test /etc/init.d/skeleton

* The /etc/init.d/skeleton can be run and output the example messages:
  1) #./skeleton start (test start)
     Starting skeleton ...

  2) #./skeleton start (test start again when running)
     skeleton already running (1078).

  3) #./skeleton status (test status when running)
     skeleton is running (1078).

  4) #./skeleton stop (test stop)
     Stopped skeleton (1078).

  5) #./skeleton stop (test stop again)
     skeleton is not running; none killed.

  6) #./skeleton status (test status when stopped)
     skeleton is not running.

  7) #./skeleton restart (test restart when running)
     Stopped skeleton (1128).
     Starting skeleton ...

  8) #./skeleton restart (test restart when stopped)
     skeleton is not running; none killed.
     Starting skeleton ...

  9)  try-restart (or force-reload) means restart the service if the
      service is already running

     #./skeleton try-restart (test try-restart when stopped)
     skeleton is not running; none killed.

     #./skeleton try-restart (test try-restart when running)
      Stopped skeleton (1181).
      Starting skeleton ...

* Have used syslogd to test it in a real world(with both
  core-image-minimal and core-image-sato)

(From OE-Core rev: c1b6f840ad7c483e905f9a19eb2b5a8eac0b9973)

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
