Skip to content

Commit

Permalink
fix: Tegra, Jetpack5: remove outdated state scripts
Browse files Browse the repository at this point in the history
State scripts referring to TX2 and Nano can be removed.
See also comment: OE4T#18 (comment)

Signed-off-by: Josef Holzmayr <jester@theyoctojester.info>
  • Loading branch information
TheYoctoJester committed Jul 13, 2024
1 parent cb4aef8 commit 70d33c6
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 236 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
SRC_URI = " \
file://redundant-boot-commit-check-script-uboot \
file://redundant-boot-install-script \
file://redundant-boot-install-script-uboot \
file://switch-rootfs \
"

Expand All @@ -15,35 +12,10 @@ inherit mender-state-scripts
PERSIST_MACHINE_ID=""
PERSIST_MACHINE_ID:mender-persist-systemd-machine-id = "yes"

# We have a different install script for U-Boot vs. cboot, since
# the mechanism for determining boot partitions is different between
# the two, and with cboot there is no U-Boot environment for copying
# the machine-id.
copy_install_script() {
sed -e's,@COPY_MACHINE_ID@,${PERSIST_MACHINE_ID},' ${S}/redundant-boot-install-script > ${MENDER_STATE_SCRIPTS_DIR}/ArtifactInstall_Leave_80_bl-update
}

copy_install_script:mender-uboot() {
cp ${S}/redundant-boot-install-script-uboot ${MENDER_STATE_SCRIPTS_DIR}/ArtifactInstall_Leave_80_bl-update
cp ${S}/redundant-boot-commit-check-script-uboot ${MENDER_STATE_SCRIPTS_DIR}/ArtifactCommit_Enter_80_bl-check-update
}

do_compile() {
:
}

do_compile:tegra194() {
copy_install_script
}

do_compile:tegra186() {
copy_install_script
}

do_compile:tegra210() {
cp ${S}/redundant-boot-install-script-uboot ${MENDER_STATE_SCRIPTS_DIR}/ArtifactInstall_Leave_80_bl-update
}

do_compile:tegra234() {
cp ${S}/switch-rootfs ${MENDER_STATE_SCRIPTS_DIR}/ArtifactInstall_Leave_50_switch-rootfs
}
Expand Down

0 comments on commit 70d33c6

Please sign in to comment.