Fwd: Re: Clr Installer images do not boot into desktop GUI
by Jeffrey Hurwit
Not used to Thunderbird on mailing lists, I wound up replying directly
to the sender. Sorry about that!
-------- Forwarded Message --------
Subject: Re: [Clr-dev] Clr Installer images do not boot into desktop GUI
Date: Mon, 26 Nov 2018 10:53:22 -0800
From: Jeffrey Hurwit <nirgendsdorf(a)frontier.com>
To: Michael Larabel <Michael(a)phoronix.com>
On Mon, 26 Nov 2018 11:57:16 -0600, Michael Larabel
<Michael(a)phoronix.com> wrote:
> The conventional Clear installer works just fine on the systems as
> well as if installing it and then adding the desktop bundle yields a
> working GNOME session.
>
> Michael
Thank you, Michael, I will try that out. I had put the kde bundle on and
was preparing to research on how to create the necessary "rc" config
files it needs, but I'll try this first.
Jeff
3 years, 6 months
[PATCH] service-os: remove linux-pk414-sos package
by Chang Rebecca Swee Fun
We have migrated to use linux-iot-lts2018-sos package.
Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang(a)intel.com>
---
bundles/service-os | 1 -
1 file changed, 1 deletion(-)
diff --git a/bundles/service-os b/bundles/service-os
index 216071d..0e61dc0 100644
--- a/bundles/service-os
+++ b/bundles/service-os
@@ -8,7 +8,6 @@
include(bootloader)
linux-firmware
linux-firmware-ipu4
-linux-pk414-sos
linux-iot-lts2018-sos
mcelog
--
2.19.2
3 years, 6 months
[PATCH v2 2/2] Add new bundle os-testsuit-automotive
by Ong, Hze Horng
The bundle is to provide minimum functionality for automotive platform testing.
Signed-off-by: Ong, Hze Horng <hze.horng.ong(a)intel.com>
Changes since v1: Reorder package list
---
bundles/os-testsuite-automotive | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 bundles/os-testsuite-automotive
diff --git a/bundles/os-testsuite-automotive b/bundles/os-testsuite-automotive
new file mode 100644
index 0000000..f4c5872
--- /dev/null
+++ b/bundles/os-testsuite-automotive
@@ -0,0 +1,15 @@
+# [TITLE]: os-testsuite-automotive
+# [DESCRIPTION]: Provides minimal functionality for automotive testing functions
+# [STATUS]: WIP
+# [CAPABILITIES]: Network utilities, USB utilities, and various utilities
+# [MAINTAINER]: Ong, Hze Horng <hze.horng.ong(a)intel.com
+include(os-testsuite)
+include(os-testsuite-graphics)
+coreutils
+iputils
+iw
+libcap-bin
+net-tools
+psmisc
+usbutils
+
--
2.17.1
3 years, 6 months
[PATCH kata-runtime] Stop updating plugin_dir
by William Douglas
The default location for plugin_dir is changing to /opt/bin/cni as
this is a widely used location containers have been configured for. As
part of this, it is no longer needed to be updated as part of the
kata-runtime.
---
...ata-runtime-as-default-runtime-for-cri-o.patch | 15 ++++++---------
kata-runtime.spec | 6 +++---
release | 2 +-
3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/0003-Set-kata-runtime-as-default-runtime-for-cri-o.patch b/0003-Set-kata-runtime-as-default-runtime-for-cri-o.patch
index 20237e2..e8e2b81 100644
--- a/0003-Set-kata-runtime-as-default-runtime-for-cri-o.patch
+++ b/0003-Set-kata-runtime-as-default-runtime-for-cri-o.patch
@@ -1,7 +1,7 @@
-From fbfa302dc3a0c9c2edcde16aeb7ed3dcbe3694ec Mon Sep 17 00:00:00 2001
+From 9da17f7eecce52bb4cd22d1eda76c0b65c7e821b Mon Sep 17 00:00:00 2001
From: Daniela Plascencia <daniela.plascencia(a)linux.intel.com>
Date: Mon, 20 Aug 2018 17:23:22 -0500
-Subject: [PATCH] Set kata-runtime as default runtime for cri-o.
+Subject: [PATCH 3/3] Set kata-runtime as default runtime for cri-o.
As it was done for Docker, the runtime configuration for cri-o will be done
automatically when Kata Containers is installed on a Clear Linux system.
@@ -10,8 +10,8 @@ Signed-off-by: Daniela Plascencia <daniela.plascencia(a)linux.intel.com>
---
crio-clearlinux.conf | 3 +++
crio-set-runtime.service | 8 ++++++++
- set-crio-default-runtime | 14 ++++++++++++++
- 3 files changed, 25 insertions(+)
+ set-crio-default-runtime | 11 +++++++++++
+ 3 files changed, 22 insertions(+)
create mode 100644 crio-clearlinux.conf
create mode 100644 crio-set-runtime.service
create mode 100644 set-crio-default-runtime
@@ -41,14 +41,13 @@ index 0000000..b0c7709
+ExecStart=/usr/bin/set-crio-default-runtime
diff --git a/set-crio-default-runtime b/set-crio-default-runtime
new file mode 100644
-index 0000000..e63f4ce
+index 0000000..040c206
--- /dev/null
+++ b/set-crio-default-runtime
-@@ -0,0 +1,14 @@
+@@ -0,0 +1,11 @@
+#!/bin/bash
+
+mkdir -p /etc/crio/
-+mkdir -p /opt/cni/bin/
+
+cp /usr/share/defaults/crio/crio.conf /etc/crio/crio.conf
+
@@ -56,8 +55,6 @@ index 0000000..e63f4ce
+
+sed -i 's|\(\[crio\.runtime\]\)|\1\nmanage_network_ns_lifecycle = true|' /etc/crio/crio.conf
+
-+sed -i 's|/usr/libexec/cni/|/opt/cni/bin/|' /etc/crio/crio.conf
-+
+systemctl daemon-reload
--
2.19.1
diff --git a/kata-runtime.spec b/kata-runtime.spec
index 697a14c..1994d6b 100644
--- a/kata-runtime.spec
+++ b/kata-runtime.spec
@@ -4,7 +4,7 @@
#
Name : kata-runtime
Version : 1.3.1
-Release : 26
+Release : 27
URL : https://github.com/kata-containers/runtime/archive/1.3.1.tar.gz
Source0 : https://github.com/kata-containers/runtime/archive/1.3.1.tar.gz
Summary : No detailed summary available
@@ -84,7 +84,7 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
-export SOURCE_DATE_EPOCH=1542895594
+export SOURCE_DATE_EPOCH=1543444695
%autogen --disable-static ;export GOPATH="${PWD}/gopath/" \
;mkdir -p "${GOPATH}/src/github.com/kata-containers/" \
;ln -sf "${PWD}" "${GOPATH}/src/github.com/kata-containers/runtime" \
@@ -92,7 +92,7 @@ export SOURCE_DATE_EPOCH=1542895594
make %{?_smp_mflags} PREFIX=/usr/ DESTDIR=%{buildroot} QEMUPATH=/usr/bin/kata-qemu-lite-system-x86_64
%install
-export SOURCE_DATE_EPOCH=1542895594
+export SOURCE_DATE_EPOCH=1543444695
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/kata-runtime
cp LICENSE %{buildroot}/usr/share/package-licenses/kata-runtime/LICENSE
diff --git a/release b/release
index 6f4247a..f64f5d8 100644
--- a/release
+++ b/release
@@ -1 +1 @@
-26
+27
--
2.19.1
3 years, 7 months
[PATCH cri-o] Go back to using the default plugin_dir location
by William Douglas
The default plugin_dir is widely used in the ecosystem and it is
causing pain to diverge. There are issues with weave needing to use a
distro provided cni but this is likely a problem in weave. The cni
bits will continue to exist in /usr/libexec/cni for the time being
however.
---
...fault-crio.conf-file-for-Clear-Linux.patch | 13 +++++-----
cri-o.spec | 25 ++++++++++++++++---
release | 2 +-
3 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/0003-Update-default-crio.conf-file-for-Clear-Linux.patch b/0003-Update-default-crio.conf-file-for-Clear-Linux.patch
index eb8e683..84b3d12 100644
--- a/0003-Update-default-crio.conf-file-for-Clear-Linux.patch
+++ b/0003-Update-default-crio.conf-file-for-Clear-Linux.patch
@@ -1,7 +1,7 @@
-From dea5998441ec1e78db983a579e583c42dcdccf68 Mon Sep 17 00:00:00 2001
+From 17e6b9adf13ff90e54f02d55622863a3df08e238 Mon Sep 17 00:00:00 2001
From: William Douglas <william.douglas(a)intel.com>
Date: Thu, 4 Oct 2018 17:05:03 -0500
-Subject: [PATCH] Update default crio.conf for Clear Linux
+Subject: [PATCH 3/3] Update default crio.conf file for Clear Linux
Update paths to policy.json, seccomp.json, conmon and cni plugins
to reflect where they are intended to be used from Clear Linux.
@@ -10,20 +10,19 @@ driver.
Signed-off-by: Jose Lamego <jose.a.lamego(a)intel.com>
---
- Makefile | 7 +++++++
- 1 file changed, 7 insertions(+)
+ Makefile | 6 ++++++
+ 1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
-index 509a8e0..4752287 100644
+index 509a8e0..5a42653 100644
--- a/Makefile
+++ b/Makefile
-@@ -104,6 +104,13 @@ bin/crio: .gopathok
+@@ -104,6 +104,12 @@ bin/crio: .gopathok
crio.conf: bin/crio
./bin/crio --config="" config --default > crio.conf
+ sed -i 's|^#\(default_ulimits = \[\)|\1\n\t"nofile=65536:65536"\n\]|' crio.conf
+ sed -i 's|^\(conmon = \).*|\1"/usr/libexec/crio/conmon"|' crio.conf
-+ sed -i 's|^\(plugin_dir = \).*|\1"/usr/libexec/cni/"|' crio.conf
+ sed -i 's|^\(seccomp_profile = \).*|\1"/usr/share/defaults/crio/seccomp.json"|' crio.conf
+ sed -i "s|^#\(registries = \[\).*|\1\n\t'docker.io',\n\]|" crio.conf
+ sed -i 's|^\(signature_policy = \).*|\1"/usr/share/defaults/crio/policy.json"|' crio.conf
diff --git a/cri-o.spec b/cri-o.spec
index a2112e1..8ddb22c 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -4,13 +4,15 @@
#
Name : cri-o
Version : 1.12.1
-Release : 40
+Release : 43
URL : https://github.com/kubernetes-incubator/cri-o/archive/v1.12.1.tar.gz
Source0 : https://github.com/kubernetes-incubator/cri-o/archive/v1.12.1.tar.gz
+Source1 : cri-o.tmpfiles
Summary : No detailed summary available
Group : Development/Tools
License : Apache-2.0 BSD-2-Clause BSD-3-Clause CC-BY-SA-4.0 ISC MIT MPL-2.0-no-copyleft-exception WTFPL
Requires: cri-o-bin = %{version}-%{release}
+Requires: cri-o-config = %{version}-%{release}
Requires: cri-o-data = %{version}-%{release}
Requires: cri-o-libexec = %{version}-%{release}
Requires: cri-o-license = %{version}-%{release}
@@ -39,6 +41,7 @@ Summary: bin components for the cri-o package.
Group: Binaries
Requires: cri-o-data = %{version}-%{release}
Requires: cri-o-libexec = %{version}-%{release}
+Requires: cri-o-config = %{version}-%{release}
Requires: cri-o-license = %{version}-%{release}
Requires: cri-o-man = %{version}-%{release}
Requires: cri-o-services = %{version}-%{release}
@@ -47,6 +50,14 @@ Requires: cri-o-services = %{version}-%{release}
bin components for the cri-o package.
+%package config
+Summary: config components for the cri-o package.
+Group: Default
+
+%description config
+config components for the cri-o package.
+
+
%package data
Summary: data components for the cri-o package.
Group: Data
@@ -58,6 +69,7 @@ data components for the cri-o package.
%package libexec
Summary: libexec components for the cri-o package.
Group: Default
+Requires: cri-o-config = %{version}-%{release}
Requires: cri-o-license = %{version}-%{release}
%description libexec
@@ -101,11 +113,12 @@ export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
-export SOURCE_DATE_EPOCH=1542880357
+export SOURCE_DATE_EPOCH=1543446051
make %{?_smp_mflags}
+
%install
-export SOURCE_DATE_EPOCH=1542880357
+export SOURCE_DATE_EPOCH=1543446051
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/cri-o
cp LICENSE %{buildroot}/usr/share/package-licenses/cri-o/LICENSE
@@ -229,6 +242,8 @@ cp vendor/k8s.io/kubernetes/LICENSE %{buildroot}/usr/share/package-licenses/cri-
cp vendor/k8s.io/kubernetes/third_party/forked/golang/LICENSE %{buildroot}/usr/share/package-licenses/cri-o/vendor_k8s.io_kubernetes_third_party_forked_golang_LICENSE
cp vendor/k8s.io/utils/LICENSE %{buildroot}/usr/share/package-licenses/cri-o/vendor_k8s.io_utils_LICENSE
%make_install PREFIX=%{buildroot}/usr
+mkdir -p %{buildroot}/usr/lib/tmpfiles.d
+install -m 0644 %{SOURCE1} %{buildroot}/usr/lib/tmpfiles.d/cri-o.conf
## install_append content
make install.completions PREFIX=%{buildroot}/usr
make install.systemd PREFIX=%{buildroot}/usr
@@ -245,6 +260,10 @@ install -D -m 644 policy.json %{buildroot}/usr/share/defaults/crio/policy.json
%defattr(-,root,root,-)
/usr/bin/crio
+%files config
+%defattr(-,root,root,-)
+/usr/lib/tmpfiles.d/cri-o.conf
+
%files data
%defattr(-,root,root,-)
/usr/share/defaults/crio/crio-umount.conf
diff --git a/release b/release
index 425151f..920a139 100644
--- a/release
+++ b/release
@@ -1 +1 @@
-40
+43
--
2.19.1
3 years, 7 months
[PATCH 1/2] Add new bundle os-testsuit-grapchics
by Ong, Hze Horng
The bundle is to support Graphics Benchmarking testing,
UI interaction testing, and various file utilities
Signed-off-by: Ong, Hze Horng <hze.horng.ong(a)intel.com>
---
bundles/os-testsuite-graphics | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 bundles/os-testsuite-graphics
diff --git a/bundles/os-testsuite-graphics b/bundles/os-testsuite-graphics
new file mode 100644
index 0000000..2e33f85
--- /dev/null
+++ b/bundles/os-testsuite-graphics
@@ -0,0 +1,11 @@
+# [TITLE]: os-testsuite-graphics
+# [DESCRIPTION]: Provides minimal functionality for graphics testing functions
+# [STATUS]: WIP
+# [CAPABILITIES]: Graphics Benchmarking testing, UI interaction testing, and various file utilities
+# [MAINTAINER]: Ong, Hze Horng <hze.horng.ong(a)intel.com>
+clear-font
+gdk-pixbuf
+glmark2
+libXcursor-lib
+shared-mime-info
+
--
2.17.1
3 years, 7 months
[PATCH clr-bundles] Cleanups related to the virt-manager bundle
by William Douglas
Add include for the virt-manager bundle instead of the directly adding
the package.
---
bundles/desktop-apps-extras | 3 +--
bundles/virt-manager | 6 +-----
2 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/bundles/desktop-apps-extras b/bundles/desktop-apps-extras
index 59c453e..28cb10b 100644
--- a/bundles/desktop-apps-extras
+++ b/bundles/desktop-apps-extras
@@ -6,7 +6,7 @@
include(desktop-gnomelibs)
include(desktop-kde-apps)
include(python3-basic)
-
+include(virt-manager)
#
# Apps that are also pundles
@@ -42,5 +42,4 @@ spice-gtk
thermal_monitor
tigervnc
vinagre
-virt-manager
virt-viewer
diff --git a/bundles/virt-manager b/bundles/virt-manager
index bed459e..b31f22c 100644
--- a/bundles/virt-manager
+++ b/bundles/virt-manager
@@ -3,10 +3,6 @@
# [STATUS]: Active
# [CAPABILITIES]:
# [MAINTAINER]: William Douglas <william.douglas(a)intel.com>
-# Run time requirement as vim is compiled to use libpython
-
-
include(desktop-gnomelibs)
include(libX11client)
-
-virt-manager
\ No newline at end of file
+virt-manager
--
2.19.1
3 years, 7 months
[PATCH clr-bundles] virt-manager-gui: New bundle with the GUI interface for virt-manager
by William Douglas
As virt-manager is useful with only the commandline interface and
adding the virt-viewer pulls in about 500M of extra dependencies, add
a higher level bundle to enable users to have a virt-manager GUI
without needing to pull all of desktop-apps-extras
---
bundles/virt-manager-gui | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 bundles/virt-manager-gui
diff --git a/bundles/virt-manager-gui b/bundles/virt-manager-gui
new file mode 100644
index 0000000..e75a814
--- /dev/null
+++ b/bundles/virt-manager-gui
@@ -0,0 +1,7 @@
+# [TITLE]: virt-manager-gui
+# [DESCRIPTION]: Enable controlling virt-manager through a GUI
+# [STATUS]: WIP
+# [CAPABILITIES]:
+# [MAINTAINER]: William Douglas <william.douglas(a)intel.com>
+include(virt-manager)
+virt-viewer
--
2.19.1
3 years, 7 months
[PATCH] os-testsuite: Add tools & utils required for platform validation
by Wong, Vee Khee
Signed-off-by: Wong, Vee Khee <vee.khee.wong(a)intel.com>
Signed-off by: Ong, Hze Horng <hze.horng.ong(a)intel.com>
---
bundles/os-testsuite | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/bundles/os-testsuite b/bundles/os-testsuite
index 43610db..17bc1e1 100644
--- a/bundles/os-testsuite
+++ b/bundles/os-testsuite
@@ -10,15 +10,25 @@ acl
attr
bats
binutils
+coreutils
cpio
curl
diffutils
expect
file
+iputils
+iw
+libcap-bin
make
+net-tools
perl
perl-YAML-Tiny
+psmisc
+rpm
+rpm-common
rsync
socat
sudo
tpm2-simulator
+usbutils
+which
--
2.17.1
3 years, 7 months