Compare commits

2 Commits
1.1 ... main

4 changed files with 169 additions and 36 deletions

View File

@@ -1,15 +1,123 @@
-------------------------------------------------------------------
Mon Apr 28 13:42:43 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.35
* Make s390 3215 console work that is use EPOLLOUT|EPOLLONESHOT
to control if we can write to ttyS0 in nonblocking mode and if
not reenable EPOLLOUT|EPOLLONESHOT.
* At boot set for ttyS0 via vmcp API nonblocking MORE mode with
`0 0'. It beeps but boots.
- Remove patches now upstream
* blog-3215.patch
* blog-install.patch
-------------------------------------------------------------------
Thu Apr 17 13:04:07 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add patch blog-3215.patch
* Try to avoid blocking mode of 3215 console on s390x as holding
the output at `MORE' stops blogd, that is that it can not see
any messages over its socket like switch of the root file system.
-------------------------------------------------------------------
Thu Apr 17 09:50:29 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add patch blog-install.patch
* Fixes install problems
* Use module-setup.sh to install in BUILDROOT
-------------------------------------------------------------------
Wed Apr 16 13:04:40 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.34
* Make it work on s390x (still no 3215 console)
This is a bug fix release. But still no support in conmode
3215 as there is a race triggered by using conmode 3215.
The order of the systemd units seems to change with this
console mode.
-------------------------------------------------------------------
Fri Apr 11 06:15:37 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Use rpm-config-SUSE instead of suse-module-tools for suse version
above 1550 and add code for the missing macros for older
distributions like leap 15.6
-------------------------------------------------------------------
Thu Apr 10 13:59:41 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- The suse-module-tools are required at build otherwise blog
is not in the initrd
-------------------------------------------------------------------
Thu Apr 3 14:20:30 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.32
* Better 3270 console support, use uevent below /sys file system
-------------------------------------------------------------------
Wed Apr 2 09:53:11 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.31
* Handel BS on password prompt as well
* Drop spining code as systemd uses clear to end of line
escape sequence (hard coded!) for its cylon lines.
- blog: again suggest blog-plymouth
-------------------------------------------------------------------
Mon Mar 31 13:10:13 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.30
* The asking variable is not shared
* Allow password asking prompt to be repeated if empty.
* Make spinner support UTF-8 multibyte conform.
* Spinner lines of system still not handled.
-------------------------------------------------------------------
Fri Mar 28 11:42:55 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.29
* Make sure that password prompt is seen Latest
Use a temporary buffer to be silent during asking passwords.
And stop system console output during password questions
only if temporary buffer becomes short. As well as do coloring
on /dev/ttysclp0 for S390.
- Drop patch.patch as now upstream
-------------------------------------------------------------------
Fri Mar 28 10:15:28 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Modify temporary patch patch.patch
* Use a temporary buffer to be silent during asking passwords
* Stop system console output during password questions only
if temporary buffer becomes short
-------------------------------------------------------------------
Thu Mar 27 14:35:55 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- Add temporary patch named patch.patch
* Stop system console output during password questions
* Do coloring on /dev/ttysclp0
-------------------------------------------------------------------
Wed Mar 12 10:40:47 UTC 2025 - Dr. Werner Fink <werner@suse.de>
- blog: recommend blog-plymouth instead of only suggesting
* More house advertising to make plymouth support of blogd
more familiar and known by the users
-------------------------------------------------------------------
Wed Nov 29 12:27:52 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.28
* UTMP support is gone, remove dependency also add support for
initramfs at shutdown.
initramfs at shutdown.
-------------------------------------------------------------------
Mon Jul 10 13:37:24 UTC 2023 - Dr. Werner Fink <werner@suse.de>
- Fix big endian cast problems to be able to read commands
and ansers (blogctl) as well as passphrases (blogd)
and answers (blogctl) as well as passphrases (blogd)
-------------------------------------------------------------------
Tue Dec 27 10:23:56 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
@@ -21,7 +129,7 @@ Fri Dec 3 08:20:08 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Update to version 2.26
* On s390/x and PPC64 gcc misses unused arg0
- Remove patch fcb9e0c2.patch as now part of tar ball
- Remove patch fcb9e0c2.patch as now part of tar ball
-------------------------------------------------------------------
Thu Dec 2 15:02:35 UTC 2021 - Dr. Werner Fink <werner@suse.de>
@@ -45,7 +153,7 @@ Thu Dec 2 11:36:36 UTC 2021 - Dr. Werner Fink <werner@suse.de>
-------------------------------------------------------------------
Thu Sep 30 10:01:29 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Move to /usr for UsrMerge (boo#1191057)
- Move to /usr for UsrMerge (boo#1191057)
-------------------------------------------------------------------
Fri Apr 9 08:53:45 UTC 2021 - Dr. Werner Fink <werner@suse.de>
@@ -58,7 +166,7 @@ Fri Apr 9 08:53:45 UTC 2021 - Dr. Werner Fink <werner@suse.de>
-------------------------------------------------------------------
Fri Apr 9 07:19:38 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Fix package split done for shared library packaging guideline (bsc#1184479).
- Fix package split done for shared library packaging guideline (bsc#1184479).
-------------------------------------------------------------------
Thu Jan 9 11:34:47 UTC 2020 - Dr. Werner Fink <werner@suse.de>
@@ -131,12 +239,12 @@ Thu Apr 27 16:00:31 UTC 2017 - werner@suse.de
-------------------------------------------------------------------
Wed Jan 25 12:30:03 UTC 2017 - werner@suse.de
- Use github source from tagged version
- Use github source from tagged version
-------------------------------------------------------------------
Wed Jan 25 12:13:13 UTC 2017 - werner@suse.de
- Use https://github.com/bitstreamout/showconsole as URL
- Use https://github.com/bitstreamout/showconsole as URL
-------------------------------------------------------------------
Thu Aug 11 10:21:35 UTC 2016 - olaf@aepfle.de
@@ -171,7 +279,7 @@ Fri Feb 19 15:42:23 UTC 2016 - werner@suse.de
-------------------------------------------------------------------
Wed Feb 10 10:24:10 UTC 2016 - meissner@suse.com
- add blog-rpmlintrc. The all-manual handling of systemd services
- add blog-rpmlintrc. The all-manual handling of systemd services
is required according to Werner.
-------------------------------------------------------------------
@@ -182,7 +290,7 @@ Thu Feb 4 10:40:34 UTC 2016 - werner@suse.de
-------------------------------------------------------------------
Fri Jan 22 13:54:45 UTC 2016 - werner@suse.de
- Clean up service uits for close and umount
- Clean up service uits for close and umount
-------------------------------------------------------------------
Fri Jan 15 07:41:24 UTC 2016 - werner@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package blog
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: blog
Version: 2.28
Version: 2.35
%define sonum 2
Release: 0
Summary: Boot logging
@@ -26,7 +26,15 @@ Group: System/Base
URL: https://github.com/bitstreamout/showconsole
Source: https://github.com/bitstreamout/showconsole/archive/v%{version}.tar.gz#/showconsole-%{version}.tar.gz
Source1: blog-rpmlintrc
BuildRequires: suse-module-tools
BuildRequires: bash
%if 0%{suse_version} >= 1550
# regenerate_initrd_post moved to rpm-config-SUSE:initrd.macros
BuildRequires: rpm-config-SUSE >= 0.g11
%{regenerate_initrd_requires}
%else
Requires(post): /usr/bin/mkdir
Recommends: suse-module-tools
%endif
Requires(post): coreutils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: sysvinit-tools:/sbin/blogd
@@ -79,9 +87,13 @@ the LSB startproc command.
%prep
%setup -q -n showconsole-%version
for l in rt util pthread
do
ln -sf %{_libdir}/lib${l}.so.[0-9] lib${l}.so
done
%build
make %{?_smp_mflags} CC="%__cc" \
make V=1 %{?_smp_mflags} CC="%__cc" \
LIBDIR=%{_libdir} \
INCDIR=%{_includedir} \
SYSDUNITS=%{_unitdir} \
@@ -101,7 +113,7 @@ make %{?_smp_mflags} CC="%__cc" \
BOOT_LOGFILE=%{_localstatedir}/log/boot.log \
BOOT_OLDLOGFILE=%{_localstatedir}/log/boot.old
rm -vf %{buildroot}%{_unitdir}/systemd-ask-password-blog.service.wants/systemd-vconsole-setup.service
rm %{buildroot}%{_unitdir}/systemd-ask-password-blog.service.wants/systemd-vconsole-setup.service
%post -n libblogger%{sonum} -p /sbin/ldconfig
%postun -n libblogger%{sonum} -p /sbin/ldconfig
@@ -109,13 +121,25 @@ rm -vf %{buildroot}%{_unitdir}/systemd-ask-password-blog.service.wants/systemd-v
%post plymouth
ln -sf ../systemd-vconsole-setup.service %{_unitdir}/systemd-ask-password-blog.service.wants/
test -x /bin/systemctl && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
%{?regenerate_initrd_post}
%if 0%{suse_version} >= 1550
%{regenerate_initrd_post}
%else
! command -v mkdir >/dev/null || mkdir -p /run/regenerate-initrd/
test ! -d /run/regenerate-initrd || > /run/regenerate-initrd/all
%endif
%postun plymouth
test -x /bin/systemctl && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
%posttrans plymouth
%{?regenerate_initrd_posttrans}
%if 0%{suse_version} >= 1550
%{regenerate_initrd_posttrans}
%else
if test -x /usr/lib/module-init-tools/regenerate-initrd-posttrans
then
/usr/lib/module-init-tools/regenerate-initrd-posttrans
fi
%endif
%files
%defattr(-,root,root)
@@ -156,45 +180,46 @@ test -x /bin/systemctl && /bin/systemctl daemon-reload >/dev/null 2>&1 || :
%dir %{_prefix}/lib/dracut/
%dir %{_prefix}/lib/dracut/modules.d/
%dir %{_prefix}/lib/dracut/modules.d/99blog/
%dir %{_unitdir}/basic.target.wants/
%dir %{_unitdir}/default.target.wants/
%dir %{_unitdir}/emergency.target.wants/
%dir %{_unitdir}/initrd-switch-root.target.wants/
%dir %{_unitdir}/rescue.target.wants/
%dir %{_unitdir}/sysinit.target.wants/
%dir %{_unitdir}/shutdown.target.wants/
%dir %{_unitdir}/halt.target.wants/
%dir %{_unitdir}/reboot.target.wants/
%dir %{_unitdir}/poweroff.target.wants/
%dir %{_unitdir}/kexec.target.wants/
%dir %{_unitdir}/local-fs-pre.target.wants/
%dir %{_unitdir}/systemd-ask-password-blog.service.wants/
%{_prefix}/lib/dracut/modules.d/99blog/module-setup.sh
%{_unitdir}/blog-final.service
%{_unitdir}/blog-halt.service
%{_unitdir}/blog-kexec.service
%{_unitdir}/blog-poweroff.service
%{_unitdir}/blog-quit.service
%{_unitdir}/blog-reboot.service
%{_unitdir}/blog-store-messages.service
%{_unitdir}/blog-switch-root.service
%{_unitdir}/blog-switch-initramfs.service
%{_unitdir}/blog-switch-root.service
%{_unitdir}/blog-umount.service
%{_unitdir}/blog.service
%{_unitdir}/systemd-ask-password-blog.path
%{_unitdir}/systemd-ask-password-blog.service
%{_unitdir}/blog-umount.service
%{_unitdir}/basic.target.wants/blog.service
%{_unitdir}/default.target.wants/blog-quit.service
%{_unitdir}/emergency.target.wants/blog-quit.service
%{_unitdir}/halt.target.wants/blog-halt.service
%{_unitdir}/halt.target.wants/blog-switch-initramfs.service
%{_unitdir}/initrd-switch-root.target.wants/blog-switch-root.service
%{_unitdir}/initrd-switch-root.target.wants/blog.service
%{_unitdir}/rescue.target.wants/blog-quit.service
%{_unitdir}/sysinit.target.wants/blog-store-messages.service
%{_unitdir}/sysinit.target.wants/systemd-ask-password-blog.path
%{_unitdir}/shutdown.target.wants/blog-final.service
%{_unitdir}/reboot.target.wants/blog-final.service
%{_unitdir}/poweroff.target.wants/blog-final.service
%{_unitdir}/kexec.target.wants/blog-final.service
%{_unitdir}/shutdown.target.wants/blog-switch-initramfs.service
%{_unitdir}/reboot.target.wants/blog-switch-initramfs.service
%{_unitdir}/poweroff.target.wants/blog-switch-initramfs.service
%{_unitdir}/kexec.target.wants/blog-kexec.service
%{_unitdir}/kexec.target.wants/blog-switch-initramfs.service
%{_unitdir}/local-fs-pre.target.wants/blog-umount.service
%ghost %{_unitdir}/systemd-ask-password-blog.service.wants/systemd-vconsole-setup.service
%{_unitdir}/poweroff.target.wants/blog-poweroff.service
%{_unitdir}/poweroff.target.wants/blog-switch-initramfs.service
%{_unitdir}/reboot.target.wants/blog-reboot.service
%{_unitdir}/reboot.target.wants/blog-switch-initramfs.service
%{_unitdir}/rescue.target.wants/blog-quit.service
%{_unitdir}/sysinit.target.wants/blog-store-messages.service
%{_unitdir}/sysinit.target.wants/blog.service
%ghost %attr(0644,root,root) %{_unitdir}/systemd-ask-password-blog.service.wants/systemd-vconsole-setup.service
%changelog

BIN
showconsole-2.28.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
showconsole-2.35.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.