[yast-commit] [ci_new_pac] JFYI yast2-bootloader -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-bootloader -> sle12 ## BNC# 873951 : "Bootloader insists on extra partition /boot/zipl" (NEW/) ## BNC# 874106 : "[yast, s390x] cannot determine sequence of disks" (NEEDINFO/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-bootloader/yast2-bootloader.changes 2014-04-17 14:24:58.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-bootloader/yast2-bootloader.changes 2014-04-22 11:22:58.000000000 +0200 @@ -1,0 +2,13 @@ +Tue Apr 22 08:44:57 UTC 2014 - jreidinger@suse.com + +- Use correct check for partition setup for grub2 on s390 + (bnc#873951) +- 3.1.29 + +------------------------------------------------------------------- +Thu Apr 17 14:46:17 UTC 2014 - jreidinger@suse.com + +- do not complain for missing bios order on s390(bnc#874106) +- 3.1.28 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-bootloader - yast2-kdump - yast2-product-creator - yast2-reipl - yast2-schema - yast2-vm ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-bootloader (Old) and /mounts/work_src_done/SLE12/yast2-bootloader (BS:build ID:36606 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-bootloader", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-bootloader-3.1.27.tar.bz2 New: ---- yast2-bootloader-3.1.29.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-bootloader.spec ++++++ --- /var/tmp/diff_new_pack.5F39sg/_old 2014-04-22 12:34:44.000000000 +0200 +++ /var/tmp/diff_new_pack.5F39sg/_new 2014-04-22 12:34:44.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 3.1.27 +Version: 3.1.29 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-bootloader-3.1.27.tar.bz2 -> yast2-bootloader-3.1.29.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-3.1.27/package/yast2-bootloader.changes new/yast2-bootloader-3.1.29/package/yast2-bootloader.changes --- old/yast2-bootloader-3.1.27/package/yast2-bootloader.changes 2014-04-17 14:08:22.000000000 +0200 +++ new/yast2-bootloader-3.1.29/package/yast2-bootloader.changes 2014-04-22 11:18:35.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue Apr 22 08:44:57 UTC 2014 - jreidinger@suse.com + +- Use correct check for partition setup for grub2 on s390 + (bnc#873951) +- 3.1.29 + +------------------------------------------------------------------- +Thu Apr 17 14:46:17 UTC 2014 - jreidinger@suse.com + +- do not complain for missing bios order on s390(bnc#874106) +- 3.1.28 + +------------------------------------------------------------------- Thu Apr 17 11:18:31 UTC 2014 - jreidinger@suse.com - improve logging if setting kernel paramater failed to help with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-3.1.27/package/yast2-bootloader.spec new/yast2-bootloader-3.1.29/package/yast2-bootloader.spec --- old/yast2-bootloader-3.1.27/package/yast2-bootloader.spec 2014-04-17 14:08:22.000000000 +0200 +++ new/yast2-bootloader-3.1.29/package/yast2-bootloader.spec 2014-04-22 11:18:35.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-bootloader -Version: 3.1.27 +Version: 3.1.29 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-3.1.27/src/modules/BootGRUB2.rb new/yast2-bootloader-3.1.29/src/modules/BootGRUB2.rb --- old/yast2-bootloader-3.1.27/src/modules/BootGRUB2.rb 2014-04-17 14:08:22.000000000 +0200 +++ new/yast2-bootloader-3.1.29/src/modules/BootGRUB2.rb 2014-04-22 11:18:39.000000000 +0200 @@ -122,10 +122,7 @@ BootCommon.globals["boot_custom"] = partition when /s390/ - zipl_partition = Storage.GetEntryForMountpoint("/boot/zipl") - raise "missing separate /boot/zipl partition" if zipl_partition.empty? - - BootCommon.globals["boot_custom"] = zipl_partition["device"] + Builtins.y2milestone "no partition needed for grub2 on s390" else raise "unsuported architecture #{Arch.architecture}" end @@ -140,7 +137,7 @@ end prep_partitions = partitions.select do |partition| - partition["fsid"] == 0x41 + [0x41, 0x108].include? partition["fsid"] end y2milestone "detected prep partitions #{prep_partitions.inspect}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-bootloader-3.1.27/src/modules/BootSupportCheck.rb new/yast2-bootloader-3.1.29/src/modules/BootSupportCheck.rb --- old/yast2-bootloader-3.1.27/src/modules/BootSupportCheck.rb 2014-04-17 14:08:22.000000000 +0200 +++ new/yast2-bootloader-3.1.29/src/modules/BootSupportCheck.rb 2014-04-22 11:18:40.000000000 +0200 @@ -252,22 +252,32 @@ # @return [Boolean] true on success def CheckBios_ID - ret = true + return true if Arch.s390 # s390 do not have bios boot order (bnc#874106) + if BootStorage.bois_id_missing AddNewProblem( _( "It was not possible to determine the exact order of disks for device map. The order of disks can be changed in \"Boot Loader Installation Details\"" ) ) - ret = false + return false end - ret + + return true end - # Check that the root partition is reachable - def RootPartition - true + def check_zipl_part + boot_part = Storage.GetEntryForMountpoint("/boot/zipl") + boot_part = Storage.GetEntryForMountpoint("/boot") if boot_part.empty? + boot_part = Storage.GetEntryForMountpoint("/") if boot_part.empty? + + if [:ext2, :ext3, :ext4].include? boot_part["used_fs"] + return true + else + AddNewProblem(_( "Missing ext partition for booting. Cannot install boot code.")) + return false + end end # GRUB-related check @@ -280,7 +290,9 @@ # GRUB2-related check def GRUB2 - GRUB() + ret = GRUB() + # ensure that s390 have ext* partition for booting (bnc#873951) + ret &&= check_zipl_part if Arch.s390 end # GRUB2EFI-related check @@ -304,9 +316,6 @@ # detect correct bootloader type supported = CorrectLoaderType() && supported - # check whether root partition can be reached - supported = RootPartition() && supported - # check specifics for individual loaders if lt == "grub" supported = GRUB() && supported continue with "q"... Checked in at Tue Apr 22 12:34:59 CEST 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro