* [meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4
@ 2017-05-11 1:48 Dengke Du
2017-05-11 12:52 ` Joe MacDonald
0 siblings, 1 reply; 2+ messages in thread
From: Dengke Du @ 2017-05-11 1:48 UTC (permalink / raw)
To: mark.hatle, Joe_MacDonald; +Cc: yocto
Changed in V5:
Let the subject more clear.
Changed in V4:
Make the comments more clear.
Changed in V3:
Rebase the patch on the latest master branch.
Delete the does not exist files when run task do_package.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
recipes-devtools/rpm/rpm_%.bbappend | 4 ----
1 file changed, 4 deletions(-)
diff --git a/recipes-devtools/rpm/rpm_%.bbappend b/recipes-devtools/rpm/rpm_%.bbappend
index 199a7e4..9f3ec90 100644
--- a/recipes-devtools/rpm/rpm_%.bbappend
+++ b/recipes-devtools/rpm/rpm_%.bbappend
@@ -1,8 +1,4 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-FILES_${PN} += "${libdir}/rpm/bin/spooktool \
- ${libdir}/rpm/bin/semodule \
- "
-
inherit with-selinux
PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4
2017-05-11 1:48 [meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4 Dengke Du
@ 2017-05-11 12:52 ` Joe MacDonald
0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2017-05-11 12:52 UTC (permalink / raw)
To: Dengke Du; +Cc: yocto
[-- Attachment #1.1: Type: text/plain, Size: 1276 bytes --]
[[meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4] On 17.05.10 (Wed 21:48) Dengke Du wrote:
> Changed in V5:
> Let the subject more clear.
>
> Changed in V4:
> Make the comments more clear.
> Changed in V3:
> Rebase the patch on the latest master branch.
>
> Delete the does not exist files when run task do_package.
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> recipes-devtools/rpm/rpm_%.bbappend | 4 ----
> 1 file changed, 4 deletions(-)
I'll merge this and modify the commit log myself, but please note this
still isn't what I was asking for in the attached. All of the "Changed
in..." lines should be after the --- line in your email.
-J.
>
> diff --git a/recipes-devtools/rpm/rpm_%.bbappend b/recipes-devtools/rpm/rpm_%.bbappend
> index 199a7e4..9f3ec90 100644
> --- a/recipes-devtools/rpm/rpm_%.bbappend
> +++ b/recipes-devtools/rpm/rpm_%.bbappend
> @@ -1,8 +1,4 @@
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -FILES_${PN} += "${libdir}/rpm/bin/spooktool \
> - ${libdir}/rpm/bin/semodule \
> - "
> -
> inherit with-selinux
> PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
--
-Joe MacDonald.
:wq
[-- Attachment #1.2: Type: message/rfc822, Size: 4019 bytes --]
[-- Attachment #1.2.1.1: Type: text/plain, Size: 2348 bytes --]
[[yocto] [meta-selinux][PATCH V3] rpm: modify the rpm bbappend file to suitable for rpm4] On 17.05.10 (Wed 03:03) Dengke Du wrote:
> Changed in V3:
> rebase the patch on the latest master branch.
>
> 1. change the rpm_5.4.16.bbappend to rpm_git.bbappend, this is
> because the rpm in oe-core has become rpm4 from rpm5.
>
> 2. drop the patch for rpm5.
>
> 3. delete the does not exist files when run task do_package.
>
> Signed-off-by: Dengke Du <dengke.du@windriver.com>
> ---
> recipes-devtools/rpm/{rpm_%.bbappend => rpm_git.bbappend} | 4 ----
> 1 file changed, 4 deletions(-)
> rename recipes-devtools/rpm/{rpm_%.bbappend => rpm_git.bbappend} (56%)
I think I understand what you're looking to do here, but the comments
are completely unclear. A commit log should look something like:
rpm: move rpm recipe to rpm_git
<explanation of the problem and how this solves it>
Signed-off-by: Dengke Du <dengke.du@windriver.com>
---
<diffstat, possibly commentary or further explanation that's not
important to the commit log itself and explanation of what's changed
between different versions of the patch, since this is a v3>
You can accomplish this with the --annotate flag to git-send-email and
then in your editor just ensure the revision history and additional
commentary goes after the --- line.
As for the change, deleting package contents that are no longer present
is fine, but why change % to git in the recipe name? We moved from a
specific version number to % so we would be somewhat divorced from the
changes in oe-core, this change reverses that decision.
-J.
> diff --git a/recipes-devtools/rpm/rpm_%.bbappend b/recipes-devtools/rpm/rpm_git.bbappend
> similarity index 56%
> rename from recipes-devtools/rpm/rpm_%.bbappend
> rename to recipes-devtools/rpm/rpm_git.bbappend
> index 199a7e4..9f3ec90 100644
> --- a/recipes-devtools/rpm/rpm_%.bbappend
> +++ b/recipes-devtools/rpm/rpm_git.bbappend
> @@ -1,8 +1,4 @@
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> -FILES_${PN} += "${libdir}/rpm/bin/spooktool \
> - ${libdir}/rpm/bin/semodule \
> - "
> -
> inherit with-selinux
> PACKAGECONFIG[selinux] = "${WITH_SELINUX},${WITHOUT_SELINUX},libsemanage,"
> --
> 2.11.0
>
--
-Joe MacDonald.
:wq
[-- Attachment #1.2.1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-11 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 1:48 [meta-selinux][PATCH V5] rpm: modify the rpm bbappend file to suitable for rpm4 Dengke Du
2017-05-11 12:52 ` Joe MacDonald
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.