meta-toolchain: Run rmdir only if empty dirs are actually found.
Denys Dmytriyenko
Acked-byQuoted 8 lines
Prevent a failure in
do_populate_sdkwhen there are no empty directories:
/bin/rmdir: missing operand
Try `/bin/rmdir --help' for more information.See also http://tinderbox.openembedded.net/packages/478437/
Signed-off-by Antonio Ospite <[email protected]>
Quoted 21 lines
---
recipes/meta/meta-toolchain.bb | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)recipes/meta/meta-toolchain.bb +0
-0@@ -67,7 +67,7 @@ do_populate_sdk() {rm -Rf ${SDK_OUTPUT}/usr/lib
# Clean up empty directories from excluded packages
- find ${SDK_OUTPUT} -depth -type d -empty -print0 | xargs -0/bin/rmdir+ find ${SDK_OUTPUT} -depth -type d -empty -print0 | xargs -r0/bin/rmdir
install -d ${SDK_OUTPUT}/${SDKPATH}/${TARGET_SYS}/${sysconfdir} install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATH}/${TARGET_SYS}/${sysconfdir}/
--
1.6.6.2
Hello.
Quoted 9 lines · Denys Dmytriyenko
Quoted 8 lines
Prevent a failure in
do_populate_sdkwhen there are no empty directories:
/bin/rmdir: missing operand
Try `/bin/rmdir --help' for more information.See also http://tinderbox.openembedded.net/packages/478437/
Signed-off-by Antonio Ospite <[email protected]>
Acked and pushed. Now I need to find out how to update patchwork with the new status...
regards
Stefan Schmidt
Update state in Patchwork. (was: [PATCH] meta-toolchain: Run rmdir only if empty dirs are actually found.)
Dear Stefan,
Am Sonntag, den 14.02.2010, 14:09 +0100 schrieb Stefan Schmidt:
Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines
Quoted 5 lines
Prevent a failure in
do_populate_sdkwhen there are no empty directories:
/bin/rmdir: missing operand
Try `/bin/rmdir --help' for more information.
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
See also http://tinderbox.openembedded.net/packages/478437/
Signed-off-by Antonio Ospite <[email protected]>Acked and pushed. Now I need to find out how to update patchwork with the new status...
1. Register an account at [1].
2. Update the state.
a) Use the Web interface.
b) Use pwclient [2] and set it up with your account details and do the following.
$ pwclient update -s applied -c <commit-ref> <ID>
Thanks,
Paul
[1] http://patchwork.openembedded.org/project/openembedded/list/
[2] http://patchwork.openembedded.org/project/openembedded/ (at the bottom)
Re: Update state in Patchwork. (was: [PATCH] meta-toolchain: Run rmdir only if empty dirs are actually found.)
Hello.
Quoted 10 lines · Paul Menzel
Am Sonntag, den 14.02.2010, 14:09 +0100 schrieb Stefan Schmidt:
Quoted 8 lines · Denys Dmytriyenko
Quoted 7 lines
Quoted 7 lines
Prevent a failure in
do_populate_sdkwhen there are no empty directories:
/bin/rmdir: missing operand
Try `/bin/rmdir --help' for more information.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
Quoted 1 line
Signed-off-by Antonio Ospite <[email protected]>Acked and pushed. Now I need to find out how to update patchwork with the new status...
1. Register an account at [1].
Already done.
Quoted 1 line
2. Update the state.
How? The webinterface does not offer my the functionality to change the state. I guess it is because I'm not in the right group or have otherwise not enough permissions in patchwork. As I just registered the account today it could be that I'm to late in the game to get updated with the rights in the last batch. :)
regards
Stefan Schmidt
Re: Update state in Patchwork. (was: [PATCH] meta-toolchain: Run rmdir only if empty dirs are actually found.)
Quoted 10 lines
Quoted 1 line
2. Update the state.
How? The webinterface does not offer my the functionality to change the state. I guess it is because I'm not in the right group or have otherwise not enough permissions in patchwork. As I just registered the account today it could be that I'm to late in the game to get updated with the rights in the last batch. :)
regards
Stefan Schmidt
I think you have to add the email address, the patch has been sent from, to your account at [1].
(Atleast then I could update the status of MY patches that have been rejected/applied by others.)
Regards,
Michael
Re: Update state in Patchwork. (was: [PATCH] meta-toolchain: Run rmdir only if empty dirs are actually found.)
Am Sonntag, den 14.02.2010, 17:37 +0100 schrieb Michael Lippautz:
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
2. Update the state.
How? The webinterface does not offer my the functionality to change the state. I guess it is because I'm not in the right group or have otherwise not enough permissions in patchwork. As I just registered the account today it could be that I'm to late in the game to get updated with the rights in the last batch. :)
Quoted 5 lines
I think you have to add the email address, the patch has been sent from, to your account at [1].
(Atleast then I could update the status of MY patches that have been rejected/applied by others.)
I did not have do this as far as I can remember (there is just my own address there). I just had to activate/confirm my account per email. Now I have the options to change the state if I choose a patch from the list [2].
Does it work with pwclient for you?
Thanks,
Paul
[2] http://patchwork.openembedded.org/project/openembedded/list/
Re: Update state in Patchwork. (was: [PATCH] meta-toolchain: Run rmdir only if empty dirs are actually found.)
Quoted 12 lines · Paul Menzel
Am Sonntag, den 14.02.2010, 17:37 +0100 schrieb Michael Lippautz:
Quoted 11 lines
Quoted 7 lines
Quoted 1 line
2. Update the state.
How? The webinterface does not offer my the functionality to change the state. I guess it is because I'm not in the right group or have otherwise not enough permissions in patchwork. As I just registered the account today it could be that I'm to late in the game to get updated with the rights in the last batch. :)
I think you have to add the email address, the patch has been sent from, to your account at [1].
Quoted 7 lines
Quoted 2 lines
(Atleast then I could update the status of MY patches that have been rejected/applied by others.)
I did not have do this as far as I can remember (there is just my own address there). I just had to activate/confirm my account per email. Now I have the options to change the state if I choose a patch from the list [2].
Ask admins to enable proper permissions for your account and/or add you to the right group. Please don't add someone else's email addresses to your account.
Signature · 1 line
Denys