Merge ~alextu/pc-enablement/+git/oem-scripts:fix-debsum into ~oem-solutions-engineers/pc-enablement/+git/oem-scripts:master

Proposed by Alex Tu
Status: Merged
Merged at revision: 5009001e961a5baeab7239fd968d1c090a0df388
Proposed branch: ~alextu/pc-enablement/+git/oem-scripts:fix-debsum
Merge into: ~oem-solutions-engineers/pc-enablement/+git/oem-scripts:master
Diff against target: 14 lines (+3/-0)
1 file modified
recovery-from-iso.sh (+3/-0)
Reviewer Review Type Date Requested Status
Cyrus Lien Approve
Review via email: mp+413422@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alex Tu (alextu) wrote (last edit ):
Revision history for this message
Cyrus Lien (cyruslien) wrote :

LGTM.

review: Approve
Revision history for this message
OEM Taipei Bot (oem-taipei-bot) wrote :

[autopkgtest]
autopkgtest-collect-credentials PASS
autopkgtest-oem-scripts-auto PASS
pkg-somerville-meta PASS
pkg-stella-meta PASS
pkg-sutton-meta PASS
bootstrap-meta PASS
bug-bind PASS
get-private-ppa PASS
jq-lp PASS
launchpad-api PASS
lp-bug PASS
oem-meta-packages FAIL non-zero exit status 1
pkg-list PASS
review-merge-proposal PASS
run-autopkgtest PASS
setup-apt-dir PASS
mir-bug SKIP exit status 77 and marked as skippable
git-url-insteadof-setting PASS
lp-dl-attm PASS
recovery-from-iso.sh PASS

https://oem-share.canonical.com/partners/lyoncore/share/artifacts/oem-scripts/oem-scripts-1.26-7eb19d9-in-linux-container-focal

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/recovery-from-iso.sh b/recovery-from-iso.sh
2index 3b42656..2d1aa7d 100755
3--- a/recovery-from-iso.sh
4+++ b/recovery-from-iso.sh
5@@ -14,6 +14,9 @@ GIT="git -C $temp_folder"
6
7 clear_all() {
8 rm -rf "$temp_folder"
9+ # remove Ubiquity in the end to match factory and Stock Ubuntu image behavior.
10+ # and it also workaround some debsum error from ubiquity.
11+ ssh -o StrictHostKeyChecking=no "$user_on_target"@"$target_ip" sudo apt-get purge -y ubiquity
12 }
13 trap clear_all EXIT
14 # shellcheck disable=SC2046

Subscribers

People subscribed via source and target branches