diff options
| author | Jonathan Liu <net147@gmail.com> | 2013-07-08 05:37:30 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-08 10:36:21 +0200 |
| commit | 82f7bdc63e084e8482be0914d9b46fc10cada185 (patch) | |
| tree | b49017d430e08dd9e9761f49a05c17ed55538859 /meta-oe/recipes-connectivity/samba | |
| parent | a0726a33b3f9eac73ecd63314866fae7d956094a (diff) | |
| download | meta-openembedded-82f7bdc63e084e8482be0914d9b46fc10cada185.tar.gz | |
samba: remove /var/lock and /var/run from package
The /var/lock and /var/run directories are already created by
base-files.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba')
| -rw-r--r-- | meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb index a27a28c7de..255c0b4868 100644 --- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb +++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | |||
| @@ -57,3 +57,9 @@ do_configure() { | |||
| 57 | do_compile () { | 57 | do_compile () { |
| 58 | base_do_compile | 58 | base_do_compile |
| 59 | } | 59 | } |
| 60 | |||
| 61 | do_install_append() { | ||
| 62 | rmdir "${D}${localstatedir}/lock" | ||
| 63 | rmdir "${D}${localstatedir}/run" | ||
| 64 | rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" | ||
| 65 | } | ||
