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

Move measure-config to the bottom of the list #3014

Merged
merged 1 commit into from
Feb 12, 2023
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
10 changes: 6 additions & 4 deletions images/rootfs.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,17 @@ onboot:
# kdump goes strictly after storage-init
- name: kdump
image: KDUMP_TAG
- name: measure-config
image: MEASURE_CONFIG_TAG
# If you change the order of pillar-onboot don't forget to
# change /containers/onboot/006-pillar-onboot/lower in pkg/mkimage-raw-efi accordingly:
# 006-pillar-onboot must follow the order number of pillar-onboot
# change /containers/onboot/005-pillar-onboot/lower in pkg/mkimage-raw-efi accordingly:
# 005-pillar-onboot must follow the order number of pillar-onboot
# onboot part of pillar to prepare services to start
- name: pillar-onboot
image: PILLAR_TAG
command: ["/opt/zededa/bin/onboot.sh"]
# measure-config must be executed after any other container that changes
# /config. Let's keep it the latest
- name: measure-config
image: MEASURE_CONFIG_TAG
services:
- name: newlogd
image: NEWLOGD_TAG
Expand Down
2 changes: 1 addition & 1 deletion pkg/mkimage-raw-efi/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
{
"destination": "/opt/pillar",
"type": "bind",
"source": "/containers/onboot/006-pillar-onboot/lower",
"source": "/containers/onboot/005-pillar-onboot/lower",
"options": [
"rw",
"rbind",
Expand Down