Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] at: make at usable for common user
@ 2011-08-17  9:43 Kang Kai
  2011-08-17  9:43 ` [PATCH 1/1] " Kang Kai
  2011-08-22 23:49 ` [PATCH 0/1] " Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Kang Kai @ 2011-08-17  9:43 UTC (permalink / raw)
  To: openembedded-core

From: Kang Kai <kai.kang@windriver.com>

Fixes [Yocto #1297]
    
The pkg_postinst was added to fix Yocto #675. But it seems not needed
any more. Remove it then unprivilege user could use at.

The following changes since commit a21ff559e7c93e9da61104f4a33e42e6004189fd:

  Fixup remaining bb.msg.domain users (2011-08-15 17:31:52 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/at
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/at

Kang Kai (1):
  at: make at usable for common user

 meta/recipes-extended/at/at_3.1.12.bb |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)

-- 
1.7.5.1.300.gc565c




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] at: make at usable for common user
  2011-08-17  9:43 [PATCH 0/1] at: make at usable for common user Kang Kai
@ 2011-08-17  9:43 ` Kang Kai
  2011-08-22 23:49 ` [PATCH 0/1] " Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Kang Kai @ 2011-08-17  9:43 UTC (permalink / raw)
  To: openembedded-core

From: Kang Kai <kai.kang@windriver.com>

Fixes [Yocto #1297]

The pkg_postinst was added to fix Yocto #675. But it seems not needed
any more. Remove it then unprivilege user could use at.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/at/at_3.1.12.bb |   26 +++++---------------------
 1 files changed, 5 insertions(+), 21 deletions(-)

diff --git a/meta/recipes-extended/at/at_3.1.12.bb b/meta/recipes-extended/at/at_3.1.12.bb
index c76b50e..baf15df 100644
--- a/meta/recipes-extended/at/at_3.1.12.bb
+++ b/meta/recipes-extended/at/at_3.1.12.bb
@@ -4,11 +4,14 @@ the system load levels drop to a particular level."
 SECTION = "base"
 LICENSE="GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
-DEPENDS = "flex libpam initscripts \
+DEPENDS = "flex initscripts \
 	${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
+RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}"
+PAM_DEPS = "libpam libpam-runtime pam-plugin-env pam-plugin-limits"
+
 RCONFLICTS_${PN} = "atd"
 RREPLACES_${PN} = "atd"
-PR = "r5"
+PR = "r6"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
     file://configure.patch \
@@ -56,23 +59,4 @@ do_install () {
 	done
 }
 
-pkg_postinst_${PN} () {
-	if [ "x$D" != "x" ] ; then
-		exit 1
-	fi
-
-	# below is necessary to allow at usable to normal users
-	# now at is has its own /var/spool/at instead of under /var/spool/cron
-	# this way is better to allow setgid on both sides
-	grep "^daemon" /etc/group || groupadd daemon
-	chown root:daemon /usr/bin/at
-	chmod 2755 /usr/bin/at
-
-	chown root:daemon -R /var/spool/at
-	chmod 770 -R /var/spool/at
-
-	chown root:daemon /etc/at.deny
-	chmod 640 /etc/at.deny
-}
-
 PARALLEL_MAKE = ""
-- 
1.7.5.1.300.gc565c




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/1] at: make at usable for common user
  2011-08-17  9:43 [PATCH 0/1] at: make at usable for common user Kang Kai
  2011-08-17  9:43 ` [PATCH 1/1] " Kang Kai
@ 2011-08-22 23:49 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-08-22 23:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 08/17/2011 02:43 AM, Kang Kai wrote:
> From: Kang Kai<kai.kang@windriver.com>
>
> Fixes [Yocto #1297]
>
> The pkg_postinst was added to fix Yocto #675. But it seems not needed
> any more. Remove it then unprivilege user could use at.
>
> The following changes since commit a21ff559e7c93e9da61104f4a33e42e6004189fd:
>
>    Fixup remaining bb.msg.domain users (2011-08-15 17:31:52 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib kangkai/at
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/at
>
> Kang Kai (1):
>    at: make at usable for common user
>
>   meta/recipes-extended/at/at_3.1.12.bb |   26 +++++---------------------
>   1 files changed, 5 insertions(+), 21 deletions(-)
>

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-22 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17  9:43 [PATCH 0/1] at: make at usable for common user Kang Kai
2011-08-17  9:43 ` [PATCH 1/1] " Kang Kai
2011-08-22 23:49 ` [PATCH 0/1] " Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox