Skip to content

Commit

Permalink
Merge pull request #2238 from arnaldo2792/remove-unused
Browse files Browse the repository at this point in the history
Remove unused crates
  • Loading branch information
arnaldo2792 authored Jun 24, 2022
2 parents ed6451e + 07b16ba commit 78da563
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 909 deletions.
1 change: 0 additions & 1 deletion GLOSSARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* **gptprio:** A structure of bits in GPT partition headers that specifies priority, tries remaining, and whether the partition booted successfully before.
signpost sets these and GRUB uses them to determine which partition set to boot.
* [**ghostdog**](sources/ghostdog): A program used to manage ephemeral disks.
* [**growpart**](sources/growpart): A program used to expand disk partitions upon boot.
* **host containers**: Containers that run in a separate instance of containerd than "user" containers spawned by an orchestrator (e.g. Kubernetes).
Used for system maintenance and connectivity.
* [**host-ctr**](sources/host-ctr): The program started by `[email protected]` for each host container.
Expand Down
1 change: 0 additions & 1 deletion packages/os/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ source-groups = [
"metricdog",
"parse-datetime",
"ghostdog",
"growpart",
"updater",
"webpki-roots-shim",
"logdog",
Expand Down
26 changes: 1 addition & 25 deletions packages/os/os.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Requires: %{_cross_os}corndog
Requires: %{_cross_os}certdog
Requires: %{_cross_os}early-boot-config
Requires: %{_cross_os}ghostdog
Requires: %{_cross_os}growpart
Requires: %{_cross_os}host-containers
Requires: %{_cross_os}logdog
Requires: %{_cross_os}metricdog
Expand Down Expand Up @@ -158,11 +157,6 @@ Summary: Dispatches Bottlerocket update commands
%description -n %{_cross_os}thar-be-updates
%{summary}.

%package -n %{_cross_os}servicedog
Summary: Manipulates systemd units based on setting changes
%description -n %{_cross_os}servicedog
%{summary}.

%package -n %{_cross_os}host-containers
Summary: Manages system- and user-defined host containers
Requires: %{_cross_os}host-ctr
Expand All @@ -188,11 +182,6 @@ Summary: Tool to manage ephemeral disks
%description -n %{_cross_os}ghostdog
%{summary}.

%package -n %{_cross_os}growpart
Summary: Tool to grow partitions
%description -n %{_cross_os}growpart
%{summary}.

%package -n %{_cross_os}signpost
Summary: Bottlerocket GPT priority querier/switcher
%description -n %{_cross_os}signpost
Expand Down Expand Up @@ -327,7 +316,6 @@ echo "** Output from non-static builds:"
-p bork \
-p thar-be-settings \
-p thar-be-updates \
-p servicedog \
-p host-containers \
-p storewolf \
-p settings-committer \
Expand All @@ -337,7 +325,6 @@ echo "** Output from non-static builds:"
-p logdog \
-p metricdog \
-p ghostdog \
-p growpart \
-p corndog \
-p bootstrap-containers \
-p prairiedog \
Expand Down Expand Up @@ -374,7 +361,7 @@ install -d %{buildroot}%{_cross_bindir}
for p in \
apiserver \
early-boot-config netdog sundog schnauzer bork corndog \
thar-be-settings thar-be-updates servicedog host-containers \
thar-be-settings thar-be-updates host-containers \
storewolf settings-committer \
migrator prairiedog certdog \
signpost updog metricdog logdog \
Expand Down Expand Up @@ -404,11 +391,6 @@ for p in apiclient ; do
install -p -m 0755 ${HOME}/.cache/.static/%{__cargo_target_static}/release/${p} %{buildroot}%{_cross_bindir}
done

install -d %{buildroot}%{_cross_sbindir}
for p in growpart ; do
install -p -m 0755 ${HOME}/.cache/%{__cargo_target}/release/${p} %{buildroot}%{_cross_sbindir}
done

install -d %{buildroot}%{_cross_datadir}/migrations
for version_path in %{_builddir}/sources/api/migration/migrations/v[0-9]*; do
[ -e "${version_path}" ] || continue
Expand Down Expand Up @@ -514,9 +496,6 @@ install -p -m 0644 %{S:300} %{buildroot}%{_cross_udevrulesdir}/80-ephemeral-stor
%{_cross_bindir}/thar-be-updates
%{_cross_tmpfilesdir}/thar-be-updates.conf

%files -n %{_cross_os}servicedog
%{_cross_bindir}/servicedog

%files -n %{_cross_os}host-containers
%{_cross_bindir}/host-containers
%{_cross_unitdir}/[email protected]
Expand All @@ -543,9 +522,6 @@ install -p -m 0644 %{S:300} %{buildroot}%{_cross_udevrulesdir}/80-ephemeral-stor
%{_cross_bindir}/ghostdog
%{_cross_udevrulesdir}/80-ephemeral-storage.rules

%files -n %{_cross_os}growpart
%{_cross_sbindir}/growpart

%files -n %{_cross_os}signpost
%{_cross_bindir}/signpost
%{_cross_unitdir}/mark-successful-boot.service
Expand Down
52 changes: 0 additions & 52 deletions sources/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions sources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ members = [
"api/sundog",
"api/schnauzer",
"api/pluto",
"api/servicedog",
"api/host-containers",
"api/static-pods",
"api/storewolf",
Expand Down Expand Up @@ -75,8 +74,6 @@ members = [

"ghostdog",

"growpart",

"metricdog",

"cfsignal",
Expand Down
26 changes: 0 additions & 26 deletions sources/api/servicedog/Cargo.toml

This file was deleted.

20 changes: 0 additions & 20 deletions sources/api/servicedog/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions sources/api/servicedog/README.tpl

This file was deleted.

3 changes: 0 additions & 3 deletions sources/api/servicedog/build.rs

This file was deleted.

Loading

0 comments on commit 78da563

Please sign in to comment.