From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S3Sde-0003SX-Kf for openembedded-core@lists.openembedded.org; Fri, 02 Mar 2012 14:35:14 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q22DQhpF031936 for ; Fri, 2 Mar 2012 13:26:43 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31841-01 for ; Fri, 2 Mar 2012 13:26:39 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q22DQYLn031930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Mar 2012 13:26:35 GMT Message-ID: <1330694798.18076.3.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Fri, 02 Mar 2012 13:26:38 +0000 In-Reply-To: <81a428ea0e7515ab09e707fbdaba9b1a1b5050b6.1330684260.git.liezhi.yang@windriver.com> References: <81a428ea0e7515ab09e707fbdaba9b1a1b5050b6.1330684260.git.liezhi.yang@windriver.com> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH 1/1] V2 Fix libpam's chmod X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 13:35:14 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2012-03-02 at 18:34 +0800, Robert Yang wrote: > The libpam's has an error when generating the rootfs: > > chmod: cannot access `/usr/sbin/unix_chkpwd': No such file or directory > > This is because the following code in libpam_1.1.5.bb: > > pkg_postinst_pam-plugin-unix () { > # below is necessary to allow unix_chkpwd get user info from shadow file > # on lsb images > chmod 4755 ${sbindir}/unix_chkpwd > } > > This is to set the setuid permission for unix_chkpwd (the lsb test > requires this), but it lacks a "${D}", and we can do this in the install > stage. > > [YOCTO #2049] > > Signed-off-by: Robert Yang Robert, in future patches could you use a subject line like: [PATCH 1/1 v2] Fix libpam's chmod instead of: [PATCH 1/1] V2 Fix libpam's chmod so that when the patches get applied, the V2 is stripped off? The reason is that the value isn't particularly within the repository once merged and doesn't look good when looking through commit history. Thanks! Richard