Skip to contentSkip to conversation

packagegroup-docker:initial add

PATCH In review Chunrong Guo 2 participants 6 messages Apr 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 packagegroup-docker:initial add

From: Chunrong Guo <[email protected]>

---
 recipes-containers/packagegroups/packagegroup-docker.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-containers/packagegroups/packagegroup-docker.bb
recipes-containers/packagegroups/packagegroup-docker.bb new file +13 -0
new file mode 100644
index 0000000..8ac7600
@@ -0,0 +1,13 @@
+DESCRIPTION = "Install docker tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "docker \
+    docker-registry  \
+" 
Signature · 1 line
1.9.0
#1 lore raw

PATCH 2/3 packagegroup-lxc: initial add

From: Chunrong Guo <[email protected]>

---
 recipes-containers/packagegroups/packagegroup-lxc.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-containers/packagegroups/packagegroup-lxc.bb
recipes-containers/packagegroups/packagegroup-lxc.bb new file +13 -0
new file mode 100644
index 0000000..25954ca
@@ -0,0 +1,13 @@
+DESCRIPTION = "Install lxc tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "docker \
+    docker-registry  \
+" 
Signature · 1 line
1.9.0
#2 lore raw

Re: [PATCH 2/3] packagegroup-lxc: initial add

Quoted 19 lines · Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 recipes-containers/packagegroups/packagegroup-lxc.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-containers/packagegroups/packagegroup-lxc.bb
recipes-containers/packagegroups/packagegroup-lxc.bb new file +3 -0
new file mode 100644
index 0000000..25954ca
@@ -0,0 +1,13 @@
+DESCRIPTION = "Install lxc tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=

4d92cd373abda3937c2bc47fbc49d690"

recipes-containers/packagegroups/packagegroup-lxc.bb line 12

Quoted 9 lines
recipes-containers/packagegroups/packagegroup-lxc.bb new file +9 -0
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "docker \
+    docker-registry  \

This RDEPENDS is wrong.

Bruce

Quoted 10 lines

+"
--
1.9.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#3 lore raw

PATCH 3/3 packagegroup-virtualization: initial add

In reply to Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 .../packagegroups/packagegroup-virtualization.bb           | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 recipes-extended/packagegroups/packagegroup-virtualization.bb
recipes-extended/packagegroups/packagegroup-virtualization.bb new file +14 -0
new file mode 100644
index 0000000..7e9dae5
@@ -0,0 +1,14 @@
+DESCRIPTION = "All packages virtualization packages"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
+    'libvirt \
+    libvirt-libvirtd \
+    libvirt-virsh \
+    '', d)} \
+" 
Signature · 1 line
1.9.0
#4 lore raw

Re: [PATCH 3/3] packagegroup-virtualization: initial add

This package group doesn't make a lot of sense, its name is far to general/broad
to only contain libvirt.

There's such a broad set of package that are required for system level use out of
meta-virtualization that we've generally stayed away from package groups.

Cheers,

Bruce

Quoted 40 lines · Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 .../packagegroups/packagegroup-virtualization.bb           | 14
++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 recipes-extended/packagegroups/packagegroup-

virtualization.bb

recipes-extended/packagegroups/packagegroup-virtualization.bb new file +3 -0
new file mode 100644
index 0000000..7e9dae5
@@ -0,0 +1,14 @@
+DESCRIPTION = "All packages virtualization packages"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=

3f40d7994397109285ec7b81fdeb3b58"

recipes-extended/packagegroups/packagegroup-virtualization.bb new file +11 -1
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
+    'libvirt \
+    libvirt-libvirtd \
+    libvirt-virsh \
+    '', d)} \
+"
--

1.9.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#5 lore raw
In reply to Chunrong Guo

I don't see the point of this. Most people absolutely do not need docker-registry whenever
docker is installed.

So this is just a packagegroup that is wrapping the install of docker + one optional
dependency.

What problem are you trying to solve ?

Bruce

Quoted 39 lines · Chunrong Guo

From: Chunrong Guo <[email protected]>

---
 recipes-containers/packagegroups/packagegroup-docker.bb | 13
+++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 recipes-containers/packagegroups/packagegroup-

docker.bb

recipes-containers/packagegroups/packagegroup-docker.bb new file +3 -0
new file mode 100644
index 0000000..8ac7600
@@ -0,0 +1,13 @@
+DESCRIPTION = "Install docker tools"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=

3f40d7994397109285ec7b81fdeb3b58"

recipes-containers/packagegroups/packagegroup-docker.bb new file +10 -1
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit packagegroup
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "docker \
+    docker-registry  \
+"
--

1.9.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"