Skip to content

Commit

Permalink
Merge pull request #4008 from sumukhballal/twoliter-v0.2.0-release
Browse files Browse the repository at this point in the history
build: update twoliter to v0.2.0
  • Loading branch information
sumukhballal authored May 31, 2024
2 parents 043f775 + c86ccb8 commit b136a8b
Show file tree
Hide file tree
Showing 15 changed files with 37 additions and 63 deletions.
14 changes: 13 additions & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ BUILDSYS_ROOT_DIR = "${CARGO_MAKE_WORKING_DIRECTORY}"
# For binary installation, this should be a released version (prefixed with a v,
# for example v0.1.0). For the git sourcecode installation method, this can be
# any git rev, e.g. a tag, sha, or branch name.
TWOLITER_VERSION = "v0.1.1"
TWOLITER_VERSION = "v0.2.0"

# For binary installation, this is the GitHub repository that has binary release artifacts attached
# to it, for example https://github.com/bottlerocket-os/twoliter. For git sourcecode installation,
Expand Down Expand Up @@ -391,6 +391,18 @@ run_task = "run-twoliter"
[tasks.build-variant]
run_task = "run-twoliter"

[tasks.repack-variant]
run_task = "run-twoliter"

[tasks.fetch-variant]
run_task = "run-twoliter"

[tasks.fetch-friendly-variant]
run_task = "run-twoliter"

[tasks.fetch-ova]
run_task = "run-twoliter"

[tasks.check-licenses]
run_task = "run-twoliter"

Expand Down
9 changes: 6 additions & 3 deletions Twoliter.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
schema-version = 1
release-version = "1.21.0"

[sdk]
[vendor.bottlerocket]
registry = "public.ecr.aws/bottlerocket"
repo = "bottlerocket-sdk"
tag = "v0.41.0"

[sdk]
name = "bottlerocket-sdk"
version = "0.41.0"
vendor = "bottlerocket"
1 change: 0 additions & 1 deletion packages/ca-certificates/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions packages/ca-certificates/Cargo.toml

This file was deleted.

34 changes: 0 additions & 34 deletions packages/ca-certificates/ca-certificates.spec

This file was deleted.

3 changes: 3 additions & 0 deletions packages/filesystem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ edition = "2021"
publish = false
build = "../build.rs"


[package.metadata.build-package]

[lib]
path = "../packages.rs"
2 changes: 2 additions & 0 deletions packages/libgcc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ edition = "2021"
publish = false
build = "../build.rs"

[package.metadata.build-package]

[lib]
path = "../packages.rs"
3 changes: 3 additions & 0 deletions packages/libstd-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ edition = "2021"
publish = false
build = "../build.rs"


[package.metadata.build-package]

[lib]
path = "../packages.rs"
2 changes: 2 additions & 0 deletions packages/login/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ edition = "2021"
publish = false
build = "../build.rs"

[package.metadata.build-package]

[lib]
path = "../packages.rs"

Expand Down
2 changes: 1 addition & 1 deletion packages/netdog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build = "../build.rs"
[lib]
path = "../packages.rs"

[package.metadata.build-packages]
[package.metadata.build-package]
source-groups = [
"netdog",
"dogtag",
Expand Down
3 changes: 2 additions & 1 deletion packages/release/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ edition = "2021"
publish = false
build = "../build.rs"

[package.metadata.build-package]

[lib]
path = "../packages.rs"

Expand All @@ -16,7 +18,6 @@ path = "../packages.rs"
[dependencies]
acpid = { path = "../acpid" }
binutils = { path = "../binutils" }
ca-certificates = { path = "../ca-certificates" }
chrony = { path = "../chrony" }
conntrack-tools = { path = "../conntrack-tools" }
containerd = { path = "../containerd" }
Expand Down
4 changes: 3 additions & 1 deletion packages/release/release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Source95: release-systemd-networkd.conf
Source96: release-repart-local.conf
Source97: release-sysctl.conf
Source98: release-systemd-system.conf
Source99: release-ca-certificates-tmpfiles.conf

Source200: motd.template
Source201: proxy-env
Expand Down Expand Up @@ -99,7 +100,6 @@ Source1500: bootconfig-fips.conf

Requires: %{_cross_os}acpid
Requires: %{_cross_os}audit
Requires: %{_cross_os}ca-certificates
Requires: %{_cross_os}chrony
Requires: %{_cross_os}conntrack-tools
Requires: %{_cross_os}containerd
Expand Down Expand Up @@ -154,6 +154,7 @@ install -p -m 0644 %{S:11} %{buildroot}%{_cross_factorydir}%{_cross_sysconfdir}

install -d %{buildroot}%{_cross_tmpfilesdir}
install -p -m 0644 %{S:93} %{buildroot}%{_cross_tmpfilesdir}/release.conf
install -p -m 0644 %{S:99} %{buildroot}%{_cross_tmpfilesdir}/release-ca-certificates.conf
install -p -m 0644 %{S:94} %{buildroot}%{_cross_tmpfilesdir}/release-fips.conf

install -d %{buildroot}%{_cross_libdir}/systemd/networkd.conf.d
Expand Down Expand Up @@ -260,6 +261,7 @@ ln -s preconfigured.target %{buildroot}%{_cross_unitdir}/default.target
%{_cross_factorydir}%{_cross_sysconfdir}/nsswitch.conf
%{_cross_sysctldir}/80-release.conf
%{_cross_tmpfilesdir}/release.conf
%{_cross_tmpfilesdir}/release-ca-certificates.conf
%{_cross_libdir}/os-release
%dir %{_cross_libdir}/repart.d
%{_cross_libdir}/repart.d/80-local.conf
Expand Down
2 changes: 2 additions & 0 deletions packages/selinux-policy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ edition = "2021"
publish = false
build = "../build.rs"

[package.metadata.build-package]

[lib]
path = "../packages.rs"
5 changes: 0 additions & 5 deletions variants/Cargo.lock

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

0 comments on commit b136a8b

Please sign in to comment.