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
@ -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…
Reference in New Issue
Block a user