* [PATCH 0/1] fix rootfs generation bug
@ 2011-01-06 0:57 Darren Hart
2011-01-06 0:57 ` [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error Darren Hart
2011-01-06 17:47 ` [PATCH 0/1] fix rootfs generation bug Saul Wold
0 siblings, 2 replies; 4+ messages in thread
From: Darren Hart @ 2011-01-06 0:57 UTC (permalink / raw)
To: richard.purdie, poky
Fix a rootfs generation bug introduced by commit
5e384038cbd5035377d61a1b77ad23ab69e0cac0.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dvhart/build
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/build
Thanks,
Darren Hart <dvhart@linux.intel.com>
---
Darren Hart (1):
rootfs_rpm: fix rootfs generation rm error
meta/classes/rootfs_rpm.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error
2011-01-06 0:57 [PATCH 0/1] fix rootfs generation bug Darren Hart
@ 2011-01-06 0:57 ` Darren Hart
2011-01-06 1:47 ` Bruce Ashfield
2011-01-06 17:47 ` [PATCH 0/1] fix rootfs generation bug Saul Wold
1 sibling, 1 reply; 4+ messages in thread
From: Darren Hart @ 2011-01-06 0:57 UTC (permalink / raw)
To: richard.purdie, poky
During a poky-image-minimal build I ran into the following error:
rm: cannot remove `/vol/1/dvhart/poky.git/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/install': Is a directory
This is caused by a missing -r (recursive) argument to rm. This patch
adds that to the rm command of rootfs_rpm.bbclass.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
---
meta/classes/rootfs_rpm.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 2f7d691..8646eec 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -206,7 +206,7 @@ EOF
mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
# Remove all remaining resolver files
- rm -f ${IMAGE_ROOTFS}/install
+ rm -rf ${IMAGE_ROOTFS}/install
log_check rootfs
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error
2011-01-06 0:57 ` [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error Darren Hart
@ 2011-01-06 1:47 ` Bruce Ashfield
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2011-01-06 1:47 UTC (permalink / raw)
To: Darren Hart; +Cc: poky
On Wed, Jan 5, 2011 at 7:57 PM, Darren Hart <dvhart@linux.intel.com> wrote:
> During a poky-image-minimal build I ran into the following error:
> rm: cannot remove `/vol/1/dvhart/poky.git/build/tmp/work/atom-pc-poky-linux/poky-image-minimal-initramfs-1.0-r0/rootfs/install': Is a directory
>
> This is caused by a missing -r (recursive) argument to rm. This patch
> adds that to the rm command of rootfs_rpm.bbclass.
Thanks Darren. Beat me to it!
Looks good to me, definitely fixed my problems earlier.
Bruce
>
> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
> meta/classes/rootfs_rpm.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
> index 2f7d691..8646eec 100644
> --- a/meta/classes/rootfs_rpm.bbclass
> +++ b/meta/classes/rootfs_rpm.bbclass
> @@ -206,7 +206,7 @@ EOF
> mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
>
> # Remove all remaining resolver files
> - rm -f ${IMAGE_ROOTFS}/install
> + rm -rf ${IMAGE_ROOTFS}/install
>
> log_check rootfs
>
> --
> 1.7.1
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] fix rootfs generation bug
2011-01-06 0:57 [PATCH 0/1] fix rootfs generation bug Darren Hart
2011-01-06 0:57 ` [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error Darren Hart
@ 2011-01-06 17:47 ` Saul Wold
1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-01-06 17:47 UTC (permalink / raw)
To: Darren Hart; +Cc: poky
On 01/05/2011 04:57 PM, Darren Hart wrote:
> Fix a rootfs generation bug introduced by commit
> 5e384038cbd5035377d61a1b77ad23ab69e0cac0.
>
> Pull URL: git://git.pokylinux.org/poky-contrib.git
> Branch: dvhart/build
> Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dvhart/build
>
> Thanks,
> Darren Hart<dvhart@linux.intel.com>
> ---
>
>
> Darren Hart (1):
> rootfs_rpm: fix rootfs generation rm error
>
> meta/classes/rootfs_rpm.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
Pulled into Master
Thanks
Sau!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-06 17:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 0:57 [PATCH 0/1] fix rootfs generation bug Darren Hart
2011-01-06 0:57 ` [PATCH 1/1] rootfs_rpm: fix rootfs generation rm error Darren Hart
2011-01-06 1:47 ` Bruce Ashfield
2011-01-06 17:47 ` [PATCH 0/1] fix rootfs generation bug 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.