File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 58
58
components_text='Available components: EFI'
59
59
components_json='{"components":["EFI"]}'
60
60
fi
61
- output=$(sudo podman run --rm -ti localhost/bootupd:latest bootupctl status | tr -d '\r')
61
+ output=$(sudo podman run --rm localhost/bootupd:latest bootupctl status | tr -d '\r')
62
62
[ "${components_text}" == "${output}" ]
63
- output=$(sudo podman run --rm -ti localhost/bootupd:latest bootupctl status --json)
63
+ output=$(sudo podman run --rm localhost/bootupd:latest bootupctl status --json)
64
64
[ "${components_json}" == "${output}" ]
65
65
66
66
- name : bootc install to disk
99
99
--disable-selinux --replace=alongside /target
100
100
# Verify we injected static configs
101
101
jq -re '.["static-configs"].version' /boot/bootupd-state.json
102
+
103
+ - name : bootupctl generate-update-metadata
104
+ run : |
105
+ set -xeuo pipefail
106
+ # This will be helpful when we extend /usr
107
+ sudo podman run --rm -it --privileged localhost/bootupd:latest \
108
+ bash -c "rm -rf /usr/lib/bootupd/updates/{BIOS,EFI}.json && \
109
+ mv /usr/lib/bootupd/updates/EFI /usr/lib/ostree-boot/efi/ && \
110
+ bootupctl backend generate-update-metadata -vvv"
You can’t perform that action at this time.
0 commit comments