[PATCH] plymouth: Ensure splash is retained after reaching login
by Megha Dey
The nomodeset kernel parameter was added to not load any
video drivers when displaying a full screen splash image, so that the
splash could be retained even after one reached the login, something
that "retain-splash" option was intended to do.
A better alternative is to disable the plymouth-quit service file, which
wil not let the splash disappear. As a result, the nomodeset parameter
can be removed as well.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-core/images/luv-image.inc | 2 +-
meta-luv/recipes-core/plymouth/plymouth_0.9.2.bbappend | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/meta-luv/recipes-core/images/luv-image.inc b/meta-luv/recipes-core/images/luv-image.inc
index 399030f..b0b7494 100644
--- a/meta-luv/recipes-core/images/luv-image.inc
+++ b/meta-luv/recipes-core/images/luv-image.inc
@@ -20,7 +20,7 @@ COMMON_CMDLINE_x86 = " console=ttyS0,115200 console=ttyPCH0,115200"
# A splash screen is never seen on ARM. Hence, having the splash parameter only for x86
# Nomodeset will not allow kernel to load video drivers, helps retaining splash screen.
# Make sure kdump runs before kexec after a crash and not vice-versa
-COMMON_CMDLINE_x86 += "splash nomodeset crash_kexec_post_notifiers"
+COMMON_CMDLINE_x86 += "splash crash_kexec_post_notifiers"
# Unlike the += operand, _append's do not insert a space between the current value
# and the appended string. Thus, we add them.
diff --git a/meta-luv/recipes-core/plymouth/plymouth_0.9.2.bbappend b/meta-luv/recipes-core/plymouth/plymouth_0.9.2.bbappend
index 545a72b..10691b6 100644
--- a/meta-luv/recipes-core/plymouth/plymouth_0.9.2.bbappend
+++ b/meta-luv/recipes-core/plymouth/plymouth_0.9.2.bbappend
@@ -37,5 +37,14 @@ do_install_append() {
install -m 755 ${WORKDIR}/luv-splash.png ${D}/${datadir}/plymouth/
}
+pkg_postinst_${PN} () {
+ if ${(a)bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
+ if [ -n "$D" ]; then
+ OPTS="--root=$D"
+ fi
+ systemctl $OPTS mask plymouth-quit.service
+ fi
+}
+
LOGO = "${datadir}/plymouth/luv-splash.png"
RDEPENDS_${PN}-initrd = "bash"
--
1.9.1
3 years, 11 months
Re: [Luv] FWTS for RHEL
by Colin Ian King
On 26/06/18 14:28, Al Stone wrote:
> On 06/26/2018 04:30 AM, Colin Ian King wrote:
>> On 26/06/18 11:24, R, Dilip Kumar (FEL) wrote:
>>> Hi,
>>>
>>> As part of qualifying UEFI, we are trying to use FWTS on a server platform running RHEL. All the documentation points to Ubuntu images being available.
>>>
>>> Can you please help us out in understanding the base dependencies that we should install to get going with RHEL?
>>
>> This is documented in the README file under RHEL Distro ppc64el
>>
>> http://kernel.ubuntu.com/git/hwe/fwts.git/tree/README
>>
>> ..you may find that this may be different for x86 as it includes dtc
>> that you man not require.
>>
>> Colin
>>
>>
>>>
>>> Regards,
>>> Dilip
>
> No need to re-invent the wheel -- Fedora packaging is done and can be found
> here:
>
> https://src.fedoraproject.org/rpms/fwts
>
> It should work exactly the same.
>
Nice.
4 years
[PATCH] luv-netboot: call efi_populate_bits
by Megha Dey
In commit 36ed075 "luv-netboot-image: Don't populate bits twice", the
call to efi_populate_bits was removed. For netboot, this means that
efi_populate_bits never gets called (as MACHINE_FEATURES does not
have efi). Thus, the final efi image which is generated is devoid of the
bits components.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-core/images/luv-netboot-image.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-luv/recipes-core/images/luv-netboot-image.bb b/meta-luv/recipes-core/images/luv-netboot-image.bb
index a3555b7..cb4105b 100644
--- a/meta-luv/recipes-core/images/luv-netboot-image.bb
+++ b/meta-luv/recipes-core/images/luv-netboot-image.bb
@@ -33,6 +33,9 @@ do_populate_image() {
install -d ${HDDDIR}${EFIDIR}
install -m 0644 ${GRUBCFG} ${HDDDIR}${EFIDIR}
install -m 0644 ${LUV_CFG} ${HDDDIR}
+ if [ "${TARGET_ARCH}" != "aarch64" ]; then
+ efi_populate_bits ${HDDDIR}
+ fi
build_hddimg
}
--
1.9.1
4 years
[PATCH] luv-image: Update incorrect dependencies
by Megha Dey
In commit ceaca5d: "luv-xxxx-image: Unify common parts of luv-live-image and
luv-netboot-image", the common parts between luv-live-image and
luv-netboot-image were consolidated into a single luv-image.inc file.
However, the dependencies were not updated correctly. luv-netboot-image
depends only on bits, whereas luv-live-image depends on both grub-efi and
bits. Update the "DEPENDS" variable to reflect this correctly.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-core/images/luv-image.inc | 4 ++--
meta-luv/recipes-core/images/luv-live-image.bb | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-core/images/luv-image.inc b/meta-luv/recipes-core/images/luv-image.inc
index b0b7494..2da642e 100644
--- a/meta-luv/recipes-core/images/luv-image.inc
+++ b/meta-luv/recipes-core/images/luv-image.inc
@@ -1,8 +1,8 @@
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-DEPENDS_append_x86 = " grub-efi bits"
-DEPENDS_append_x86-64 = " grub-efi bits"
+DEPENDS_append_x86 = " bits"
+DEPENDS_append_x86-64 = " bits"
HDDDIR = "${S}/hddimg"
diff --git a/meta-luv/recipes-core/images/luv-live-image.bb b/meta-luv/recipes-core/images/luv-live-image.bb
index b7a0f66..b105b7b 100644
--- a/meta-luv/recipes-core/images/luv-live-image.bb
+++ b/meta-luv/recipes-core/images/luv-live-image.bb
@@ -1,6 +1,8 @@
require luv-image.inc
DEPENDS = "python-native parted-native"
+DEPENDS_append_x86 += " grub-efi"
+DEPENDS_append_x86-64 += " grub-efi"
HDDIMG_ID = "423cc2c8"
LABELS_LIVE = "luv"
--
1.9.1
4 years
[PATCH] grub-efi: fix luv-netboot build issue
by Megha Dey
While building the luv-netboot-image, the following error was observed:
ERROR: grub-efi-2.02-r0 do_mkimage: Function failed: do_mkimage (log
file is located at
/home/megha/luv-yocto/build/tmp/work/core2-64-oe-linux/grub-efi/2.02-r0/temp/log.do_mkimage.22866)
ERROR: Logfile of failure stored in:
/home/megha/luv-yocto/build/tmp/work/core2-64-oe-linux/grub-efi/2.02-r0/temp/log.do_mkimage.22866
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_mkimage
| grub-mkimage: error: cannot open
`/home/megha/luv-yocto/build/tmp/deploy/images/qemux86-64/luv-netboot-image-qemux86-64.hddimg':
No such file or directory.
| WARNING: exit code 1 from a shell command.
Ideally, we would want luv-netboot-image:do_mkimage (which generates the
XXX.hddimg) to run before grub-efi:do_mkimage (which generated the final
efi image). Currently, grub_efi:do_deploy depends on
luv-netboot-image:do_mkimage.
Specifying the dependence between luv-netboot-image:do_mkimage and
grub-efi:do_mkimage explicitly ensures we do not encounter this error.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/recipes-bsp/grub/grub-efi_2.02.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-luv/recipes-bsp/grub/grub-efi_2.02.bbappend b/meta-luv/recipes-bsp/grub/grub-efi_2.02.bbappend
index 8c5a427..640d19e 100644
--- a/meta-luv/recipes-bsp/grub/grub-efi_2.02.bbappend
+++ b/meta-luv/recipes-bsp/grub/grub-efi_2.02.bbappend
@@ -42,5 +42,5 @@ SRC_URI += "file://0014-grub-util-set-prefix-to-EFI-BOOT-when-booting-f.patch \
GRUB_BUILDIN = "boot linux ext2 fat serial part_msdos part_gpt \
normal efi_gop iso9660 configfile search efinet tftp all_video chain \
gfxmenu jpeg gfxterm"
-do_deploy[depends] += "${(a)bb.utils.contains('DISTRO_FEATURES', 'luv-netboot','luv-netboot-image:do_mkimage' , '', d)}"
+do_mkimage[depends] += "${(a)bb.utils.contains('DISTRO_FEATURES', 'luv-netboot','luv-netboot-image:do_mkimage' , '', d)}"
--
1.9.1
4 years
[PATCH] luv-netboot: Do not install grub bootloader
by Megha Dey
When building for network boot we don't need to install
the grub bootloader i.e. grub-efi-bootXXX.efi.
The grub-efi-bootXXX.efi binary itself will contain all what is
needed to boot LUV: kernel, config files and ramdisk). The same
image can be used for PXE boot.
Signed-off-by: Megha Dey <megha.dey(a)linux.intel.com>
---
meta-luv/classes/luv-efi.bbclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta-luv/classes/luv-efi.bbclass b/meta-luv/classes/luv-efi.bbclass
index 1f89167..86b3649 100644
--- a/meta-luv/classes/luv-efi.bbclass
+++ b/meta-luv/classes/luv-efi.bbclass
@@ -59,7 +59,7 @@ efi_populate() {
# TODO: need conditional signing; e.g., if (DISTRO_FEATURES contains secure_boot)
# shim bootloader does not seem to work with i386. Thus we don't use it for 32-bit
- elif [ "${TARGET_ARCH}" = "x86_64" ] && [ "${LUV_FOR_NETBOOT}" = "0" ]; then
+ elif [ "${TARGET_ARCH}" = "x86_64" ] ; then
# sign grub2 bootloader
sbsign --key ${DEPLOY_DIR_IMAGE}/LUV.key --cert ${DEPLOY_DIR_IMAGE}/LUV.crt \
--output ${DEPLOY_DIR_IMAGE}/grubx64.efi ${DEPLOY_DIR_IMAGE}/${GRUB_EFI_LOADER_IMAGE}
@@ -75,8 +75,6 @@ efi_populate() {
# restore files to leave all in good shape for all the callers of the funciton
cp ${DEPLOY_DIR_IMAGE}/${DEST_EFI_LOADER_IMAGE} ${DEPLOY_DIR_IMAGE}/shim.efi
- else
- install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_EFI_LOADER_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_LOADER_IMAGE}
fi
if echo "${TARGET_ARCH}" | grep -q "i.86" || [ "${TARGET_ARCH}" = "x86_64" ]; then
--
1.9.1
4 years
[PATCH] linux-luv: add openssl-native dependency
by Fathi Boudra
The following build error is observed:
| /home/buildslave/luv-yocto/build/tmp/work-shared/qemuarm64/kernel-source/scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
| #include <openssl/bio.h>
| ^
| compilation terminated.
It's hidden when the build host has openssl development files installed
(e.g libssl-dev on a Debian system).
Fix the recipe to include the appropriate build dependency.
Signed-off-by: Fathi Boudra <fathi.boudra(a)linaro.org>
---
meta-luv/recipes-kernel/linux/linux-luv_4.15.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-luv/recipes-kernel/linux/linux-luv_4.15.bb b/meta-luv/recipes-kernel/linux/linux-luv_4.15.bb
index f21b8ca2cd..ff108499e2 100644
--- a/meta-luv/recipes-kernel/linux/linux-luv_4.15.bb
+++ b/meta-luv/recipes-kernel/linux/linux-luv_4.15.bb
@@ -142,6 +142,12 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
# file. Leaving it empty here ensures an early explicit build failure.
COMPATIBLE_MACHINE = "qemux86|qemux86-64|qemuarm64"
+# extract-cert.c requires openssl development files
+# kernel-source/scripts/extract-cert.c:21:25:
+# fatal error: openssl/bio.h: No such file or directory
+DEPENDS += "openssl-native"
+HOST_EXTRACFLAGS += "-I${STAGING_INCDIR_NATIVE}"
+
do_install_append() {
if [ "${TARGET_ARCH}" = "x86_64" ]; then
# There are 2 copies of the NVDIMM modules which are built. This is a
--
2.17.0
4 years
[PATCH v3 0/2] Mechanism to detect and skip the testsuites in case of failures
by Gayatri Kammela
Hi,
This patch set enables kernel lockup configuration so that it either reboots
or panics in case of hard and soft lockup situations. Also, the patch set skips
the testsuite if any of the tests freeze at any point of luv execution as in
until the login screen is appeared.
Changes since v2:
1) Renamed the config fragment to lockup.config
2) Modify the commit messages for better explanation
Changes since v1:
1) Removed the hard and soft lockup panic values.
2) Modify the commit messages to expand the details on the patch set.
3) Modify patch 1 changes to a function and pass the process id as a parameter.
Gayatri Kammela (2):
luv-test-manager: Set a master process to monitor the subprocesses of
the test suites
linux-luv: Enable kernel to panic on hard/soft lockups
.../luv-test/luv-test/luv-test-manager | 35 +++++++++++++++++++++-
meta-luv/recipes-kernel/linux/linux-luv/lockup.cfg | 5 ++++
meta-luv/recipes-kernel/linux/linux-luv_4.15.bb | 1 +
3 files changed, 40 insertions(+), 1 deletion(-)
create mode 100644 meta-luv/recipes-kernel/linux/linux-luv/lockup.cfg
--
2.7.4
4 years
[V1 PATCH 0/3] Update Kernel, Libc headers and LIC checksum
by Naresh Bhat
The set of patches prepared and tested on top of for_sumo branch.
Changes V0->V1
- Split up kernel and libc header patches
- Update nvdimm file LIC checksum
Naresh Bhat (3):
linux-luv: Bump kernel to v4.17
linux-libc-headers: Bump to v4.17
Update LIC_FILES_CHKSUM
meta-luv/conf/distro/luv.conf | 2 +-
meta-luv/recipes-core/efivarfs/efivarfs-test.bb | 2 +-
meta-luv/recipes-core/pstore-test/pstore-test.bb | 2 +-
.../linux-libc-headers/linux-libc-headers_4.16.bb | 6 -
.../linux-libc-headers/linux-libc-headers_4.17.bb | 6 +
meta-luv/recipes-kernel/linux/linux-luv_4.16.bb | 152 ---------------------
meta-luv/recipes-kernel/linux/linux-luv_4.17.bb | 152 +++++++++++++++++++++
meta-luv/recipes-kernel/nvdimm/nvdimm-test.bb | 2 +-
.../linux-libc-headers/linux-libc-headers.inc | 2 +-
meta/recipes-kernel/linux/linux-yocto.inc | 2 +-
10 files changed, 164 insertions(+), 164 deletions(-)
delete mode 100644 meta-luv/recipes-kernel/linux-libc-headers/linux-libc-headers_4.16.bb
create mode 100644 meta-luv/recipes-kernel/linux-libc-headers/linux-libc-headers_4.17.bb
delete mode 100644 meta-luv/recipes-kernel/linux/linux-luv_4.16.bb
create mode 100644 meta-luv/recipes-kernel/linux/linux-luv_4.17.bb
--
2.7.4
4 years
[PATCH v1] fwts: Update fwts to v18.05.00
by Gayatri Kammela
Update FWTS to version v18.05.00
Signed-off-by: Gayatri Kammela <gayatri.kammela(a)intel.com>
---
meta-luv/recipes-core/fwts/fwts_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-luv/recipes-core/fwts/fwts_git.bb b/meta-luv/recipes-core/fwts/fwts_git.bb
index 227d171b6345..2dc627deb245 100644
--- a/meta-luv/recipes-core/fwts/fwts_git.bb
+++ b/meta-luv/recipes-core/fwts/fwts_git.bb
@@ -4,9 +4,9 @@ HOMEPAGE = "https://wiki.ubuntu.com/Kernel/Reference/fwts"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://src/main.c;beginline=1;endline=16;md5=31da590f3e9f3bd34dcdb9e4db568519"
-PV = "V18.03.00+git${SRCPV}"
+PV = "V18.05.00+git${SRCPV}"
-SRCREV = "4f35a54a4098d794cb50fba15530c53a8c05d9f1"
+SRCREV = "b0ec7aa2ef743d113fd8c5e57c0ca3d5edd86f0e"
SRC_URI = "git://kernel.ubuntu.com/hwe/fwts.git \
file://luv-parser-fwts \
"
--
2.7.4
4 years