File tree Expand file tree Collapse file tree 4 files changed +7
-11
lines changed
toolkit/imageconfigs/packagelists Expand file tree Collapse file tree 4 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "Signatures" : {
33 "device-discovery-1.17.2.tar.gz" : " 32b5439533c61ee4d53f5caa58698fee08e1fd520adb2f3790fd9416f96598d4" ,
4- "vendor.tar.gz" : " 997e40026d04be283d65dbe202a5ffe23b49cb42311a769b2910d4a2a7919a09" ,
4+ "device-discovery-1.17.2- vendor.tar.gz" : " 997e40026d04be283d65dbe202a5ffe23b49cb42311a769b2910d4a2a7919a09" ,
55 "device-discovery.service" : " 31b947a64d1a3316aa594a1de9cad2e777948d51247ce0940edae6b2ac3534be"
66 }
77}
Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ License: Apache-2.0
1010URL: https://tinkerbell.org
1111Source0: https://%{infraonboarding_gitpath }/archive/refs/tags/tinker-actions/%{version }.tar.gz#/%{name}-%{version}.tar.gz
1212Source1: device-discovery.service
13- Source2: vendor.tar.gz
13+ Source2: device-discovery-1.17.2- vendor.tar.gz
1414
1515%{?systemd_requires }
1616
1717BuildRequires: golang >= 1.23
1818BuildRequires: systemd-rpm-macros
1919Requires: curl
2020
21- %global debug_package %{nil }
2221
2322%description
2423The Device Discovery Agent for Edge Node in order to retrieve the specific configuration to start for the current/correct machine.
@@ -30,7 +29,7 @@ The Device Discovery Agent for Edge Node in order to retrieve the specific confi
3029%build
3130cd hook-os/device_discovery
3231tar -xzvf %{SOURCE2 } -C .
33- CGO_ENABLED=0 go build -buildmode=pie -mod=vendor -trimpath -ldflags ' -s -w - extldflags "-static"' -gcflags=all=" -l -B" -o device-discovery
32+ CGO_ENABLED=0 go build -buildmode=pie -mod=vendor -trimpath -ldflags ' -extldflags "-static"' -gcflags=all=" -l -B" -o device-discovery
3433
3534%install
3635# command
@@ -44,9 +43,6 @@ cp %{SOURCE1} %{buildroot}%{_unitdir}
4443
4544%post
4645%systemd_post device-discovery.service
47- # The package is allowed to autostart:
48- systemctl enable device-discovery.service > /dev/null 2>&1
49- systemctl start device-discovery.service > /dev/null 2>&1
5046
5147%files
5248%{_bindir }/device-discovery/*
Original file line number Diff line number Diff line change 11{
22 "packages" : [
3+ " caddy" ,
4+ " containerd" ,
5+ " device-discovery" ,
36 " dracut-tmpfsroot" ,
4- " tar" ,
57 " fluent-bit" ,
6- " caddy" ,
78 " rng-tools" ,
8- " device-discovery" ,
9- " containerd"
9+ " tar"
1010 ]
1111}
You can’t perform that action at this time.
0 commit comments