Skip to content

Commit 405cff9

Browse files
authored
Merge pull request #1817 from flatcar/kai/remove-acbuild
app-emulation/actool,acbuild: Remove actool and acbuild
2 parents 98723a1 + 1513f3a commit 405cff9

File tree

12 files changed

+1
-324
lines changed

12 files changed

+1
-324
lines changed

build_library/oem_aci_util.sh

Lines changed: 0 additions & 124 deletions
This file was deleted.

build_library/vm_image_util.sh

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -507,36 +507,6 @@ install_oem_package() {
507507
sudo rm -rf "${oem_tmp}"
508508
}
509509

510-
# Write the OEM ACI file into the OEM partition.
511-
install_oem_aci() {
512-
local oem_aci=$(_get_vm_opt OEM_ACI)
513-
local aci_dir="${FLAGS_to}/oem-${oem_aci}-aci"
514-
local aci_path="${aci_dir}/flatcar-oem-${oem_aci}.aci"
515-
local binpkgflags=(--nogetbinpkg)
516-
517-
[ -n "${oem_aci}" ] || return 0
518-
519-
[ "${FLAGS_getbinpkg}" = "${FLAGS_TRUE}" ] &&
520-
binpkgflags=(--getbinpkg --getbinpkgver="${FLAGS_getbinpkgver}")
521-
522-
# Build an OEM ACI if necessary, supplying build environment flags.
523-
[ -e "${aci_path}" ] &&
524-
info "ACI ${aci_path} exists; reusing it" ||
525-
"${SCRIPT_ROOT}/build_oem_aci" \
526-
--board="${BOARD}" \
527-
--build_dir="${aci_dir}" \
528-
"${binpkgflags[@]}" \
529-
"${oem_aci}"
530-
531-
info "Installing ${oem_aci} OEM ACI"
532-
sudo install -Dpm 0644 \
533-
"${aci_path}" \
534-
"${VM_TMP_ROOT}/oem/flatcar-oem-${oem_aci}.aci" ||
535-
die "Could not install ${oem_aci} OEM ACI"
536-
# Remove aci_dir if building ACI and installing it succeeded
537-
rm -rf "${aci_dir}"
538-
}
539-
540510
# Write the OEM sysext file into the OEM partition.
541511
install_oem_sysext() {
542512
local oem_sysext=$(_get_vm_opt OEM_SYSEXT)

build_oem_aci

Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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))

image_to_vm.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ setup_disk_image "${FLAGS_disk_layout}"
117117

118118
# Optionally install any OEM packages
119119
install_oem_package
120-
install_oem_aci
121120
install_oem_sysext
122121
run_fs_hook
123122

sdk_container/src/third_party/coreos-overlay/app-emulation/acbuild/acbuild-0.4.0.ebuild

Lines changed: 0 additions & 1 deletion
This file was deleted.

sdk_container/src/third_party/coreos-overlay/app-emulation/acbuild/acbuild-9999.ebuild

Lines changed: 0 additions & 49 deletions
This file was deleted.

sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-0.8.11.ebuild

Lines changed: 0 additions & 1 deletion
This file was deleted.

sdk_container/src/third_party/coreos-overlay/app-emulation/actool/actool-9999.ebuild

Lines changed: 0 additions & 33 deletions
This file was deleted.

sdk_container/src/third_party/coreos-overlay/app-emulation/actool/metadata.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)