-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix running the autopkgtests, by working around a LXD issue (#265)
* CI: mask snapd.seeded.service to work around LP: #1878225 * CI:autopkgtest: avoid unit-tests during autopkgtest build
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@@ -70,6 +70,8 @@ | ||
|
||
sleep 5 | ||
if lxc exec "$CONTAINER" -- systemctl mask [email protected]; then | ||
+ lxc exec "$CONTAINER" -- systemctl mask snapd.service | ||
+ lxc exec "$CONTAINER" -- systemctl mask snapd.seeded.service | ||
lxc exec "$CONTAINER" -- reboot | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters