mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix: move submarine kpart away from /boot (#911)
* fix: move submarine kpart away from /boot * fix: updare submarine version
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
%endif
|
||||
|
||||
Name: submarine
|
||||
Version: 0.1.0
|
||||
Version: 0.2.0
|
||||
Release: 1%?dist
|
||||
Summary: Experimental bootloader for ChomeOS's depthcharge
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/FyraLabs/submarine
|
||||
BuildRequires: make gcc flex bison elfutils-devel parted vboot-utils golang xz bc openssl-devel git golang-github-u-root
|
||||
BuildRequires: make gcc flex bison elfutils-devel parted vboot-utils golang xz bc openssl-devel git depthcharge-tools
|
||||
|
||||
%description
|
||||
An experimental bootloader for ChomeOS's depthcharge.
|
||||
@@ -20,16 +20,18 @@ Submarine provides a minimal Linux environmemt that lives in a small partition
|
||||
(or a different system if you're brave.)
|
||||
|
||||
%prep
|
||||
go install github.com/u-root/u-root@v0.11.0
|
||||
git clone --recurse-submodules --shallow-submodules -b v%version %url .
|
||||
|
||||
%build
|
||||
export PATH=$PATH:$HOME/go/bin
|
||||
%make_build %arch
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot/boot %buildroot%_datadir/submarine
|
||||
install -Dm644 build/submarine-*.kpart %buildroot/boot/
|
||||
install -Dm644 build/submarine-*.kpart %buildroot%_datadir/submarine/
|
||||
install -Dm644 build/submarine-*.bin %buildroot%_datadir/submarine/
|
||||
|
||||
%files
|
||||
/boot/submarine-*.kpart
|
||||
%_datadir/submarine/submarine-*.kpart
|
||||
%_datadir/submarine/submarine-*.bin
|
||||
|
||||
@@ -1 +1 @@
|
||||
rpm.version(gh("FyraLabs/submarine"));
|
||||
rpm.version(gh_tag("FyraLabs/submarine"));
|
||||
|
||||
Reference in New Issue
Block a user