Hello community,

here is the log from the commit of package raspberrypi-firmware for 
openSUSE:Factory checked in at 2016-09-05 21:23:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raspberrypi-firmware (Old)
 and      /work/SRC/openSUSE:Factory/.raspberrypi-firmware.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "raspberrypi-firmware"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/raspberrypi-firmware/raspberrypi-firmware-config-rpi.changes
     2016-08-25 09:58:12.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.raspberrypi-firmware.new/raspberrypi-firmware-config-rpi.changes
        2016-09-05 21:24:40.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Sep  2 15:29:14 UTC 2016 - [email protected]
+
+- get-from-git.sh: Update for -config-rpi* sub-packages
+- Update to 334f548 (2016-09-02)
+- Add post-install scripts to copy files to /boot/efi where needed.
+  /boot/vc may be the mountpoint for boot.scr based installations
+  or a symlink to /boot/efi. (bsc#996064)
+
+-------------------------------------------------------------------
raspberrypi-firmware-config-rpi2.changes: same change
raspberrypi-firmware-config-rpi3.changes: same change
raspberrypi-firmware.changes: same change

Old:
----
  raspberrypi-firmware-2016.08.23.tar.bz2

New:
----
  raspberrypi-firmware-2016.09.02.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ raspberrypi-firmware-config-rpi.spec ++++++
--- /var/tmp/diff_new_pack.bVgDu9/_old  2016-09-05 21:24:45.000000000 +0200
+++ /var/tmp/diff_new_pack.bVgDu9/_new  2016-09-05 21:24:45.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           raspberrypi-firmware-config-rpi
-Version:        2016.08.23
+Version:        2016.09.02
 Release:        0
 Summary:        Configuration for the Raspberry Pi firmware loader
 License:        MIT
@@ -44,6 +44,12 @@
 %install
 install -D -p -m 0644 %{SOURCE0} %{buildroot}/boot/vc/config.txt
 
+%post
+if mountpoint -q /boot/efi && [[ ! -L /boot/efi ]]; then
+  [[ -f /boot/efi/config.txt ]] && cp /boot/efi/config.txt 
/boot/efi/config.txt.rpmsave
+  cp /boot/vc/config.txt /boot/efi/config.txt
+fi
+
 %files
 %defattr(-,root,root)
 %config /boot/vc/config.txt

raspberrypi-firmware-config-rpi2.spec: same change
raspberrypi-firmware-config-rpi3.spec: same change
++++++ raspberrypi-firmware.spec ++++++
--- /var/tmp/diff_new_pack.bVgDu9/_old  2016-09-05 21:24:45.000000000 +0200
+++ /var/tmp/diff_new_pack.bVgDu9/_new  2016-09-05 21:24:45.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           raspberrypi-firmware
-Version:        2016.08.23
+Version:        2016.09.02
 Release:        0
 Summary:        Binary bootloader and firmware files for Raspberry Pi
 License:        SUSE-Firmware
@@ -28,6 +28,7 @@
 Source99:       %{name}-rpmlintrc
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
+Requires(post): util-linux
 
 %description
 Binary bootloader and firmware files for Raspberry Pi
@@ -35,7 +36,8 @@
 %package extra
 Summary:        Extra bootloaders for Raspberry Pi
 Group:          System/Boot
-Requires:       raspberrypi-firmware = %{version}
+Requires:       raspberrypi-firmware = %{version}-%{release}
+Requires(post): util-linux
 
 %description extra
 This package provides the console, experimental and debug
@@ -50,6 +52,21 @@
 mkdir -p %{buildroot}/boot/vc
 cp -a boot/*.elf boot/*.bin boot/*.dat boot/LICENCE.broadcom 
%{buildroot}/boot/vc
 
+%post
+if mountpoint -q /boot/efi && [[ ! -L /boot/efi ]]; then
+  for f in start.elf fixup.dat bootcode.bin; do
+    cp /boot/vc/$f /boot/efi/
+  done
+fi
+
+%post extra
+if mountpoint -q /boot/efi && [[ ! -L /boot/efi ]]; then
+  for suffix in _cd _db _x; do
+    cp /boot/vc/start${suffix}.elf /boot/efi/
+    cp /boot/vc/fixup${suffix}.dat /boot/efi/
+  done
+fi
+
 %files
 %defattr(-,root,root)
 %dir /boot/vc
@@ -60,7 +77,6 @@
 
 %files extra
 %defattr(-,root,root)
-%dir /boot/vc
 /boot/vc/start_cd.elf
 /boot/vc/start_db.elf
 /boot/vc/start_x.elf

++++++ get-from-git.sh ++++++
--- /var/tmp/diff_new_pack.bVgDu9/_old  2016-09-05 21:24:45.000000000 +0200
+++ /var/tmp/diff_new_pack.bVgDu9/_new  2016-09-05 21:24:45.000000000 +0200
@@ -28,5 +28,5 @@
 for f in raspberrypi-firmware.spec raspberrypi-firmware-config.spec.in; do
    sed -i "s/^Version:.*/Version:        $VER/" $f
 done
+osc vc raspberrypi-firmware -m "Update to $REV ($DATE)"
 sh pre_checkin.sh
-osc vc -m "Update to $REV ($DATE)"

++++++ raspberrypi-firmware-2016.08.23.tar.bz2 -> 
raspberrypi-firmware-2016.09.02.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/raspberrypi-firmware/raspberrypi-firmware-2016.08.23.tar.bz2
 
/work/SRC/openSUSE:Factory/.raspberrypi-firmware.new/raspberrypi-firmware-2016.09.02.tar.bz2
 differ: char 11, line 1

++++++ raspberrypi-firmware-config.spec.in ++++++
--- /var/tmp/diff_new_pack.bVgDu9/_old  2016-09-05 21:24:45.000000000 +0200
+++ /var/tmp/diff_new_pack.bVgDu9/_new  2016-09-05 21:24:45.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package raspberrypi-firmware-config.spec
+# spec file for package __NAME__
 #
 # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -17,7 +17,7 @@
 
 
 Name:           __NAME__
-Version:        2016.08.23
+Version:        2016.09.02
 Release:        0
 Summary:        Configuration for the Raspberry Pi firmware loader
 License:        MIT
@@ -44,6 +44,12 @@
 %install
 install -D -p -m 0644 %{SOURCE0} %{buildroot}/boot/vc/config.txt
 
+%post
+if mountpoint -q /boot/efi && [[ ! -L /boot/efi ]]; then
+  [[ -f /boot/efi/config.txt ]] && cp /boot/efi/config.txt 
/boot/efi/config.txt.rpmsave
+  cp /boot/vc/config.txt /boot/efi/config.txt
+fi
+
 %files
 %defattr(-,root,root)
 %config /boot/vc/config.txt


Reply via email to