All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] dracut: upgrade from 038 to 043
@ 2015-07-17  7:50 Kai Kang
  2015-07-20  6:47 ` Koen Kooi
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Kang @ 2015-07-17  7:50 UTC (permalink / raw)
  To: openembedded-devel

Upgrade dracut from 038 to 043. Update SRC_URI by replacing git with tar
ball. And update bb file name at same time.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 .../recipes-devtools/dracut/dracut_043.bb          | 53 +++++++++++++++++++++
 .../recipes-devtools/dracut/dracut_git.bb          | 55 ----------------------
 2 files changed, 53 insertions(+), 55 deletions(-)
 create mode 100644 meta-initramfs/recipes-devtools/dracut/dracut_043.bb
 delete mode 100644 meta-initramfs/recipes-devtools/dracut/dracut_git.bb

diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_043.bb b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
new file mode 100644
index 0000000..22c6bae
--- /dev/null
+++ b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
@@ -0,0 +1,53 @@
+SUMMARY = "Initramfs generator using udev"
+DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+PE = "1"
+
+SRC_URI = "${KERNELORG_MIRROR}/linux/utils/boot/dracut/dracut-043.tar.xz"
+
+SRC_URI[md5sum] = "85de75ddf00962e7bb0ae387f05794e5"
+SRC_URI[sha256sum] = "1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1"
+
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "systemd"
+
+EXTRA_OECONF = "--prefix=${prefix} \
+                --libdir=${libdir} \
+                --datadir=${datadir} \
+                --sysconfdir=${sysconfdir} \
+                --sbindir=${sbindir} \
+                --disable-documentation \
+                --bindir=${bindir} \
+                --includedir=${includedir} \
+                --localstatedir=${localstatedir} \
+                --systemdsystemunitdir=${systemd_unitdir}/system"
+
+do_configure() {
+    ./configure ${EXTRA_OECONF}
+}
+
+do_install() {
+    oe_runmake install DESTDIR=${D}
+}
+
+PACKAGES =+ "${PN}-bash-completion"
+
+FILES_${PN}-bash-completion = "${datadir}/bash-completion"
+
+FILES_${PN} += " ${libdir}/kernel \
+                ${systemd_unitdir} \
+               "
+CONFFILES_${PN} += "${sysconfdir}/dracut.conf"
+
+RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid util-linux-getopt bash ldd"
+RDEPENDS_${PN}-bash-completion = "bash-completion"
+
+# This could be optimized a bit, but let's avoid non-booting systems :)
+RRECOMMENDS_${PN} = " \
+                     kernel-modules \
+                     busybox \
+                     coreutils \ 
+                    "
diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
deleted file mode 100644
index 77c137c..0000000
--- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
+++ /dev/null
@@ -1,55 +0,0 @@
-SUMMARY = "Initramfs generator using udev"
-DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d."
-
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-
-PE = "1"
-PV = "038"
-
-# v038 tag
-SRCREV = "267a109a81715c8957f14659593deb7b6255d40e"
-SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git"
-
-S = "${WORKDIR}/git"
-
-inherit distro_features_check
-REQUIRED_DISTRO_FEATURES = "systemd"
-
-EXTRA_OECONF = "--prefix=${prefix} \
-                --libdir=${libdir} \
-                --datadir=${datadir} \
-                --sysconfdir=${sysconfdir} \
-                --sbindir=${sbindir} \
-                --disable-documentation \
-                --bindir=${bindir} \
-                --includedir=${includedir} \
-                --localstatedir=${localstatedir} \
-                --systemdsystemunitdir=${systemd_unitdir}/system"
-
-do_configure() {
-    ./configure ${EXTRA_OECONF}
-}
-
-do_install() {
-    oe_runmake install DESTDIR=${D}
-}
-
-PACKAGES =+ "${PN}-bash-completion"
-
-FILES_${PN}-bash-completion = "${datadir}/bash-completion"
-
-FILES_${PN} += " ${libdir}/kernel \
-                ${systemd_unitdir} \
-               "
-CONFFILES_${PN} += "${sysconfdir}/dracut.conf"
-
-RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid util-linux-getopt bash ldd"
-RDEPENDS_${PN}-bash-completion = "bash-completion"
-
-# This could be optimized a bit, but let's avoid non-booting systems :)
-RRECOMMENDS_${PN} = " \
-                     kernel-modules \
-                     busybox \
-                     coreutils \ 
-                    "
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] dracut: upgrade from 038 to 043
  2015-07-17  7:50 [meta-oe][PATCH] dracut: upgrade from 038 to 043 Kai Kang
@ 2015-07-20  6:47 ` Koen Kooi
  2015-07-21  2:49   ` Kang Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Koen Kooi @ 2015-07-20  6:47 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kai Kang schreef op 17-07-15 om 09:50:
> Upgrade dracut from 038 to 043. Update SRC_URI by replacing git with tar 
> ball.

Why? That makes it really hard to pull in post-release fixes :(


> And update bb file name at same time.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com> --- 
> .../recipes-devtools/dracut/dracut_043.bb          | 53
> +++++++++++++++++++++ .../recipes-devtools/dracut/dracut_git.bb
> | 55 ---------------------- 2 files changed, 53 insertions(+), 55
> deletions(-) create mode 100644
> meta-initramfs/recipes-devtools/dracut/dracut_043.bb delete mode 100644
> meta-initramfs/recipes-devtools/dracut/dracut_git.bb
> 
> diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
> b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb new file mode
> 100644 index 0000000..22c6bae --- /dev/null +++
> b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb @@ -0,0 +1,53 @@ 
> +SUMMARY = "Initramfs generator using udev" +DESCRIPTION = "Dracut is an
> event driven initramfs infrastructure. dracut (the tool) is used to
> create an initramfs image by copying tools and files from an installed
> system and combining it with the dracut framework, usually found in
> /usr/lib/dracut/modules.d." + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +PE = "1" + 
> +SRC_URI =
> "${KERNELORG_MIRROR}/linux/utils/boot/dracut/dracut-043.tar.xz" + 
> +SRC_URI[md5sum] = "85de75ddf00962e7bb0ae387f05794e5" +SRC_URI[sha256sum]
> = "1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1" + 
> +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "systemd" + 
> +EXTRA_OECONF = "--prefix=${prefix} \ +                --libdir=${libdir}
> \ +                --datadir=${datadir} \ +
> --sysconfdir=${sysconfdir} \ +                --sbindir=${sbindir} \ +
> --disable-documentation \ +                --bindir=${bindir} \ +
> --includedir=${includedir} \ +
> --localstatedir=${localstatedir} \ +
> --systemdsystemunitdir=${systemd_unitdir}/system" + +do_configure() { +
> ./configure ${EXTRA_OECONF} +} + +do_install() { +    oe_runmake install
> DESTDIR=${D} +} + +PACKAGES =+ "${PN}-bash-completion" + 
> +FILES_${PN}-bash-completion = "${datadir}/bash-completion" + 
> +FILES_${PN} += " ${libdir}/kernel \ +                ${systemd_unitdir}
> \ +               " +CONFFILES_${PN} += "${sysconfdir}/dracut.conf" + 
> +RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid
> util-linux-getopt bash ldd" +RDEPENDS_${PN}-bash-completion =
> "bash-completion" + +# This could be optimized a bit, but let's avoid
> non-booting systems :) +RRECOMMENDS_${PN} = " \ +
> kernel-modules \ +                     busybox \ +
> coreutils \ +                    " diff --git
> a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
> b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb deleted file mode
> 100644 index 77c137c..0000000 ---
> a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ /dev/null @@
> -1,55 +0,0 @@ -SUMMARY = "Initramfs generator using udev" -DESCRIPTION =
> "Dracut is an event driven initramfs infrastructure. dracut (the tool) is
> used to create an initramfs image by copying tools and files from an
> installed system and combining it with the dracut framework, usually
> found in /usr/lib/dracut/modules.d." - -LICENSE = "GPLv2" 
> -LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -PE = "1" -PV =
> "038" - -# v038 tag -SRCREV = "267a109a81715c8957f14659593deb7b6255d40e" 
> -SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git" - -S =
> "${WORKDIR}/git" - -inherit distro_features_check 
> -REQUIRED_DISTRO_FEATURES = "systemd" - -EXTRA_OECONF =
> "--prefix=${prefix} \ -                --libdir=${libdir} \ -
> --datadir=${datadir} \ -                --sysconfdir=${sysconfdir} \ -
> --sbindir=${sbindir} \ -                --disable-documentation \ -
> --bindir=${bindir} \ -                --includedir=${includedir} \ -
> --localstatedir=${localstatedir} \ -
> --systemdsystemunitdir=${systemd_unitdir}/system" - -do_configure() { -
> ./configure ${EXTRA_OECONF} -} - -do_install() { -    oe_runmake install
> DESTDIR=${D} -} - -PACKAGES =+ "${PN}-bash-completion" - 
> -FILES_${PN}-bash-completion = "${datadir}/bash-completion" - 
> -FILES_${PN} += " ${libdir}/kernel \ -                ${systemd_unitdir}
> \ -               " -CONFFILES_${PN} += "${sysconfdir}/dracut.conf" - 
> -RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid
> util-linux-getopt bash ldd" -RDEPENDS_${PN}-bash-completion =
> "bash-completion" - -# This could be optimized a bit, but let's avoid
> non-booting systems :) -RRECOMMENDS_${PN} = " \ -
> kernel-modules \ -                     busybox \ -
> coreutils \ -                    "
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFVrJl6MkyGM64RGpERAjOSAJ0eXwXMBI1/z6Gy3xLv/iGi5oMZXgCdGeGG
VmSTSLZO3ncjQ0jfrdIFa98=
=hnRL
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] dracut: upgrade from 038 to 043
  2015-07-20  6:47 ` Koen Kooi
@ 2015-07-21  2:49   ` Kang Kai
  0 siblings, 0 replies; 3+ messages in thread
From: Kang Kai @ 2015-07-21  2:49 UTC (permalink / raw)
  To: openembedded-devel, Koen Kooi

On 2015年07月20日 14:47, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kai Kang schreef op 17-07-15 om 09:50:
>> Upgrade dracut from 038 to 043. Update SRC_URI by replacing git with tar
>> ball.
> Why? That makes it really hard to pull in post-release fixes :(

No special reason. For most packages, if it has specfic releases, we 
often have the recipe pkg_version.bb.
For dracut, I didn't realize the necessary to keep the _git version. For 
the post-release fixes, I thought
it should be take them as backport patches.

If this change makes hard to backport patches, I'll send V2 to keep _git 
version.

--Kai

>
>
>> And update bb file name at same time.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com> ---
>> .../recipes-devtools/dracut/dracut_043.bb          | 53
>> +++++++++++++++++++++ .../recipes-devtools/dracut/dracut_git.bb
>> | 55 ---------------------- 2 files changed, 53 insertions(+), 55
>> deletions(-) create mode 100644
>> meta-initramfs/recipes-devtools/dracut/dracut_043.bb delete mode 100644
>> meta-initramfs/recipes-devtools/dracut/dracut_git.bb
>>
>> diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_043.bb
>> b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb new file mode
>> 100644 index 0000000..22c6bae --- /dev/null +++
>> b/meta-initramfs/recipes-devtools/dracut/dracut_043.bb @@ -0,0 +1,53 @@
>> +SUMMARY = "Initramfs generator using udev" +DESCRIPTION = "Dracut is an
>> event driven initramfs infrastructure. dracut (the tool) is used to
>> create an initramfs image by copying tools and files from an installed
>> system and combining it with the dracut framework, usually found in
>> /usr/lib/dracut/modules.d." + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM =
>> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +PE = "1" +
>> +SRC_URI =
>> "${KERNELORG_MIRROR}/linux/utils/boot/dracut/dracut-043.tar.xz" +
>> +SRC_URI[md5sum] = "85de75ddf00962e7bb0ae387f05794e5" +SRC_URI[sha256sum]
>> = "1484b558ed20330125aa04dcccab84da15c5689e19068285aa011f7177889cd1" +
>> +inherit distro_features_check +REQUIRED_DISTRO_FEATURES = "systemd" +
>> +EXTRA_OECONF = "--prefix=${prefix} \ +                --libdir=${libdir}
>> \ +                --datadir=${datadir} \ +
>> --sysconfdir=${sysconfdir} \ +                --sbindir=${sbindir} \ +
>> --disable-documentation \ +                --bindir=${bindir} \ +
>> --includedir=${includedir} \ +
>> --localstatedir=${localstatedir} \ +
>> --systemdsystemunitdir=${systemd_unitdir}/system" + +do_configure() { +
>> ./configure ${EXTRA_OECONF} +} + +do_install() { +    oe_runmake install
>> DESTDIR=${D} +} + +PACKAGES =+ "${PN}-bash-completion" +
>> +FILES_${PN}-bash-completion = "${datadir}/bash-completion" +
>> +FILES_${PN} += " ${libdir}/kernel \ +                ${systemd_unitdir}
>> \ +               " +CONFFILES_${PN} += "${sysconfdir}/dracut.conf" +
>> +RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid
>> util-linux-getopt bash ldd" +RDEPENDS_${PN}-bash-completion =
>> "bash-completion" + +# This could be optimized a bit, but let's avoid
>> non-booting systems :) +RRECOMMENDS_${PN} = " \ +
>> kernel-modules \ +                     busybox \ +
>> coreutils \ +                    " diff --git
>> a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb
>> b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb deleted file mode
>> 100644 index 77c137c..0000000 ---
>> a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ /dev/null @@
>> -1,55 +0,0 @@ -SUMMARY = "Initramfs generator using udev" -DESCRIPTION =
>> "Dracut is an event driven initramfs infrastructure. dracut (the tool) is
>> used to create an initramfs image by copying tools and files from an
>> installed system and combining it with the dracut framework, usually
>> found in /usr/lib/dracut/modules.d." - -LICENSE = "GPLv2"
>> -LIC_FILES_CHKSUM =
>> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -PE = "1" -PV =
>> "038" - -# v038 tag -SRCREV = "267a109a81715c8957f14659593deb7b6255d40e"
>> -SRC_URI = "git://git.kernel.org/pub/scm/boot/dracut/dracut.git" - -S =
>> "${WORKDIR}/git" - -inherit distro_features_check
>> -REQUIRED_DISTRO_FEATURES = "systemd" - -EXTRA_OECONF =
>> "--prefix=${prefix} \ -                --libdir=${libdir} \ -
>> --datadir=${datadir} \ -                --sysconfdir=${sysconfdir} \ -
>> --sbindir=${sbindir} \ -                --disable-documentation \ -
>> --bindir=${bindir} \ -                --includedir=${includedir} \ -
>> --localstatedir=${localstatedir} \ -
>> --systemdsystemunitdir=${systemd_unitdir}/system" - -do_configure() { -
>> ./configure ${EXTRA_OECONF} -} - -do_install() { -    oe_runmake install
>> DESTDIR=${D} -} - -PACKAGES =+ "${PN}-bash-completion" -
>> -FILES_${PN}-bash-completion = "${datadir}/bash-completion" -
>> -FILES_${PN} += " ${libdir}/kernel \ -                ${systemd_unitdir}
>> \ -               " -CONFFILES_${PN} += "${sysconfdir}/dracut.conf" -
>> -RDEPENDS_${PN} = "systemd findutils cpio util-linux-blkid
>> util-linux-getopt bash ldd" -RDEPENDS_${PN}-bash-completion =
>> "bash-completion" - -# This could be optimized a bit, but let's avoid
>> non-booting systems :) -RRECOMMENDS_${PN} = " \ -
>> kernel-modules \ -                     busybox \ -
>> coreutils \ -                    "
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> Comment: GPGTools - http://gpgtools.org
>
> iD8DBQFVrJl6MkyGM64RGpERAjOSAJ0eXwXMBI1/z6Gy3xLv/iGi5oMZXgCdGeGG
> VmSTSLZO3ncjQ0jfrdIFa98=
> =hnRL
> -----END PGP SIGNATURE-----
>


-- 
Regards,
Neil | Kai Kang



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-21  2:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-17  7:50 [meta-oe][PATCH] dracut: upgrade from 038 to 043 Kai Kang
2015-07-20  6:47 ` Koen Kooi
2015-07-21  2:49   ` Kang Kai

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.