forked from pool/u-boot
Accepting request 424787 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/424787 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=79
This commit is contained in:
parent
36c65f2eed
commit
eb23a39a31
u-boot-a10-olinuxino-lime.changesu-boot-a10-olinuxino-lime.specu-boot-a13-olinuxino.changesu-boot-a13-olinuxino.specu-boot-a13-olinuxinom.changesu-boot-a13-olinuxinom.specu-boot-a20-olinuxino-lime.changesu-boot-a20-olinuxino-lime.specu-boot-a20-olinuxino-lime2.changesu-boot-a20-olinuxino-lime2.specu-boot-a20-olinuxinomicro.changesu-boot-a20-olinuxinomicro.specu-boot-am335xboneblack.changesu-boot-am335xboneblack.specu-boot-am335xevm.changesu-boot-am335xevm.specu-boot-am57xxevm.changesu-boot-am57xxevm.specu-boot-am57xxevmnodt.changesu-boot-am57xxevmnodt.specu-boot-arndale.changesu-boot-arndale.specu-boot-bananapi.changesu-boot-bananapi.specu-boot-clearfog.changesu-boot-clearfog.specu-boot-colibrit20.changesu-boot-colibrit20.specu-boot-cubieboard.changesu-boot-cubieboard.specu-boot-cubieboard2.changesu-boot-cubieboard2.specu-boot-cubietruck.changesu-boot-cubietruck.specu-boot-dragonboard410c.changesu-boot-dragonboard410c.specu-boot-firefly-rk3288.changesu-boot-firefly-rk3288.specu-boot-highbank.changesu-boot-highbank.specu-boot-hyundaia7hd.changesu-boot-hyundaia7hd.specu-boot-jetson-tk1.changesu-boot-jetson-tk1.specu-boot-melea1000.changesu-boot-melea1000.specu-boot-merriia80optimus.changesu-boot-merriia80optimus.specu-boot-mx53loco.changesu-boot-mx53loco.specu-boot-mx6cuboxi.changesu-boot-mx6cuboxi.specu-boot-mx6qsabrelite.changesu-boot-mx6qsabrelite.specu-boot-odroid-c2.changesu-boot-odroid-c2.specu-boot-odroid-xu3.changesu-boot-odroid-xu3.specu-boot-odroid.changesu-boot-odroid.specu-boot-omap3beagle.changesu-boot-omap3beagle.specu-boot-omap4panda.changesu-boot-omap4panda.specu-boot-orangepipc.changesu-boot-orangepipc.specu-boot-p2371-2180.changesu-boot-p2371-2180.specu-boot-paz00.changesu-boot-paz00.specu-boot-pcm051rev3.changesu-boot-pcm051rev3.specu-boot-pine64plus.changesu-boot-pine64plus.specu-boot-qemu-ppce500.changesu-boot-qemu-ppce500.specu-boot-rpi.changesu-boot-rpi.specu-boot-rpi2.changesu-boot-rpi2.specu-boot-rpi3.changesu-boot-rpi3.specu-boot-snow.changesu-boot-snow.specu-boot-spring.changesu-boot-spring.specu-boot-udoo.changesu-boot-udoo.specu-boot.changesu-boot.spec.in
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A10-OLinuXino-Lime_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXino_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A13-OLinuXinoM_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino-Lime2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" A20-OLinuXino_MICRO_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_boneblack_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am335x_evm_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" am57xx_evm_nodt_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" arndale_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Bananapi_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" clearfog_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" colibri_t20_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubieboard2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Cubietruck_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" dragonboard410c_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" firefly-rk3288_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" highbank_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Hyundai_A7HD_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" jetson-tk1_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Mele_A1000_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" Merrii_A80_Optimus_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx53loco_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.imx /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6cuboxi_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" mx6qsabrelite_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.imx /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-c2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid-xu3_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" odroid_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap3_beagle_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" omap4_panda_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" orangepi_pc_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" p2371-2180_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" paz00_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" pcm051_rev3_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" pine64_plus_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" qemu-ppce500_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_2_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" rpi_3_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.bin /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" snow_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" spring_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -71,6 +71,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -114,7 +116,7 @@ This package contains documentation for U-Boot firmware.
|
||||
%patch0018 -p1
|
||||
|
||||
%build
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" udoo_defconfig
|
||||
make %{?jobs:-j %jobs} CROSS_COMPILE= CFLAGS="$RPM_OPT_FLAGS" USE_PRIVATE_LIBGG=yes
|
||||
%if "%{name}" == "u-boot-snow" || "%{name}" == "u-boot-spring"
|
||||
@ -129,7 +131,7 @@ done
|
||||
%endif
|
||||
|
||||
%install
|
||||
export SOURCE_DATE_EPOCH=1471010869
|
||||
export SOURCE_DATE_EPOCH=1472858744
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||
%define uboot_dir /boot
|
||||
@ -188,6 +190,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.img /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 2 23:25:44 UTC 2016 - afaerber@suse.de
|
||||
|
||||
- Add post-install script for Raspberry Pi to install to /boot/efi
|
||||
where needed. (bsc#996064)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 14:07:49 UTC 2016 - agraf@suse.com
|
||||
|
||||
|
@ -54,6 +54,8 @@ Provides: qemu-ppc:%{_datadir}/qemu/u-boot.e500
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
# Owns /boot/vc directory
|
||||
BuildRequires: raspberrypi-firmware
|
||||
# For mountpoint
|
||||
Requires(post): util-linux
|
||||
%endif
|
||||
Provides: u-boot-loader
|
||||
Conflicts: otherproviders(u-boot-loader)
|
||||
@ -154,6 +156,19 @@ install -D -m 0755 SPL %{buildroot}/boot/cuboxi-spl.bin
|
||||
install -D -m 0755 SPL %{buildroot}/boot/udoo_spl.bin
|
||||
%endif
|
||||
|
||||
%if "%{name}" == "u-boot-rpi" || "%{name}" == "u-boot-rpi2" || "%{name}" == "u-boot-rpi3"
|
||||
%post
|
||||
# On the Raspberry Pi we chain-load u-boot.bin from bootcode.bin via config.txt.
|
||||
# It needs to be on the first FAT partition, wherever we mounted it.
|
||||
# a) Unmounted, then do nothing.
|
||||
# b) Mounted as /boot/vc, then they're in the right place already.
|
||||
# c) Mounted as /boot/efi, with /boot/vc as symlink, then nothing to be done.
|
||||
# d) Mounted as /boot/efi, with /boot/vc a directory, then copy files over.
|
||||
if mountpoint -q /boot/efi; then
|
||||
[[ "$(readlink -f /boot/efi)" -ef "$(readlink -f %{uboot_dir})" ]] || cp %{uboot_dir}/u-boot.BINEND /boot/efi/
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{uboot_dir}/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user