Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-emulation/actool,acbuild: Remove actool and acbuild #1817

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 0 additions & 124 deletions build_library/oem_aci_util.sh

This file was deleted.

30 changes: 0 additions & 30 deletions build_library/vm_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -507,36 +507,6 @@ install_oem_package() {
sudo rm -rf "${oem_tmp}"
}

# Write the OEM ACI file into the OEM partition.
install_oem_aci() {
local oem_aci=$(_get_vm_opt OEM_ACI)
local aci_dir="${FLAGS_to}/oem-${oem_aci}-aci"
local aci_path="${aci_dir}/flatcar-oem-${oem_aci}.aci"
local binpkgflags=(--nogetbinpkg)

[ -n "${oem_aci}" ] || return 0

[ "${FLAGS_getbinpkg}" = "${FLAGS_TRUE}" ] &&
binpkgflags=(--getbinpkg --getbinpkgver="${FLAGS_getbinpkgver}")

# Build an OEM ACI if necessary, supplying build environment flags.
[ -e "${aci_path}" ] &&
info "ACI ${aci_path} exists; reusing it" ||
"${SCRIPT_ROOT}/build_oem_aci" \
--board="${BOARD}" \
--build_dir="${aci_dir}" \
"${binpkgflags[@]}" \
"${oem_aci}"

info "Installing ${oem_aci} OEM ACI"
sudo install -Dpm 0644 \
"${aci_path}" \
"${VM_TMP_ROOT}/oem/flatcar-oem-${oem_aci}.aci" ||
die "Could not install ${oem_aci} OEM ACI"
# Remove aci_dir if building ACI and installing it succeeded
rm -rf "${aci_dir}"
}

# Write the OEM sysext file into the OEM partition.
install_oem_sysext() {
local oem_sysext=$(_get_vm_opt OEM_SYSEXT)
Expand Down
78 changes: 0 additions & 78 deletions build_oem_aci

This file was deleted.

1 change: 1 addition & 0 deletions changelog/changes/2024-04-02-remove-actool-and-acbuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Removed `actool` from the image and `acbuild` from the SDK as these tools are deprecated and not used ([scripts#1817](https://github.com/flatcar/scripts/pull/1817))
1 change: 0 additions & 1 deletion image_to_vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ setup_disk_image "${FLAGS_disk_layout}"

# Optionally install any OEM packages
install_oem_package
install_oem_aci
install_oem_sysext
run_fs_hook

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ RDEPEND="${RDEPEND}
app-crypt/go-tspi
app-crypt/tpmpolicy
app-editors/vim
app-emulation/actool
app-containers/cri-tools
app-misc/ca-certificates
app-misc/jq
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ DEPEND="
app-arch/pbzip2
app-crypt/efitools
app-crypt/sbsigntools
app-emulation/acbuild
app-emulation/actool
app-emulation/open-vmdk
app-eselect/eselect-python
app-misc/jq
Expand Down
Loading