Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2023-04-29 17:27:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Bootloader" Sat Apr 29 17:27:33 2023 rev:204 rq:1082810 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2023-01-15 17:57:40.366027216 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.1533/perl-Bootloader.changes 2023-04-29 17:27:34.638400668 +0200 @@ -1,0 +2,18 @@ +Mon Apr 24 17:38:14 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#143 +- adjust Makefile for usrmerge and legacy package split +- move obs spec file to git repo +- split off old perl code to perl-Bootloader-legacy package +- remove legacy part completely +- 1.0 + +-------------------------------------------------------------------- +Mon Apr 24 15:07:57 UTC 2023 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#142 +- use fw_platform_size to distinguish between 32 bit and 64 bit + UEFI platforms (bsc#1208003) +- 0.942 + +-------------------------------------------------------------------- Old: ---- perl-Bootloader-0.941.tar.xz New: ---- perl-Bootloader-1.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Bootloader.spec ++++++ --- /var/tmp/diff_new_pack.xthyF3/_old 2023-04-29 17:27:35.126402712 +0200 +++ /var/tmp/diff_new_pack.xthyF3/_new 2023-04-29 17:27:35.134402745 +0200 @@ -16,47 +16,31 @@ # -%if 0%{suse_version} > 1550 +%if %{suse_version} > 1550 %define sbindir %{_sbindir} %else %define sbindir /sbin %endif +%{!?_distconfdir:%global _distconfdir /etc} + Name: perl-Bootloader -Version: 0.941 +Version: 1.0 Release: 0 Requires: coreutils Requires: perl-base = %{perl_version} -Recommends: perl-gettext -Summary: Library for Configuring Boot Loaders +Obsoletes: perl-Bootloader-YAML < %{version} +Summary: Tool for boot loader configuration License: GPL-2.0-or-later Group: System/Boot +URL: https://github.com/openSUSE/perl-bootloader Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl -Conflicts: multipath-tools < 0.4.8-40.25.1 #!BuildIgnore: mdadm e2fsprogs limal-bootloader %description -Perl modules for configuring various boot loaders. - - - -Authors: --------- - Jiri Srain <jsr...@suse.cz> - Joachim Plack <jpl...@suse.de> - Alexander Osthof <aost...@suse.de> - Josef Reidinger <jreidin...@suse.cz> - -%package YAML -Requires: %{name} = %{version} -Requires: perl-YAML-LibYAML -Summary: YAML interface for perl-Bootloader -Group: System/Boot - -%description YAML -A command line interface to perl-Bootloader using YAML files for input and output. +Shell script wrapper for configuring various boot loaders. %prep %setup -q @@ -64,46 +48,9 @@ %build %install -make DESTDIR=$RPM_BUILD_ROOT install -%if %{suse_version} > 1550 -mv %{buildroot}/sbin/* %{buildroot}%{_sbindir} -ln -sf ../../sbin/pbl %{buildroot}/usr/lib/bootloader/bootloader_entry -rm $RPM_BUILD_ROOT/boot/boot.readme -%endif -install -d -m 700 $RPM_BUILD_ROOT/var/log/YaST2 -touch $RPM_BUILD_ROOT/var/log/pbl.log -%perl_process_packlist -#install only needed files for bootloader for specific architecture -%ifarch %ix86 x86_64 -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,PowerLILO*} -rm -f $RPM_BUILD_ROOT/%{_mandir}/man?/{*ZIPL*,*PowerLILO*} -%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130 -sed -i '/ZIPL/D;/PowerLILO/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist -%endif -%endif -%ifarch ppc ppc64 -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB.*} -%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130 -sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist -%endif -%endif -%ifarch s390 s390x -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{*LILO*,GRUB.*,GRUB2EFI.*} -%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130 -sed -i '/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist -%endif -%endif -%ifarch ia32 ia64 -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{LILO*,GRUB*,ZIPL*,PowerLILO*} -%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130 -sed -i '/ZIPL/D;/PowerLILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist -%endif -%endif -# move logrotate files from /etc/logrotate.d to /usr/etc/logrotate.d -%if 0%{?suse_version} > 1500 -mkdir -p %{buildroot}%{_distconfdir}/logrotate.d -mv %{buildroot}/%{_sysconfdir}/logrotate.d/pbl %{buildroot}%{_distconfdir}/logrotate.d -%endif +make install DESTDIR=%{buildroot} SBINDIR=%{sbindir} ETCDIR=%{_distconfdir} +mkdir -p %{buildroot}/var/log +touch %{buildroot}/var/log/pbl.log %post echo -n >>/var/log/pbl.log @@ -112,26 +59,16 @@ %files %defattr(-, root, root) %license COPYING -%doc %{_mandir}/man?/* +%doc %{_mandir}/man8/* %doc boot.readme -%{perl_vendorarch}/auto/Bootloader -%{perl_vendorlib}/Bootloader -%if 0%{?suse_version} == 0 || 0%{?suse_version} <= 1130 -/var/adm/perl-modules/perl-Bootloader -%endif %{sbindir}/update-bootloader %{sbindir}/pbl /usr/lib/bootloader -%if 0%{?suse_version} > 1500 -%{_distconfdir}/logrotate.d/pbl +%if "%{_distconfdir}" == "/etc" +%config(noreplace) %{_distconfdir}/logrotate.d/pbl %else -%config(noreplace) %{_sysconfdir}/logrotate.d/pbl +%{_distconfdir}/logrotate.d/pbl %endif -%dir %attr(0700,root,root) /var/log/YaST2 %ghost %attr(0600,root,root) /var/log/pbl.log -%files YAML -%defattr(-, root, root) -%{_sbindir}/pbl-yaml - %changelog ++++++ perl-Bootloader-0.941.tar.xz -> perl-Bootloader-1.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.941/Makefile new/perl-Bootloader-1.0/Makefile --- old/perl-Bootloader-0.941/Makefile 2023-01-12 18:30:54.000000000 +0100 +++ new/perl-Bootloader-1.0/Makefile 2023-04-24 19:38:14.000000000 +0200 @@ -4,6 +4,9 @@ BRANCH := $(shell git branch | perl -ne 'print $$_ if s/^\*\s*//') PREFIX := perl-Bootloader-$(VERSION) +SBINDIR ?= /usr/sbin +ETCDIR ?= /usr/etc + PM_FILES = $(shell find src -name '*.pm') .PHONY: export clean archive test install check @@ -22,21 +25,6 @@ @cd .check ; find -name *.pm -exec perl -I. -c '{}' ';' install: check - @rm -rf .install - @mkdir -p .install/lib - @cp -a src .install/lib/Bootloader - @rm -f `find .install/lib/Bootloader -name '*~'` - @perl -pi -e 's/0\.000/$(VERSION)/ if /VERSION = /' .install/lib/Bootloader/Library.pm - @cd .install ; \ - touch Makefile.PL ; \ - perl -Ilib -MExtUtils::MakeMaker -e 'WriteMakefile (NAME => "Bootloader", VERSION_FROM => "lib/Bootloader/Library.pm" )' ; \ - make install_vendor - @mkdir -p $(DESTDIR)/sbin $(DESTDIR)/usr/sbin - @install -m 755 pbl-yaml $(DESTDIR)/usr/sbin - @install -d -m 755 $(DESTDIR)/usr/lib/bootloader - @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader/bootloader_entry.old - @install -m 755 update-bootloader $(DESTDIR)/usr/lib/bootloader/update-bootloader.old - @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/install $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2 @@ -60,14 +48,13 @@ @install -m 755 systemd-boot/add-kernel $(DESTDIR)/usr/lib/bootloader/systemd-boot @install -m 755 systemd-boot/remove-kernel $(DESTDIR)/usr/lib/bootloader/systemd-boot - @install -m 755 pbl $(DESTDIR)/sbin/pbl - @perl -pi -e 's/0\.0/$(VERSION)/ if /VERSION = /' $(DESTDIR)/sbin/pbl - @ln -snf pbl $(DESTDIR)/sbin/update-bootloader - @ln -snf ../../../sbin/pbl $(DESTDIR)/usr/lib/bootloader/bootloader_entry - @install -d -m 755 $(DESTDIR)/boot - @install -m 644 boot.readme $(DESTDIR)/boot/ - @install -d -m 755 $(DESTDIR)/usr/share/man/man8/ - @install -D -m 644 pbl.logrotate $(DESTDIR)/etc/logrotate.d/pbl + @install -D -m 755 pbl $(DESTDIR)$(SBINDIR)/pbl + @perl -pi -e 's/0\.0/$(VERSION)/ if /VERSION = /' $(DESTDIR)$(SBINDIR)/pbl + @ln -snf pbl $(DESTDIR)$(SBINDIR)/update-bootloader + @ln -rsnf $(DESTDIR)$(SBINDIR)/pbl $(DESTDIR)/usr/lib/bootloader/bootloader_entry + @install -D -m 644 boot.readme $(DESTDIR)/usr/share/doc/packages/perl-Bootloader/boot.readme + @install -d -m 755 $(DESTDIR)/usr/share/man/man8 + @install -D -m 644 pbl.logrotate $(DESTDIR)$(ETCDIR)/logrotate.d/pbl @pod2man update-bootloader >$(DESTDIR)/usr/share/man/man8/update-bootloader.8 @chmod 644 $(DESTDIR)/usr/share/man/man8/update-bootloader.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.941/VERSION new/perl-Bootloader-1.0/VERSION --- old/perl-Bootloader-0.941/VERSION 2023-01-12 18:30:54.000000000 +0100 +++ new/perl-Bootloader-1.0/VERSION 2023-04-24 19:38:14.000000000 +0200 @@ -1 +1 @@ -0.941 +1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.941/changelog new/perl-Bootloader-1.0/changelog --- old/perl-Bootloader-0.941/changelog 2023-01-12 18:30:54.000000000 +0100 +++ new/perl-Bootloader-1.0/changelog 2023-04-24 19:38:14.000000000 +0200 @@ -1,3 +1,15 @@ +2023-04-24: 1.0 + - merge gh#openSUSE/perl-bootloader#143 + - adjust Makefile for usrmerge and legacy package split + - move obs spec file to git repo + - split off old perl code to perl-Bootloader-legacy package + - remove legacy part completely + +2023-04-24: 0.942 + - merge gh#openSUSE/perl-bootloader#142 + - use fw_platform_size to distinguish between 32 bit and 64 bit + UEFI platforms (bsc#1208003) + 2023-01-12: 0.941 - merge gh#openSUSE/perl-bootloader#141 - systemd-boot: easier initial setup @@ -13,6 +25,7 @@ 2022-04-07: 0.938 - merge gh#openSUSE/perl-bootloader#138 - grub2/install: reset error code when passing through recover code + (bsc#1198197) 2022-01-13: 0.937 - merge gh#openSUSE/perl-bootloader#137 @@ -74,6 +87,7 @@ 2019-06-06: 0.924 - merge gh#openSUSE/perl-bootloader#121 - Fix secureboot on aarch64 (boo#1136601) + - [RFC] Fix secureboot on aarch64 (boo#1136601) 2018-09-27: 0.923 - merge gh#openSUSE/perl-bootloader#120 @@ -150,6 +164,7 @@ - merge gh#openSUSE/perl-bootloader#93 - grub2-efi: Make 32bit arm be a wildcard match - grub2-efi: Allow fallback to removable booting + - Arm efi 2016-02-08: 0.906 - merge gh#openSUSE/perl-bootloader#91 @@ -178,7 +193,7 @@ - Add initial implementation of uboot/config script 2015-11-25: 0.900 - - merge gh#openSUSE/perl-bootloader#82 + - Test 10 2015-10-06: 0.844 - merge gh#openSUSE/perl-bootloader#79 @@ -213,6 +228,7 @@ - make grub_installdevice parsing more robust - remove no longer needed quotes (bsc#940486) - update git2log script to latest version + - Bsc 940486 2015-07-20: 0.839 - merge gh#openSUSE/perl-bootloader#73 @@ -242,6 +258,7 @@ 2015-04-30: 0.833 - merge gh#openSUSE/perl-bootloader#67 - Escape/unescape special characters on write/read (bsc#831791) + - git log 2015-04-22: 0.832 - merge gh#openSUSE/perl-bootloader#66 @@ -255,6 +272,7 @@ - started pbl-yaml testsuite - added test cases for various utf8/non-utf8/really broken config files + - Bnc 899921 2015-03-26: 0.831 - merge gh#openSUSE/perl-bootloader#65 @@ -264,6 +282,7 @@ 2015-02-11: 0.830 - merge gh#openSUSE/perl-bootloader#63 - Initialize GRUB_USE_LINUXEFI from target setting + - Initialize GRUB_USE_LINUXEFI from secure_boot setting 2015-01-27: 0.829 - merge gh#openSUSE/perl-bootloader#61 @@ -289,6 +308,7 @@ - add check to auto turn on GRUB_ENABLE_CRYPTODISK if /boot/grub2 is on an encrypted partition - fix spelling + - Crypto - merge gh#openSUSE/perl-bootloader#45 - join byid and kern maps instead of picking one (bnc#896665) - ensure that device nap hash values (hd0, hd1...) are unique @@ -297,6 +317,7 @@ - merge gh#openSUSE/perl-bootloader#46 - write only files we have data for (bsc#898429) - release 0.823 + - Bsc 898429 - merge gh#openSUSE/perl-bootloader#48 - fix GRUB_TERMINAL check (bsc#898609) - added comment explaining things @@ -312,6 +333,7 @@ - merge gh#openSUSE/perl-bootloader#41 - fix encoding when reading grub2.conf (bnc#890362) - rlease + - Fix utf8 - remove dependency on e2fsprogs (bnc#890795) - release 0.820 @@ -331,16 +353,17 @@ - adjust spec - update version and changes - basic description of logging function + - Pbl log - merge gh#openSUSE/perl-bootloader#30 - enable btrfs snapshot booting on ppc - merge gh#openSUSE/perl-bootloader#33 - fix regexp to not backtrack endlessly if parentheses don't match (bnc#875369) - - update version and changes + - Bnc 875369 b - merge gh#openSUSE/perl-bootloader#34 - fix update - - release - have static list of config files also for GRUB2EFI. + - Fix update - merge gh#openSUSE/perl-bootloader#37 - enable btrfs snapshot booting on all architectures - merge gh#openSUSE/perl-bootloader#38 @@ -358,7 +381,6 @@ - up version - merge gh#openSUSE/perl-bootloader#28 - enable SUSE_BTRFS_SNAPSHOT_BOOTING only on i386-pc - - up version - merge branch device_map - also update device.map - update version and changes @@ -404,7 +426,6 @@ - extend syntax to handle variable length argument lists - fix typo - added --version option - - fix typo - introduce perl-Bootloader-YAML subpackage - new version: 0.800 @@ -429,6 +450,7 @@ - fix grub2-set-default error during installation - better way to know kerenl device of physical drive - update-bootloader refresh cleanup and introduce reinit + - Misc bug fixing and cleanup for 13.1 factory. - require coreutils for %post - enable grub2 installation on PowerPC - new version @@ -452,6 +474,7 @@ - use explicit target arch for GRUB2 and remove grub2-efi calls - merge gh#openSUSE/perl-bootloader#12 - handle add|remove in update-bootloader for grub2 + - handle add and remove in update-bootloader for grub2 - some cleanup - 0.706 @@ -494,20 +517,24 @@ - export section and write as global option - manage GRUB_DISABLE_OS_PROBER settings - use grub device name in /etc/default/grub_installdevice + - Assorted fixes of grub2 on bugzilla - 0.701 2012-08-23: 0.700 - added install target - rewrite pbl's logging functions - merge branch master + - merge gh#openSUSE/perl-bootloader#9 - fix missing newline in the config - 0.6.8 + - Conflicts: version - new version 2012-07-13: 0.6.7 - merge gh#openSUSE/perl-bootloader#8 - Fix new menuentry format introduced by 2.0 - Support failsafe kernel parameters + - Fix title in grub2 2.0 support failsafe mode - 0.6.7 2012-07-06: 0.6.6 @@ -516,11 +543,13 @@ - Replace background with theme - Support editing GRUB_DISTRIBUTOR - Re-enable to create device.map from BootStorage + - Patches to fix misc & severe issue (bnc#769949) - 0.6.6 2012-06-29: 0.6.5 - merge gh#openSUSE/perl-bootloader#5 - Fix grub.cfg missing error + - Fix bnc#796350 (critical) - make dependency on Pod::Usage optional (bnc#760464) - 0.6.5 @@ -528,6 +557,7 @@ - merge gh#openSUSE/perl-bootloader#2 - grub2: gfxmode and gfxbackground support - grub2efi: console options support + - gfxterm and console support - 0.6.4 2012-04-27: 0.6.3 @@ -576,6 +606,7 @@ 2011-09-02: 0.5.19 - merge gh#openSUSE/perl-bootloader#1 + - merge branch SLE11-SP2 - port opensuse 11.1 logging changes to SLE11 - RT kernel special support (bnc#450153) - version bump 0.4.82 @@ -584,7 +615,6 @@ - version bump 0.4.83 - filter out initrd with empty value (bnc#465148) - backport fix for #464098 - - version bump - backport fix for multiline entries (bnc#466250) - version bump 0.4.85 - fix multipath hangs (bnc#468792) @@ -634,12 +664,9 @@ - add accidently removed line - fix problems with long names on ppc (bnc#588612) - release new version - - release new version - add fix for restricted section names also for ia64 (bnc#588609) - - release - exclude DASD dump sections from menu (bnc#582705), dump version - fix hung during update os (bnc#586303) - - version bump - increase log priority for translating unix path to grub path - avoid warning if path is not generated (bnc#590459) - chagnes @@ -654,7 +681,6 @@ - release 0.4.89.14 - extend partition detection by ext_range, so also mdraid which is partition is detected (bnc#598057) - - release - fix adding failsafe options to menu (never add it as first otherwise it is used as default boot) (bnc#600847) - release package @@ -667,7 +693,6 @@ - DM_NAME could contain also partition number in some case (bnc#590637) - fix malforming xen append (bnc#657911) - - version bump - backport fix for removing kernel with symlink in path (bnc#680775) - increased version, updated changelog @@ -692,11 +717,18 @@ - add snwint fixes which was not in git - adapt package target for git - fix small issues in packaging + - Conflicts: + perl-Bootloader-testsuite/tests/test_interface/Makefile + perl-Bootloader-testsuite/tests/test_interface/core-test.pl + perl-Bootloader-testsuite/tests/test_interface/grub1-test.pl + perl-Bootloader.changes perl-Bootloader.spec.in src/Core.pm + src/Core/ELILO.pm src/Core/GRUB.pm src/Core/ZIPL.pm src/Tools.pm + update-bootloader version - remove unneeded script ( SLE only ) - fix tests after merge - release test package - fix packaging - - fix packaging + - Merge sp2 ( tested by opensuse community ) - use UnixDev2GrubDev() from sle11-sp2 2011-05-13: 0.5.17 @@ -906,7 +938,6 @@ test case to test suite. - improve logging of detection DM RAID1 - fix test suite - - version bump - version bump (forget up version :) 2008-11-06: 0.4.77 @@ -930,7 +961,6 @@ - ignore keys image, xen and initrd in chainloader section (bnc#441463) - improve logging if more then once add same image - - improve logging - Version bump and allow skip during mounted boot detection. 2008-10-23: 0.4.76 @@ -1437,7 +1467,6 @@ 2007-04-02: 0.4.14 - Corrected mechanism for adapting default value in Tools.pm - fixed typo - - Corrected mechanism for removal of sections in Tools.pm - Corrected mechanism for removal of sections in Tools.pm - part 2 - Added function GrubDev2MountPoint() to GRUB.pm to be able to retrieve mountpoints of grub devices @@ -1657,8 +1686,6 @@ - simplify code - map kernel_append params to xen_append params (#188614) when having a serial console - - map kernel_append params to xen_append params (#188614) when - having a serial console - bump version to 0.2.25 2006-05-22: 0.2.24 @@ -1677,11 +1704,6 @@ - omit bogus warning (#165158) - fix xen section counting when adding (#161559) - add a second submit path after we branched inhouse - - fix xen section counting when adding (#161559) - - omit bogus warning (#165158) - - move check for bool type to save code area (#175228) - - do syntax checking for global "default" parameter. Has to be an - integer (#174829) - bump version to 0.2.23 2006-05-10: 0.2.22 @@ -1693,7 +1715,6 @@ 2006-05-09: 0.2.21 - follow symlinks for dev-by-id (#170588) - cleanups - - follow symlinks for dev-by-id (#170588) - added agruen changes from autobuild to svn - bump version @@ -1713,7 +1734,6 @@ - changed update-bootloader semantic according to #164427 2006-04-03: 0.2.17 - - extended interface to fix # - extended interface to fix #161755 - bump version to 0.2.17 @@ -1724,8 +1744,6 @@ 2006-03-21: 0.2.15 - use print-product.ycp again, fallback to /etc/SuSE-release if that doesn't work - - use print-product.ycp again, fallback to /etc/SuSE-release if - that doesn't work - add a fallback value of SUSE Code 10 instead of error in function GetProduct - cut off spaces as well, thanks ray @@ -1741,8 +1759,6 @@ - moved unification of section names in FixSectionName to Core.pm - altered loader specific code to use that (needed by #158274) - some more fixes while testing last commit - - moved unification of section names in FixSectionName to Core.pm - - altered loader specific code to use that (needed by #158274) - rearranged update-bootloader so that bootloader entry translation works again (#158274) - bump version to 0.2.14 @@ -1753,7 +1769,6 @@ the image name. - change log file name for _all_ archs to y2log_bootloader (#145106) - Add some FIXMEs - - change log file name for _all_ archs to y2log_bootloader (#145106) - bump version to 0.2.13 2006-02-23: 0.2.12 @@ -1772,7 +1787,6 @@ directly, YaST is broken here - fix for broken Product.ycp - code cleanup - - code cleanup - workaround for broken Product.ycp (Bug #148625) - implement new requirements/word split in FixSectionName - bump version to 0.2.11 @@ -1803,7 +1817,6 @@ 2006-02-06: 0.2.8 - extended author list - added changes from pth for (fate#2154) - - added changes from pth for (fate#2154) - avoid irritating warnings for uninitialized(undef) variables - added changes from m...@suse.de to svn: converted neededforbuild to BuildRequires @@ -1840,9 +1853,6 @@ - defaultboot section must not be empty (#144321) - avoid colliding definition of default label in 'menu' and 'defaultboot' - - defaultboot section must not be empty (#144321) - - avoid colliding definition of default label in 'menu' and - 'defaultboot' - add nice paranthesis to fix blocking yast2 crash (#143746) - bump version to 0.2.6 @@ -1871,8 +1881,6 @@ - consider BUILD_DIST settings - fixed getting MD array info via mdadm (#137987) - add needed label text - - add needed label text - - fixed getting MD array info via mdadm (#137987) - bump version to 0.2.2 2005-11-18: 0.2.1 @@ -1890,3 +1898,7 @@ - reenable ppc bootloader config - bump version to 0.2.1 +2005-09-28: 0.2 + - Initial commit of perl-Bootloader package as found in abuild + tree. Should be fairly current. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.941/grub2-efi/install new/perl-Bootloader-1.0/grub2-efi/install --- old/perl-Bootloader-0.941/grub2-efi/install 2023-01-12 18:30:54.000000000 +0100 +++ new/perl-Bootloader-1.0/grub2-efi/install 2023-04-24 19:38:14.000000000 +0200 @@ -14,9 +14,18 @@ exit 1 fi +fw_platform_size=$(cat /sys/firmware/efi/fw_platform_size 2>/dev/null) + case "$target" in i?86 ) target=i386 ;; - x86_64 | amd64 ) target=x86_64 ;; + x86_64 | amd64 ) + target=x86_64 + if [ "$fw_platform_size" = 32 ] ; then + target=i386 + # no 32 bit shim + SYS__BOOTLOADER__SECURE_BOOT=no + fi + ;; aarch64 ) target=arm64 ;; arm* ) target=arm ;; esac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.941/obs/perl-Bootloader.spec new/perl-Bootloader-1.0/obs/perl-Bootloader.spec --- old/perl-Bootloader-0.941/obs/perl-Bootloader.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/perl-Bootloader-1.0/obs/perl-Bootloader.spec 2023-04-24 19:38:14.000000000 +0200 @@ -0,0 +1,74 @@ +# +# spec file for package perl-Bootloader +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%if 0%{?usrmerged} +%define sbindir %{_sbindir} +%else +%define sbindir /sbin +%endif + +%{!?_distconfdir:%global _distconfdir /etc} + +Name: perl-Bootloader +Version: 1.0 +Release: 0 +Requires: coreutils +Requires: perl-base = %{perl_version} +Provides: perl-Bootloader-YAML = %{version} +Obsoletes: perl-Bootloader-YAML < %{version} +Summary: Tool for boot loader configuration +License: GPL-2.0-or-later +Group: System/Boot +URL: https://github.com/openSUSE/perl-bootloader +Source: %{name}-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +#!BuildIgnore: mdadm e2fsprogs limal-bootloader + +%description +Shell script wrapper for configuring various boot loaders. + +%prep +%setup -q + +%build + +%install +make install DESTDIR=%{buildroot} SBINDIR=%{sbindir} ETCDIR=%{_distconfdir} +touch %{buildroot}/var/log/pbl.log + +%post +echo -n >>/var/log/pbl.log +chmod 600 /var/log/pbl.log + +%files +%defattr(-, root, root) +%license COPYING +%doc %{_mandir}/man8/* +%doc boot.readme +%{sbindir}/update-bootloader +%{sbindir}/pbl +/usr/lib/bootloader +%if "%{_distconfdir}" == "/etc" +%config(noreplace) %{_distconfdir}/logrotate.d/pbl +%else +%{_distconfdir}/logrotate.d/pbl +%endif +%ghost %attr(0600,root,root) /var/log/pbl.log + +%changelog