When doing an incremental image generation, ensure that makedevs returns true
when it encounters
a node that already exists, otherwise image generation will fail.
[YOCTO #5288]
Signed-off-by: Saul Wold s...@linux.intel.com
---
meta/classes/image.bbclass | 2 +-
1 file changed, 1 insertion(+),
On 10/1/13 10:40 AM, Saul Wold wrote:
When doing an incremental image generation, ensure that makedevs returns true
when it encounters
a node that already exists, otherwise image generation will fail.
[YOCTO #5288]
Signed-off-by: Saul Wold s...@linux.intel.com
---
meta/classes/image.bbclass
This ensures that makedevs will not cause image creation failures
when it encounters a pipe (fifo) that exists from a previous image.
The other file/device creation code either ignore this error or check
for file type.
[YOCTO #5288]
Signed-off-by: Saul Wold s...@linux.intel.com
---
On Tue, 2013-10-01 at 09:51 -0700, Saul Wold wrote:
static void add_new_fifo(char *name, char *path, unsigned long uid,
unsigned long gid, unsigned long mode)
{
- if (mknod(path, mode, 0))
+ if (mknod(path, mode, 0) errno != EEXIST)
On 10/1/13 11:51 AM, Saul Wold wrote:
This ensures that makedevs will not cause image creation failures
when it encounters a pipe (fifo) that exists from a previous image.
The other file/device creation code either ignore this error or check
for file type.
[YOCTO #5288]
Signed-off-by: Saul
On Oct 1, 2013, at 9:56 AM, Phil Blundell p...@pbcl.net wrote:
On Tue, 2013-10-01 at 09:51 -0700, Saul Wold wrote:
static void add_new_fifo(char *name, char *path, unsigned long uid,
unsigned long gid, unsigned long mode)
{
-if (mknod(path, mode, 0))
+
From: Felipe F. Tonello e...@felipetonello.com
Since when updating packages packages managers do not remove the previous
package,
it just replaces new files and run pre/post install scripts. This causes not
to update update-rc scripts if they were changed.
This patch is useful in case the newer
On 9/30/13 11:26 AM, Paul Eggleton wrote:
On Thursday 26 September 2013 13:23:32 qi.c...@windriver.com wrote:
From: Chen Qi qi.c...@windriver.com
The buildhistory.bbclass always records PV instead of PKGV. However,
the buildhistory-diff script treats PKGV as a monitored variable
instead of PV.
This ensures that makedevs will not cause image creation failures
when it encounters a pipe (fifo) that exists from a previous image.
This handles mode changes and it will correctly fail for dangling
symlinks.
[YOCTO #5288]
Signed-off-by: Saul Wold s...@linux.intel.com
makedev
Signed-off-by:
On Tue, 2013-10-01 at 12:15 -0700, Saul Wold wrote:
+ int status;
+ struct stat sb;
+
+ memset(sb, 0, sizeof(struct stat));
+ status = stat(path, sb);
Don't you want lstat() there? Also, I think *stat() is guaranteed to
fill in all of sb if it returns anything other than an
On 10/01/2013 12:49 PM, Phil Blundell wrote:
On Tue, 2013-10-01 at 12:15 -0700, Saul Wold wrote:
+ int status;
+ struct stat sb;
+
+ memset(sb, 0, sizeof(struct stat));
+ status = stat(path, sb);
Don't you want lstat() there? Also, I think *stat() is guaranteed to
On Tue, 2013-10-01 at 12:58 -0700, Saul Wold wrote:
On 10/01/2013 12:49 PM, Phil Blundell wrote:
On Tue, 2013-10-01 at 12:15 -0700, Saul Wold wrote:
+ int status;
+ struct stat sb;
+
+ memset(sb, 0, sizeof(struct stat));
+ status = stat(path, sb);
Don't you want lstat() there?
On 10/01/2013 01:07 PM, Phil Blundell wrote:
On Tue, 2013-10-01 at 12:58 -0700, Saul Wold wrote:
On 10/01/2013 12:49 PM, Phil Blundell wrote:
On Tue, 2013-10-01 at 12:15 -0700, Saul Wold wrote:
+ int status;
+ struct stat sb;
+
+ memset(sb, 0, sizeof(struct stat));
+
Make kmod-ptest able to compile with separated source and
build dir. Since kmod test files contain kernel modules for
many different architectures, strip and arch gets confused
and throws errors.
Signed-off-by: Tudor Florea tudor.flo...@enea.com
Signed-off-by: Björn Stenberg b...@enea.com
14 matches
Mail list logo