* [PATCH 0/1] cronie: Updates to cronie @ 2011-08-22 6:37 wenzong.fan 2011-08-22 6:37 ` [PATCH 1/1] " wenzong.fan ` (2 more replies) 0 siblings, 3 replies; 12+ messages in thread From: wenzong.fan @ 2011-08-22 6:37 UTC (permalink / raw) To: openembedded-core From: Wenzong Fan <wenzong.fan@windriver.com> Some minor updates to cronie. The following changes since commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b: Scott Rifenbark (1): documentation/adt-manual/adt-command.xml: general edits. are available in the git repository at: git://git.pokylinux.org/poky-contrib wenzong/update_cronie http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/update_cronie Wenzong Fan (1): cronie: Updates to cronie meta/recipes-extended/cronie/cronie/crond.init | 2 -- meta/recipes-extended/cronie/cronie_1.4.8.bb | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/1] cronie: Updates to cronie 2011-08-22 6:37 [PATCH 0/1] cronie: Updates to cronie wenzong.fan @ 2011-08-22 6:37 ` wenzong.fan 2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang 2011-08-24 22:48 ` [PATCH 0/1] cronie: Updates to cronie Saul Wold 2 siblings, 0 replies; 12+ messages in thread From: wenzong.fan @ 2011-08-22 6:37 UTC (permalink / raw) To: openembedded-core From: Wenzong Fan <wenzong.fan@windriver.com> 1) Add required pam plugins to RDEPENDS list; 2) Correct configure option that used for enable pam support; 3) Create empty crond config file cron.deny; 4) Don't set readonly variable UID in crond init script. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> --- meta/recipes-extended/cronie/cronie/crond.init | 2 -- meta/recipes-extended/cronie/cronie_1.4.8.bb | 8 ++++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/meta/recipes-extended/cronie/cronie/crond.init b/meta/recipes-extended/cronie/cronie/crond.init index 050c37e..08f34be 100755 --- a/meta/recipes-extended/cronie/cronie/crond.init +++ b/meta/recipes-extended/cronie/cronie/crond.init @@ -21,8 +21,6 @@ CONFIG=/etc/sysconfig/crond # Source function library. . /etc/init.d/functions -UID=`id -u` - case "$1" in start) if [ $UID -ne 0 ] ; then diff --git a/meta/recipes-extended/cronie/cronie_1.4.8.bb b/meta/recipes-extended/cronie/cronie_1.4.8.bb index 4cfdfad..064347e 100644 --- a/meta/recipes-extended/cronie/cronie_1.4.8.bb +++ b/meta/recipes-extended/cronie/cronie_1.4.8.bb @@ -15,7 +15,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \ SECTION = "utils" DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" -PR = "r0" +RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_DEPS}', '', d)}" +PAM_DEPS = "libpam libpam-runtime pam-plugin-access pam-plugin-loginuid" + +PR = "r1" SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ file://crond.init \ @@ -31,7 +34,7 @@ SRC_URI[sha256sum] = "a3b910876f255712f1a5c364b74f34b0ceac9f6f3bbc45e854c5722785 inherit autotools update-rc.d EXTRA_OECONF += "\ - ${@base_contains('DISTRO_FEATURES', 'pam', '--with-libpam', '--without-libpam', d)}" + ${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)}" INITSCRIPT_NAME = "crond" INITSCRIPT_PARAMS = "start 90 2 3 4 5 . stop 60 0 1 6 ." @@ -50,6 +53,7 @@ do_install_append () { mkdir -p ${D}${sysconfdir}/cron.daily mkdir -p ${D}${sysconfdir}/cron.weekly mkdir -p ${D}${sysconfdir}/cron.monthly + touch ${D}${sysconfdir}/cron.deny } FILES_${PN} += "${sysconfdir}/cron*" -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* new feature? (for "DL_DIR") 2011-08-22 6:37 [PATCH 0/1] cronie: Updates to cronie wenzong.fan 2011-08-22 6:37 ` [PATCH 1/1] " wenzong.fan @ 2011-08-22 7:56 ` Ni Qingliang 2011-08-22 11:12 ` Gary Thomas 2011-08-26 2:27 ` Ni Qingliang 2011-08-24 22:48 ` [PATCH 0/1] cronie: Updates to cronie Saul Wold 2 siblings, 2 replies; 12+ messages in thread From: Ni Qingliang @ 2011-08-22 7:56 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Do we can assign all package be downloaded from the same path? I want setup one internal server to store the files in upstreamsources, and all developer's PC use it but not the original package address. -- Yi Qingliang 倪庆亮 Insigma ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang @ 2011-08-22 11:12 ` Gary Thomas 2011-08-22 20:27 ` Saul Wold 2011-08-26 2:27 ` Ni Qingliang 1 sibling, 1 reply; 12+ messages in thread From: Gary Thomas @ 2011-08-22 11:12 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 2011-08-22 01:56, Ni Qingliang wrote: > Do we can assign all package be downloaded from the same path? > > I want setup one internal server to store the files in upstreamsources, > and all developer's PC use it but not the original package address. > Just add these lines to your .conf (I put them in my ${DISTRO}.conf): # Provide pre-staged sources SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/" INHERIT += "own-mirrors" Simply point SOURCE_MIRROR_URL at your file cache. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 11:12 ` Gary Thomas @ 2011-08-22 20:27 ` Saul Wold 2011-08-22 20:55 ` Gary Thomas 0 siblings, 1 reply; 12+ messages in thread From: Saul Wold @ 2011-08-22 20:27 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 08/22/2011 04:12 AM, Gary Thomas wrote: > On 2011-08-22 01:56, Ni Qingliang wrote: >> Do we can assign all package be downloaded from the same path? >> >> I want setup one internal server to store the files in upstreamsources, >> and all developer's PC use it but not the original package address. >> > > Just add these lines to your .conf (I put them in my ${DISTRO}.conf): > # Provide pre-staged sources > SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/" > INHERIT += "own-mirrors" > > Simply point SOURCE_MIRROR_URL at your file cache. > You could also use PREMIRRORS in the developer's local.conf, point PREMIRRORS for packages to your internal server (could be ftp, http or file when mounted via NFS). Sau! ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 20:27 ` Saul Wold @ 2011-08-22 20:55 ` Gary Thomas 2011-08-22 20:59 ` Gary Thomas 0 siblings, 1 reply; 12+ messages in thread From: Gary Thomas @ 2011-08-22 20:55 UTC (permalink / raw) To: Saul Wold; +Cc: Patches and discussions about the oe-core layer On 2011-08-22 14:27, Saul Wold wrote: > On 08/22/2011 04:12 AM, Gary Thomas wrote: >> On 2011-08-22 01:56, Ni Qingliang wrote: >>> Do we can assign all package be downloaded from the same path? >>> >>> I want setup one internal server to store the files in upstreamsources, >>> and all developer's PC use it but not the original package address. >>> >> >> Just add these lines to your .conf (I put them in my ${DISTRO}.conf): >> # Provide pre-staged sources >> SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/" >> INHERIT += "own-mirrors" >> >> Simply point SOURCE_MIRROR_URL at your file cache. >> > You could also use PREMIRRORS in the developer's local.conf, point > PREMIRRORS for packages to your internal server (could be ftp, http or file when mounted via NFS). But then you end up typing all the patterns for the various file types, etc. own-mirrors does all that for you by creating a PREMIRRORS variable based on the single SOURCE_MIRROR_URL -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 20:55 ` Gary Thomas @ 2011-08-22 20:59 ` Gary Thomas 2011-08-23 1:01 ` Ni Qingliang 0 siblings, 1 reply; 12+ messages in thread From: Gary Thomas @ 2011-08-22 20:59 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 2011-08-22 14:55, Gary Thomas wrote: > On 2011-08-22 14:27, Saul Wold wrote: >> On 08/22/2011 04:12 AM, Gary Thomas wrote: >>> On 2011-08-22 01:56, Ni Qingliang wrote: >>>> Do we can assign all package be downloaded from the same path? >>>> >>>> I want setup one internal server to store the files in upstreamsources, >>>> and all developer's PC use it but not the original package address. >>>> >>> >>> Just add these lines to your .conf (I put them in my ${DISTRO}.conf): >>> # Provide pre-staged sources >>> SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/" >>> INHERIT += "own-mirrors" >>> >>> Simply point SOURCE_MIRROR_URL at your file cache. >>> >> You could also use PREMIRRORS in the developer's local.conf, point >> PREMIRRORS for packages to your internal server (could be ftp, http or file when mounted via NFS). > > But then you end up typing all the patterns for the various file types, etc. > > own-mirrors does all that for you by creating a PREMIRRORS variable based > on the single SOURCE_MIRROR_URL Also, to be used as a complete cache, SOURCE_MIRROR_URL should point to the same cache directory as DL_DIR does. So I really should have said # Provide pre-staged sources DL_DIR = "/opt/amltd/poky/sources" SOURCE_MIRROR_URL = "file://${DL_DIR}/" INHERIT += "own-mirrors" -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 20:59 ` Gary Thomas @ 2011-08-23 1:01 ` Ni Qingliang 0 siblings, 0 replies; 12+ messages in thread From: Ni Qingliang @ 2011-08-23 1:01 UTC (permalink / raw) To: Patches and discussions about the oe-core layer THANKS! I will try it! On Tue, 2011-08-23 at 04:59 +0800, Gary Thomas wrote: > On 2011-08-22 14:55, Gary Thomas wrote: > > On 2011-08-22 14:27, Saul Wold wrote: > >> On 08/22/2011 04:12 AM, Gary Thomas wrote: > >>> On 2011-08-22 01:56, Ni Qingliang wrote: > >>>> Do we can assign all package be downloaded from the same path? > >>>> > >>>> I want setup one internal server to store the files in upstreamsources, > >>>> and all developer's PC use it but not the original package address. > >>>> > >>> > >>> Just add these lines to your .conf (I put them in my ${DISTRO}.conf): > >>> # Provide pre-staged sources > >>> SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/" > >>> INHERIT += "own-mirrors" > >>> > >>> Simply point SOURCE_MIRROR_URL at your file cache. > >>> > >> You could also use PREMIRRORS in the developer's local.conf, point > >> PREMIRRORS for packages to your internal server (could be ftp, http or file when mounted via NFS). > > > > But then you end up typing all the patterns for the various file types, etc. > > > > own-mirrors does all that for you by creating a PREMIRRORS variable based > > on the single SOURCE_MIRROR_URL > > Also, to be used as a complete cache, SOURCE_MIRROR_URL should point > to the same cache directory as DL_DIR does. So I really should have > said > # Provide pre-staged sources > DL_DIR = "/opt/amltd/poky/sources" > SOURCE_MIRROR_URL = "file://${DL_DIR}/" > INHERIT += "own-mirrors" > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core -- Yi Qingliang 倪庆亮 Insigma ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang 2011-08-22 11:12 ` Gary Thomas @ 2011-08-26 2:27 ` Ni Qingliang 2011-08-26 2:47 ` Ni Qingliang 1 sibling, 1 reply; 12+ messages in thread From: Ni Qingliang @ 2011-08-26 2:27 UTC (permalink / raw) To: Patches and discussions about the oe-core layer thanks again, I have setup an internal package server (http), and the client can use it in poky. but I have another problem for git svn( for the .gz .bz2 package, no problem), the source code of the packages using git/svn/hg are directories in the server, does the client can use it??? On Mon, 2011-08-22 at 15:56 +0800, 倪庆亮 wrote: > Do we can assign all package be downloaded from the same path? > > I want setup one internal server to store the files in upstreamsources, > and all developer's PC use it but not the original package address. > > -- > Yi Qingliang > 倪庆亮 > > Insigma > > -- Yi Qingliang 倪庆亮 Insigma ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-26 2:27 ` Ni Qingliang @ 2011-08-26 2:47 ` Ni Qingliang 2011-08-26 8:38 ` Gary Thomas 0 siblings, 1 reply; 12+ messages in thread From: Ni Qingliang @ 2011-08-26 2:47 UTC (permalink / raw) To: Patches and discussions about the oe-core layer I found that: for every vcs (e.g. git) package, except a directory in "git" or "git2", there is another file "*.tar.gz" in the downloads dir. but for my own package, e.g linux 2.6.35 for i.mx28, only the directory under "git2", I can't found the tar.gz file in downloads, why? On Fri, 2011-08-26 at 10:27 +0800, 倪庆亮 wrote: > thanks again, I have setup an internal package server (http), and the > client can use it in poky. > > but I have another problem for git svn( for the .gz .bz2 package, no > problem), the source code of the packages using git/svn/hg are > directories in the server, does the client can use it??? > > On Mon, 2011-08-22 at 15:56 +0800, 倪庆亮 wrote: > > Do we can assign all package be downloaded from the same path? > > > > I want setup one internal server to store the files in upstreamsources, > > and all developer's PC use it but not the original package address. > > > > -- > > Yi Qingliang > > 倪庆亮 > > > > Insigma > > > > > > -- > Yi Qingliang > 倪庆亮 > > Insigma > > -- Yi Qingliang 倪庆亮 Insigma ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: new feature? (for "DL_DIR") 2011-08-26 2:47 ` Ni Qingliang @ 2011-08-26 8:38 ` Gary Thomas 0 siblings, 0 replies; 12+ messages in thread From: Gary Thomas @ 2011-08-26 8:38 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 2011-08-25 20:47, Ni Qingliang wrote: > I found that: for every vcs (e.g. git) package, except a directory in > "git" or "git2", there is another file "*.tar.gz" in the downloads dir. > > but for my own package, e.g linux 2.6.35 for i.mx28, only the directory > under "git2", I can't found the tar.gz file in downloads, why? > > On Fri, 2011-08-26 at 10:27 +0800, 倪庆亮 wrote: >> thanks again, I have setup an internal package server (http), and the >> client can use it in poky. >> >> but I have another problem for git svn( for the .gz .bz2 package, no >> problem), the source code of the packages using git/svn/hg are >> directories in the server, does the client can use it??? >> >> On Mon, 2011-08-22 at 15:56 +0800, 倪庆亮 wrote: >>> Do we can assign all package be downloaded from the same path? >>> >>> I want setup one internal server to store the files in upstreamsources, >>> and all developer's PC use it but not the original package address. Set this in your .conf BB_GENERATE_MIRROR_TARBALLS ?= "1" When you use 'own-mirrors', you'll end up with a "downloads" directory in your build tree. This will include symbolic links to files already found in your cache, as well as any files newly downloaded during a build. You probably want to push out the new files to your cache from this downloads directory. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/1] cronie: Updates to cronie 2011-08-22 6:37 [PATCH 0/1] cronie: Updates to cronie wenzong.fan 2011-08-22 6:37 ` [PATCH 1/1] " wenzong.fan 2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang @ 2011-08-24 22:48 ` Saul Wold 2 siblings, 0 replies; 12+ messages in thread From: Saul Wold @ 2011-08-24 22:48 UTC (permalink / raw) To: Patches and discussions about the oe-core layer On 08/21/2011 11:37 PM, wenzong.fan@windriver.com wrote: > From: Wenzong Fan<wenzong.fan@windriver.com> > > Some minor updates to cronie. > > The following changes since commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b: > Scott Rifenbark (1): > documentation/adt-manual/adt-command.xml: general edits. > > are available in the git repository at: > > git://git.pokylinux.org/poky-contrib wenzong/update_cronie > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/update_cronie > > Wenzong Fan (1): > cronie: Updates to cronie > > meta/recipes-extended/cronie/cronie/crond.init | 2 -- > meta/recipes-extended/cronie/cronie_1.4.8.bb | 8 ++++++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > Merged into OE-Core Thanks Sau! ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-08-26 8:42 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-22 6:37 [PATCH 0/1] cronie: Updates to cronie wenzong.fan 2011-08-22 6:37 ` [PATCH 1/1] " wenzong.fan 2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang 2011-08-22 11:12 ` Gary Thomas 2011-08-22 20:27 ` Saul Wold 2011-08-22 20:55 ` Gary Thomas 2011-08-22 20:59 ` Gary Thomas 2011-08-23 1:01 ` Ni Qingliang 2011-08-26 2:27 ` Ni Qingliang 2011-08-26 2:47 ` Ni Qingliang 2011-08-26 8:38 ` Gary Thomas 2011-08-24 22:48 ` [PATCH 0/1] cronie: Updates to cronie Saul Wold
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.